What does this mean and how can I fix it?
bash:./configure:bad interpreter:file or directory not found
What does this mean and how can I fix it?
bash:./configure:bad interpreter:file or directory not found
The top has #!/bin/sh like any other configure script...
change the permissions...make sure that you can execute the script...
Last edited by mix0matt; 05-23-2002 at 09:38 AM.
OK.... so I thought I hadn't made it executable, but it was all along. Here's some more information... maybe something will help. I downloaded winex from CVS using windows ::gag:: I had never used CVS before but I seem to have eventually gotten it all down. So then I fled from windows and booted up to linux and copied the wine directory from my windows partition to linux. From there I entered the directory and tried to configure it and it wouldn't work. Just for the heck of it I renamed the configure file to something like "justatest" and then executed it and instead of
bash:./configure:bad interpreter:file or directory not found
I got
bash:./configure:bad interpreter:Permission denied
I'm really confused...
perhaps its actually
/bin/sh
change
#!/bin/sh
to
#!/bin/bash
if you have the BASH shell that is, if it still has the interpreter problem, try looking at the script and look for spelling error or maybe even an outdated command
sometimes sbin commands are outdated on older scripts.
Asking the right question is sometimes more important than knowing the answer.
Please read the FAQ
C Reference Card (A MUST!)
Pointers and Memory
The Essentials
CString lib
I wouldn't think I would have to change anything since it was downloaded just a few days ago off of winex. I'll try what you said though.
OS: Linux Mandrake 9.0
Compiler: gcc-3.2
Languages: C, C++, Java
If you go flying back through time and you see somebody else flying forward into the future, it's probably best to avoid eye contact.
Fixed it
All of the line ends were wrong... they were all CR+LF instead of LF. I had suspected this although I wasn't exactly sure how to check and then change them... but I figured it out.
OS: Linux Mandrake 9.0
Compiler: gcc-3.2
Languages: C, C++, Java
If you go flying back through time and you see somebody else flying forward into the future, it's probably best to avoid eye contact.
Your both sephiroth, or is JasonLikeJava's avatar not sephiroth?
flashdaddee.com rocks!!!
Yeah, I'm sephiroth.... but I'm not really into Final Fantasy. I didn't even know mine and Lynux-Penguin's were the same...