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.

Permission denied

Old posts that have not been replied to for several years.
Locked
C
Chef

Post by Chef »

Hi,

I'm not sure whether this is a eggdrop question or more unix-related, but I'll try anyway:
I'm trying to install Eggdrop 1.6.8 on a Unix-server. The installation notes from (on this site) tell me to first key in: ./configure
When I do this, I get a message 'Permission denied'. Then I changed to permissions to this file to 777, because it wasn't on 'execute'. When I then type the command again, the system tells me 'Command not found'.
So I am puzzled, since first I had not enough permissions, and then all of a sudden the system coudn't find the file anymore.

I know I am doing something wrong here, question is 'What?'.

And yes, I did read the readme-files all the way, but no luck in there relating to this issue.

Can anyone help me with this?

Thanks,

Chef
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

your os either doesnt support the #! operator (which means it must be pretty old), or /bin/sh is missing. Execute the configure script by executing it as an argument to a bourne style shell (eg sh configure, or bash configure, or /usr/bin/sh configure etc). If it is caused by /bin/sh being non-existant, I suggest you get that fixed.
C
Chef

Post by Chef »

That got me a little further. It turned out that I had to type /bin/sh ./configure. So thanksk for that.
But now it is complaining about 'Bad for loop variable'
It seems to have a problem with line 196, which is 'for $ac_option'.
I have found some articles in newsgroups relating to this issue, but couldn't find the right answer unfortunately.
In general I get the feeling that there is something not right with my system, since the install doesn't go extremely smooth.

Anyone?

Thanks,

Chef
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

basically your system isnt POSIX complient. The gnu configure script (and the makefiles it produces) assumes that the os can do certain things. firstly i suggest compiling a posix version of sh and using that to configure. if that doesnt work then you'll probably have to rewrite the sections of the script that fail with whatever equivalents the os you're using has.
Locked