running ./configure on mac OS X 10.4??

bhaktihd

Registered
I have Mac OS X 10.4. I downloaded a package. I have to run ./configure and then makefile, make install commands. I am getting the following error msgs when I run ./configure. Does anyone know what might be the problem?

usr-bioinf-mac:~/Desktop/amos-3.0.1 admin$ ./configure
./configure: line 7: sed: command not found
./configure: line 92: chmod: command not found
./configure: line 98: rm: command not found
./configure: line 166: sed: command not found
./configure: line 175: sed: command not found
: error: cannot create .lineno; rerun with a POSIX shell
usr-bioinf-mac:~/Desktop/amos-3.0.1 admin$

Also, even makefile command is not found? do I need to install anything to run makefile and make install commands? Please help!

Thanks you!
BD
 
sed, chmod and rm are normal OS X commands, so there is something wrong either on your PATH variable or the configure file. Try to run it with
Code:
. ./configure
instead. There is no such (common) command as makefile. Instead use command
Code:
make
.
 
here is the output:


Last login: Wed Oct 5 12:22:56 on ttyp1
Welcome to Darwin!
mya-bioinf-mac:~ admin$ /bin/ps
PID TT STAT TIME COMMAND
2020 p1 S 0:00.01 -bash
mya-bioinf-mac:~ admin$ echo $PATH
/Users/admin/ncbi-blast-2.2.25+/bin/:2020PATH
mya-bioinf-mac:~ admin$
 
still I get this:

mya-bioinf-mac:~/Desktop/amos-3.0.1 admin$ . ./configure
-bash: sed: command not found
-bash: chmod: command not found
-bash: rm: command not found
: error: cannot find myself; rerun with an absolute path
[Process completed]
 
Have you installed XCode?

The developer utilities like make, configure, cc, gcc, g++, and other development tools are included with the XCode installation.

XCode version 2.5 is probably the one you want for Tiger. You can create a free Developer Account with Apple, then download XCode from the Developer downloads section.

EDIT: Nevermind. It looks like you have configure already on your system, but as you and Whitehill are discussing, the problem seems to lie in some sort of PATH or configuration problem. Ignore me.
 
At the very least, you need /usr/bin on your path. I have this
Code:
.:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/bin:/usr/local/sbin:/Users/whitehill/bin
For "whitehill", replace with your user name. Try this experiment:
Code:
PATH="/usr/bin:." ./configure
This changes PATH temporarily for the duration of the configure command.
 
Back
Top