Mailinglist Archive: opensuse-de (5277 mails)
| < Previous | Next > |
probleme mit shell und SuSE 7.3
- From: Luc de Louw <luc@xxxxxxxxx>
- Date: Thu, 27 Dec 2001 23:17:08 +0100
- Message-id: <3C2B9DE4.875FEB6F@xxxxxxxxx>
Hallo Leute,
hört sich auf den ersten Blick an wie ein Anfängerfehler, ises aber
nicht:
luc@bond:/data/personal_data/cam/test> cat rename.jpg
#!/bin/sh
for i in *.jpg
do
newfile=`echo $i|sed s/\.jpg//g`
mv $i $newfile
done
luc@bond:/data/personal_data/cam/test>
luc@bond:/data/personal_data/cam/test> ./rename.jpg
bash: ./rename.jpg: bad interpreter: Permission denied
habe mir dann den cvs-tree von KDE3 geholt, make -f Makefile.cvs und so
weiter, und dann:
bond:/data/downloads/linux/kde-cvs/kdelibs # ./configure
bash: ./configure: bad interpreter: Permission denied
bond:/data/downloads/linux/kde-cvs/kdelibs #
bond:/data/downloads/linux/kde-cvs/kdelibs # head -1 configure
#! /bin/sh
bond:/data/downloads/linux/kde-cvs/kdelibs # ls -la configure
-rwxr-xr-x 1 luc users 598761 Dec 27 22:26 configure
bond:/data/downloads/linux/kde-cvs/kdelibs # ls -la /bin/sh
-rwxr-xr-x 2 root root 442760 Sep 24 02:43 /bin/sh
Wenn ich dann aber:
bond:/data/downloads/linux/kde-cvs/kdelibs # bash configure
checking build system type... i686-suse-linux
checking host system type... i686-suse-linux
<some lines snipped>
checking for C compiler default output... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
Nun, da weiss ich nicht viel dazu sagen, ausser das es mit einer
SuSE 7.2 (ziemliche Minimalinstallation) funktioniert....
Weiss jemand Rat?
hört sich auf den ersten Blick an wie ein Anfängerfehler, ises aber
nicht:
luc@bond:/data/personal_data/cam/test> cat rename.jpg
#!/bin/sh
for i in *.jpg
do
newfile=`echo $i|sed s/\.jpg//g`
mv $i $newfile
done
luc@bond:/data/personal_data/cam/test>
luc@bond:/data/personal_data/cam/test> ./rename.jpg
bash: ./rename.jpg: bad interpreter: Permission denied
habe mir dann den cvs-tree von KDE3 geholt, make -f Makefile.cvs und so
weiter, und dann:
bond:/data/downloads/linux/kde-cvs/kdelibs # ./configure
bash: ./configure: bad interpreter: Permission denied
bond:/data/downloads/linux/kde-cvs/kdelibs #
bond:/data/downloads/linux/kde-cvs/kdelibs # head -1 configure
#! /bin/sh
bond:/data/downloads/linux/kde-cvs/kdelibs # ls -la configure
-rwxr-xr-x 1 luc users 598761 Dec 27 22:26 configure
bond:/data/downloads/linux/kde-cvs/kdelibs # ls -la /bin/sh
-rwxr-xr-x 2 root root 442760 Sep 24 02:43 /bin/sh
Wenn ich dann aber:
bond:/data/downloads/linux/kde-cvs/kdelibs # bash configure
checking build system type... i686-suse-linux
checking host system type... i686-suse-linux
<some lines snipped>
checking for C compiler default output... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
Nun, da weiss ich nicht viel dazu sagen, ausser das es mit einer
SuSE 7.2 (ziemliche Minimalinstallation) funktioniert....
Weiss jemand Rat?
| < Previous | Next > |