LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-31-2004, 04:26 PM   #1
notez
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Rep: Reputation: 0
having trouble running ./configure on fedora 2


I'm having trouble running _any_ configure script on fedora core 2, the message i get is:

bash: ./configure: permission denied

I get the same message no matter what user i log in as, even root.
Anyone had the same problem and knows how to fix it?
 
Old 10-31-2004, 04:41 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi, and welcome to LQ.

Did you mount the partition with a no-exec flag?



Cheers,
Tink
 
Old 10-31-2004, 04:46 PM   #3
notez
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Original Poster
Rep: Reputation: 0
No, don't think so.
It worked a couple of days ago, havn't done anything to the system since then.
 
Old 10-31-2004, 05:08 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
The only other thing I can think of ... (if you're
not using bash as the default shell) did you change
permissions on /bin/bash or libraries that it uses?


Cheers,
Tink
 
Old 10-31-2004, 05:14 PM   #5
notez
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Original Poster
Rep: Reputation: 0
I tried to add a file called libresolv.o into a tar archive to send it to another computer, may that be the cause?
 
Old 10-31-2004, 05:25 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Not too likely a candidate, I don't think ...

What does
Code:
ldd `which bash` | awk '{print $3}' | xargs ls -lL
say?



Cheers,
Tink
 
Old 10-31-2004, 05:32 PM   #7
notez
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Original Poster
Rep: Reputation: 0
It prints:
Quote:
ls: (0x00b36000): No such file or directory
-rwxr-xr-x 1 root root 106829 mai 11 15:20 /lib/ld-linux.so.2
-rwxr-xr-x 1 root root 16708 mai 11 15:20 /lib/libdl.so.2
-rwxr-xr-x 1 root root 12592 mai 7 17:40 /lib/libtermcap.so.2
-rwxr-xr-x 1 root root 1455084 mai 11 15:20 /lib/tls/libc.so.6
 
Old 10-31-2004, 05:40 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
ls: (0x00b36000): No such file or directory
THAT is a worry ...

Now only this bit, please:
ldd `which bash`

What is your actual login-shell, though?


Cheers,
Tink
 
Old 10-31-2004, 05:50 PM   #9
notez
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Original Poster
Rep: Reputation: 0
I'm using bash as the login shell

Output of "ldd `which bash`":
Quote:
linux-gate.so.1 => (0x00b6a000)
libtermcap.so.2 => /lib/termcap.so.2 (0x00637000)
libdl.so.2 => /lib/libdl.so.2 (0x004d4000)
libc.so.6 => /lib/tls/libc.so.6 (0x003b7000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0039e000)
If I try to just type in ls i get the same output as typing dir except with colors

Last edited by notez; 10-31-2004 at 05:51 PM.
 
Old 10-31-2004, 06:15 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
linux-gate.so.1

No idea what that is, but it's obviously missing.
I still don't understand why you should be unable
to run configure. What are the first two lines of the
script, and what does ls -l configure give you for
the one that wouldn't run?


Cheers,
Tink

Last edited by Tinkster; 10-31-2004 at 06:17 PM.
 
Old 11-01-2004, 11:43 AM   #11
notez
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Original Poster
Rep: Reputation: 0
ls -l configure (tried to recopy the file):
Quote:
-rw------- 1 notez notez 265833 nov 1 17:38 configure
first lines of the script (excluding the copyright):
Quote:
#! /bin/bash
# Be Bourne compitable
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
NULLCMD=:
alias -g '${1+"$@"}'='"$@"'
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1;
then
set -o posix
fi
 
Old 11-01-2004, 01:18 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
What package did that one come with mate?
It's VERY unusual (to say the lease) to see a
configure script without execute permission,
did you manually change them?



Cheers,
Tink
 
Old 11-01-2004, 05:37 PM   #13
notez
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Havn't changed the script at all.
Since I'm not sure what package you mean I can say I installed the default developer packages (nothing more, nothing less) and the configure script is for the asuka ircd found at http://cvs.quakenet.org
 
Old 11-01-2004, 05:42 PM   #14
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Well ... just chmod u+x the script and off you go.
 
Old 11-02-2004, 10:08 AM   #15
notez
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Original Poster
Rep: Reputation: 0
i did: chmod u+x configure

and now when i try to run ./configure i get:

: bad interpreter: No such file or directory
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I am in a trouble between ./configure apache2 and c compiler babyboss Slackware 6 10-21-2004 09:57 AM
how to use LDFLAGS while running ./configure Kilahchris Linux - Newbie 1 08-27-2004 11:12 PM
C compiler when running configure mr_a_ali Linux - General 9 08-18-2004 08:29 AM
trouble with ./configure nephron Linux - Newbie 3 07-27-2004 10:49 AM
Trouble trying to configure mplayer frontier1 Linux - General 16 02-28-2003 10:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration