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
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
does /bin/sh exist
ASKER
yep
/bin/sh is there
/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
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
ASKER
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 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 ;>) !!)
ASKER
I tried using ash (already installed)
I simply get
./configure: permission denied (from root, all permissions enabled in configure)
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.
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.
ASKER
# 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
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
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
ASKER
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
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
rpm -q -l qt
ASKER
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/libq t-mt.so
/usr/lib/qt-2.3.2/lib/libq t-mt.so.2
/usr/lib/qt-2.3.2/lib/libq t-mt.so.2. 3
/usr/lib/qt-2.3.2/lib/libq t-mt.so.2. 3.2
/usr/lib/qt-2.3.2/lib/libq t.so
/usr/lib/qt-2.3.2/lib/libq t.so.2
/usr/lib/qt-2.3.2/lib/libq t.so.2.3
/usr/lib/qt-2.3.2/lib/libq t.so.2.3.2
/usr/lib/qt-2.3.2/lib/libq util.so
/usr/lib/qt-2.3.2/lib/libq util.so.1
/usr/lib/qt-2.3.2/lib/libq util.so.1. 0
/usr/lib/qt-2.3.2/lib/libq util.so.1. 0.0
/usr/lib/qt2
/usr/share/doc/packages/qt /doc
/usr/share/doc/packages/qt /doc/ANNOU NCE
/usr/share/doc/packages/qt /doc/FAQ
/usr/share/doc/packages/qt /doc/INSTA LL
/usr/share/doc/packages/qt /doc/LICEN SE.GPL
/usr/share/doc/packages/qt /doc/LICEN SE.QPL
/usr/share/doc/packages/qt /doc/MANIF EST
/usr/share/doc/packages/qt /doc/PLATF ORMS
/usr/share/doc/packages/qt /doc/PORTI NG
/usr/share/doc/packages/qt /doc/READM E
/usr/share/doc/packages/qt /doc/READM E.QT
/usr/share/doc/packages/qt /doc/READM E.SuSE
/usr/share/doc/packages/qt /doc/chang es-2.3.0
/usr/share/doc/packages/qt /doc/chang es-2.3.1
/usr/share/doc/packages/qt /doc/chang es-2.3.2
thanks for the continued interest
neill
/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/libq
/usr/lib/qt-2.3.2/lib/libq
/usr/lib/qt-2.3.2/lib/libq
/usr/lib/qt-2.3.2/lib/libq
/usr/lib/qt-2.3.2/lib/libq
/usr/lib/qt-2.3.2/lib/libq
/usr/lib/qt-2.3.2/lib/libq
/usr/lib/qt-2.3.2/lib/libq
/usr/lib/qt-2.3.2/lib/libq
/usr/lib/qt-2.3.2/lib/libq
/usr/lib/qt-2.3.2/lib/libq
/usr/lib/qt-2.3.2/lib/libq
/usr/lib/qt2
/usr/share/doc/packages/qt
/usr/share/doc/packages/qt
/usr/share/doc/packages/qt
/usr/share/doc/packages/qt
/usr/share/doc/packages/qt
/usr/share/doc/packages/qt
/usr/share/doc/packages/qt
/usr/share/doc/packages/qt
/usr/share/doc/packages/qt
/usr/share/doc/packages/qt
/usr/share/doc/packages/qt
/usr/share/doc/packages/qt
/usr/share/doc/packages/qt
/usr/share/doc/packages/qt
/usr/share/doc/packages/qt
thanks for the continued interest
neill
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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?
head configure | cat -v
does that show any control chars?
ASKER
nick
I'll get onto this over the weekend and get back
Thanks
neill
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
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
ASKER
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!!
thanks
learning is fun!!