netkit-telnetd: error during build: /bin/sh: bad interpreter I am having a problem building the telnet server daemon on my Gentoo
box:
whoami
root
emerge netkit-telnetd
>>> Unpacking source...
>>> Unpacking netkit-telnet-0.17.tar.gz to
/local/var/tmp/portage/net-misc/netkit-telnetd-0.17-r6/work
>>> Unpacking netkit-telnet_0.17-28.diff.gz to
/local/var/tmp/portage/net-misc/netkit-telnetd-0.17-r6/work
* Applying netkit-telnet_0.17-28.diff ... [ ok ]
* Applying netkit-telnetd-0.17-cflags-gnu_source.patch ... [ ok ]
>>> Source unpacked.
>>> Compiling source in
/local/var/tmp/portage/net-misc/netkit-telnetd-0.17-r6/work/netkit-telnet-0.17
....
/usr/portage/net-misc/netkit-telnetd/netkit-telnetd-0.17-r6.ebuild:
../configure:
/bin/sh: bad interpreter: Permission denied
*
* ERROR: net-misc/netkit-telnetd-0.17-r6 failed.
* Call stack:
* ebuild.sh, line 1695: Called dyn_compile
* ebuild.sh, line 1033: Called qa_call
'src_compile'
* ebuild.sh, line 44: Called src_compile
* netkit-telnetd-0.17-r6.ebuild, line 44: Called die
* The specific snippet of code:
* e--./configure --prefix=/usr || die
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack
if relevant.
* A complete build log is located at
'/local/var/tmp/portage/net-misc/netkit-telnetd-0.17-r6/temp/build.log'.
*
Hmmm, what the hell is going on. I am concerned about the error:
/bin/sh: bad interpreter: Permission denied
I am root, and the drive is local. Why do I have this error?
whoami
root
ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Nov 1 22:47 /bin/sh -> bash
ls -l /bin/bash
-rwxr-xr-x 1 root root 651148 Nov 1 22:46 /bin/bash
whoami
root
/bin/sh
sh-3.2# whoami
root
sh-3.2# exit
whoami
root
Thanks in advance to anyone who can help.
Mark.
--
Mark Hobley,
393 Quinton Road West,
Quinton, BIRMINGHAM.
B32 1QE. |