Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
(23:06:53)[ivanatora@~/Archives/cube/source/cube_2003_12_23_src/enet]$ ./configure
: bad interpreter: No such file or directory
(23:06:55)[ivanatora@~/Archives/cube/source/cube_2003_12_23_src/enet]$ ls
aclocal.m4 depcomp host.c list.c memory.o peer.o tutorial.txt
api.txt design.txt host.o list.o missing protocol.c unix.c
configure* docs/ include/ Makefile mkinstalldirs protocol.o unix.o
configure.in Doxyfile install-sh Makefile.am packet.c pyenet/ win32.c
CVS/ enet.dsp libenet.a Makefile.in packet.o README win32.o
demo/ enet.txt LICENSE memory.c peer.c test/
(23:06:56)[ivanatora@~/Archives/cube/source/cube_2003_12_23_src/enet]$ ./configure
: bad interpreter: No such file or directory
(23:07:50)[ivanatora@~/Archives/cube/source/cube_2003_12_23_src/enet]$ /home/ivanatora/Archives/cube/source/cube_2003_12_23_src/enet/configure
: bad interpreter: No such file or directorycube_2003_12_23_src/enet/configure: /bin/sh
The file is there, I can see it via ls, but when I try to execute it, the shell says it doesn't exist.. I can see it via mc, too, but can't execute it too.. Already toggled +x flag. Am I doing something wrong or it's nasty system's fault!?
The * just denotes it as executable. Notice that the directories have / after the names. It's probably an ls alias doing that.
As for the original question about the bad interpreter, the first line of the configure script is what's broken. Check that the #! file actually exists. Also, make sure that there are no ^M in the file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.