egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

make: Permission denied
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
freebsd
Voice


Joined: 07 Oct 2005
Posts: 6

PostPosted: Fri Oct 07, 2005 9:10 pm    Post subject: make: Permission denied Reply with quote

Operating System: FreeBSD 4.11-STABLE 1)wget ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/eggdrop1.6.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" Cool 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
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Oct 07, 2005 10:23 pm    Post subject: Reply with quote

Quote:
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. Confused
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Fri Oct 07, 2005 10:31 pm    Post subject: Reply with quote

hmm excuse me?
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sat Oct 08, 2005 2:38 am    Post subject: Reply with quote

demond wrote:
hmm excuse me?

What?
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Oct 08, 2005 2:50 am    Post subject: Reply with quote

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] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sat Oct 08, 2005 3:31 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Oct 08, 2005 3:51 am    Post subject: Reply with quote

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] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Sat Oct 08, 2005 4:58 am    Post subject: Reply with quote

never heared about it, I have used make on BSD shells without cd .

Quote:
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:
Quote:
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 Very Happy.
_________________
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...
Back to top
View user's profile Send private message MSN Messenger
greenbear
Owner


Joined: 24 Sep 2001
Posts: 733
Location: Norway

PostPosted: Sat Oct 08, 2005 10:14 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Oct 08, 2005 11:27 am    Post subject: Reply with quote

I never faced any problems with make on my FreeBSD shell.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Oct 08, 2005 12:19 pm    Post subject: Reply with quote

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] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
greenbear
Owner


Joined: 24 Sep 2001
Posts: 733
Location: Norway

PostPosted: Sat Oct 08, 2005 2:28 pm    Post subject: Reply with quote

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

http://eggheads.org/pipermail/eggdev/2004-June/025437.html
http://forum.egghelp.org/viewtopic.php?t=7590
Back to top
View user's profile Send private message Send e-mail
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sat Oct 08, 2005 9:09 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sat Oct 08, 2005 10:50 pm    Post subject: Reply with quote

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] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Oct 09, 2005 1:47 am    Post subject: Reply with quote

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". Laughing
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber