Link to home
Start Free TrialLog in
Avatar of babysnake
babysnake

asked on

can't ./configure!

Hi

I can't ./configure. Always get following error
" /bin/sh: bad interpreter: Permission denied "

Makes no difference root or user, or changing permissions either for tar.gz file or configure file per se (even with everything allowed in properties)

Have tried this with at least 4 tar.gzs - all the same :((

SuSE 8.1 Pro, KDE 3

Any ideas.

Please!!!

neill

Avatar of Nick Accad
Nick Accad
Flag of Canada image

does /bin/sh exist
Avatar of babysnake
babysnake

ASKER

yep

/bin/sh is there
ok, this error is usually due to a missing shell

install "ash", its a nice drop in for /bin/sh (suse has it in rpm
somewhere im sure), and give it another try.

you prolly have /bin/sh symlinked to /bin/bash or some such.

good luck
-nick
Thanks

I do have /bin/sh symlinked to /bin/bash as u suggest

What is the significance of this please?

(I've only been at this a week now - can u tell ;>) !!)
I tried using ash (already installed)

I simply get
./configure: permission denied (from root, all permissions enabled in configure)
lets try this another way:

type:

bash configure

and see what happens.
this is starting to sound interesting :)

tc
-nick

ps. the significance of using ash vs a symlinked sh is that by
mistake you could have linked sh to csh or tcsh or something
equally horrible, that is why i had to make sure.

# bash configure gives

no such file or directory!!

cd /bin
bash configure

no such file or directory!!

alarming! (or I'm making some simple error!)

neill


i think i did not make myself clear

instead of typing ./configure, run the file thru bash
for for example, if u have foo-1.2.tar.gz

tar zxf foo-1.2.tar.gz
cd foo-1.2
bash configure


it configures......but fails for another reason altogether!

i rebooted anyway in the meanwhile (windoze habit!) and got the file to configure. It fails due to qt 2.2.2 or higher missing. I know i have qt on the system (YaST the SuSE config manager says so) and a higher version (2.3.2) so any ideas what's wrong??

this probably counts either as another problem or more points

At the end i simply want to install some soft!!

thanks

neill
does following list the required packages:

rpm -q -l qt
I get a list:

/etc/qt.fontguess
/usr/lib/libqt-mt.so.2
/usr/lib/libqt.so.2
/usr/lib/libqutil.so.1
/usr/lib/qt-2.3.2
/usr/lib/qt-2.3.2/lib
/usr/lib/qt-2.3.2/lib/libqt-mt.so
/usr/lib/qt-2.3.2/lib/libqt-mt.so.2
/usr/lib/qt-2.3.2/lib/libqt-mt.so.2.3
/usr/lib/qt-2.3.2/lib/libqt-mt.so.2.3.2
/usr/lib/qt-2.3.2/lib/libqt.so
/usr/lib/qt-2.3.2/lib/libqt.so.2
/usr/lib/qt-2.3.2/lib/libqt.so.2.3
/usr/lib/qt-2.3.2/lib/libqt.so.2.3.2
/usr/lib/qt-2.3.2/lib/libqutil.so
/usr/lib/qt-2.3.2/lib/libqutil.so.1
/usr/lib/qt-2.3.2/lib/libqutil.so.1.0
/usr/lib/qt-2.3.2/lib/libqutil.so.1.0.0
/usr/lib/qt2
/usr/share/doc/packages/qt/doc
/usr/share/doc/packages/qt/doc/ANNOUNCE
/usr/share/doc/packages/qt/doc/FAQ
/usr/share/doc/packages/qt/doc/INSTALL
/usr/share/doc/packages/qt/doc/LICENSE.GPL
/usr/share/doc/packages/qt/doc/LICENSE.QPL
/usr/share/doc/packages/qt/doc/MANIFEST
/usr/share/doc/packages/qt/doc/PLATFORMS
/usr/share/doc/packages/qt/doc/PORTING
/usr/share/doc/packages/qt/doc/README
/usr/share/doc/packages/qt/doc/README.QT
/usr/share/doc/packages/qt/doc/README.SuSE
/usr/share/doc/packages/qt/doc/changes-2.3.0
/usr/share/doc/packages/qt/doc/changes-2.3.1
/usr/share/doc/packages/qt/doc/changes-2.3.2

thanks for the continued interest

neill
ASKER CERTIFIED SOLUTION
Avatar of Nick Accad
Nick Accad
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
agree with naccad that qt-devel should solve this problem
Sounds like an end-of-line problem.  If you run:
head configure | cat -v
does that show any control chars?
nick

I'll get onto this over the weekend and get back

Thanks

neill
hi babysnake,

if you still get this error message "no such file or directory!!", file should be executable. change the file permissions,

  chmod 755 configure

and try again..

good luck,

albay
In the end I did it via a reistall but that's no bad thing as I learnt about a lot of things I had made windows-type assumptions about

thanks

learning is fun!!