Results 1 to 3 of 3
I am new to linux. Learning things as I am working on the project,
I have a ./configure executable. I find that it has been obtained using the configure.ac file. ...
- 05-13-2009 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 13
Configure Issue
I am new to linux. Learning things as I am working on the project,
I have a ./configure executable. I find that it has been obtained using the configure.ac file. Can any one explain how this configuration executable is created ?
I get the following error when i try to run the ./configure
bash-3.2$ ../configure
bash: ../configure: /bin/sh^M: bad interpreter: No such file or directory
Any pointers or guidelines on some tutorials, if this was very simple issue , will be highly useful.
- 05-13-2009 #2
First ensure that it is executable.
Then cd into the directory where the file is and run it as follows;
Notice the single '.' not a double.Code:./configure
- 05-13-2009 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
The first line in a configure script is the shell intended to execute the code it contains. Your's has specified to use /bin/sh, but your system doesn't seem to have that file. It may be in /usr/bin or not there at all (unlikely, but possible). Go to a command-line window and execute the command: which sh
That will show you where (if found) the standard shell (sh) is located. If it isn't in /bin/sh but exists, then you can either change the configure script to point to the correct location, or you can copy it to /bin as root.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote