./configure host

frankbebag

Registered
on an iBook g3, osx 10.3, tryin to ./configure in terminal. When trying to compile from source with ./configure get "configure: error: can not guess host type; you must specify one". where can someone find and specify the host.
 
Easiest way to fix that is to copy these files to the directory you're compiling in:

cp /usr/share/libtool/config.guess .
cp /usr/share/libtool/config.sub .
cp /usr/share/libtool/ltmain.sh .
cp /usr/share/automake-1.6/install-sh .
cp /usr/share/automake-1.6/missing .
cp /usr/share/automake-1.6/mkinstalldirs .


Note, you don't have to copy all of them. If you don't already have a file with the same name in the source directory, then you can skip that one. These are more up to date files than the ones the source comes with, and they should work to compile the source.

Just so you know, the config.guess and config.sub files are the ones that you definitely need - they'll be able to guess the host type correctly.
 
It does this with all packages, and they do have the config.guess....
I need a way to echo my host and then specify it with the configure.
 
Yes, it has config.guess, but it's an older version of config.guess that doesn't know about OS X. If you copy the file over I specified, it should work. Try it.
 
Back
Top