| View previous topic :: View next topic |
| Author |
Message |
freebsd Voice
Joined: 07 Oct 2005 Posts: 6
|
Posted: Fri Oct 07, 2005 9:10 pm Post subject: make: Permission denied |
|
|
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" 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 |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Fri Oct 07, 2005 10:23 pm Post subject: |
|
|
| 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.  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Fri Oct 07, 2005 10:31 pm Post subject: |
|
|
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 |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sat Oct 08, 2005 2:38 am Post subject: |
|
|
| demond wrote: | | hmm excuse me? |
What? _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Oct 08, 2005 2:50 am Post subject: |
|
|
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 |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sat Oct 08, 2005 3:31 am Post subject: |
|
|
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 |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Oct 08, 2005 3:51 am Post subject: |
|
|
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 |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Sat Oct 08, 2005 4:58 am Post subject: |
|
|
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 . _________________ 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 |
|
 |
greenbear Owner
Joined: 24 Sep 2001 Posts: 733 Location: Norway
|
Posted: Sat Oct 08, 2005 10:14 am Post subject: |
|
|
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat Oct 08, 2005 11:27 am Post subject: |
|
|
I never faced any problems with make on my FreeBSD shell. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Oct 08, 2005 12:19 pm Post subject: |
|
|
| 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 |
|
 |
greenbear Owner
Joined: 24 Sep 2001 Posts: 733 Location: Norway
|
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sat Oct 08, 2005 9:09 pm Post subject: |
|
|
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 |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Oct 08, 2005 10:50 pm Post subject: |
|
|
| 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 |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Oct 09, 2005 1:47 am Post subject: |
|
|
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".  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
|