This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

make: Permission denied

General support and discussion of Eggdrop bots.
f
freebsd
Voice
Posts: 6
Joined: Fri Oct 07, 2005 8:51 pm

make: Permission denied

Post by freebsd »

Operating System: FreeBSD 4.11-STABLE 1)wget ftp://ftp.eggheads.org/pub/eggdrop/sour ... .17.tar.gz 2) tar zxvf eggdrop1.6.17.tar.gz 3) cd eggdrop1.6.17/src/ 4) pico eggdrop.h 5) #define HANDLEN 9 /* valid values 9->NICKMAX */ ---> #define HANDLEN 30 /* valid values 30->NICKMAX */ 6) cd eggdrop1.6.17 7) ./configure "perfectet" 8) make config ---->make: Permission denied It will not allow me to use the command "make" in eggdrop !!! I tried the same command "make" when installing epic and it worked there !help
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

tar zxvf eggdrop1.6.17.tar.gz
cd eggdrop1.6.17
./configure
cd .
make config
make

make install DEST=/home/name/botdir
It's a "quirk" of *BSD. :?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

hmm excuse me?
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

demond wrote:hmm excuse me?
What?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

what does cd . have to do with fbsd and that guy's problem?
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Do some research! On *BSD you cannot 'make' (permission denied) until after "cd ."

As I have *BSD shells I have to do it myself every single time I have to compile a bot. Weird & whackey it may be but that's how it goes matey.

The above has been covered (from memory) in the forums on a number of occasions.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

hmm it's not April 1st today, so you're probably not kidding, yet what you are saying is unbelievable; care to point out some sources supporting your statement?

I've been using FreeBSD for many years now, and I've never heard of permissions depending on the cd command; BTW, it's a shell built-in, not an external command (on FreeBSD there's /usr/bin/cd, but that's a dummy shell stub), and as such it has nothing to do with the operating system itself

needless to say, during my countless eggdrop builds on FreeBSD I've never experienced permission denied problem, let alone resolving it with cd .
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

never heared about it, I have used make on BSD shells without cd .
OpenBSD 3.4 (GENERIC) #0: Tue Oct 14 09:46:58 CEST 2003
...
$ make
make: no target to make.
BSD, no 'cd .', make no permission denied.

and another:
OpenBSD 3.6-stable (...) #0: Sun Jun 26 13:44:12 MDT 2005
...
$ make
make: Permission denied.
$ cd .
$ make
make: Permission denied.
$ ls -l /usr/bin/make
-r-xr-xr-x 1 root bin 99796 Sep 17 2004 /usr/bin/make
$ /usr/bin/make
make: Permission denied.
You see, its BSD, make is denied and its make binary related and 'cd .' doesnt help. I'd rather suggest to ask shell admin about it :D.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

try using gmake instead of make.
and yea, that cd . thing came up as a workaround on one of the eggdev mailinglists (or bugzilla, cant remember) a while a go.
User avatar
Sir_Fz
Revered One
Posts: 3793
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

I never faced any problems with make on my FreeBSD shell.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

greenbear wrote:try using gmake instead of make.
and yea, that cd . thing came up as a workaround on one of the eggdev mailinglists (or bugzilla, cant remember) a while a go.
I'd guess those folks who have come up with that simply got lucky in somehow resolving their issue in a way they weren't aware of; the cd built-in shell command, and underlying chdir() system call simply cannot fix file permissions in any way, not on FreeBSD, not on Linux, not on any OS

as of using GNU make, it's always a good idea, albeit eggdrop should build on any major UNIX with its native make(1) (unlike other software which won't build on anything but GNU-binutils system)

DeKus is probably right, that guy lacks execute permissions for make(1)
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

I've never encountered that problem either, just refering to what I've seen other people say about it.

http://eggheads.org/pipermail/eggdev/20 ... 25437.html
http://forum.egghelp.org/viewtopic.php?t=7590
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

The problem has been encountered!

It's *BSD specific and very well could be the build version. I have absolutely no idea but as I previously stated; I use *BSD (with two providers in two countries) and have to do 'cd .' to regain permission to carry on (so to speak).
demond wrote:DeKus is probably right, that guy lacks execute permissions for make(1)
If the original poster did as I suggested his eggdrop is probably online.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Alchera wrote: If the original poster did as I suggested his eggdrop is probably online.
if he did and that solved his problem, it should be immediately reported to fbsd developers, but I simply can't believe they would leave serious bug like that unfixed for so long - moreover in both major branches - 5.2 release more than whole year ago (as reported here) and 4.11 stable now

I know Wcc isn't the most frequent reader of these forums, nevertheless I'm more than curious which fbsd bug did he refer to in the original reply
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

From memory (a post from long long ago) the eggdev team point the finger at *BSD and the developers of *BSD point the finger the other way. LOL

I don't know if i'd call it a "serious" bug but more of a "curious" one; as I said in a previous post it's "Weird & whackey". :lol:
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Post Reply