Monday, December 20, 2010

[Linux] Mac configure type

In many cases the build step involves running a configure script. Occasionally you'll run a configure script that gives error message stating that the host type cannot be determined. In such a case, you can usually either specify the configure option --host=powerpc-apple-darwin6.4 as I've done in the examples below. (Note in this case, we are using darwin6.4. To determine the correct release of darwin, enter the command uname -r.) You can alternatively copy two files into the build directory, that is, into the same directory that contains the script configure. 

Code:
cp /usr/share/libtool/config.guess . cp /usr/share/libtool/config.sub .
Occasionally, the configure option --build=powerpc-apple-darwin6.4 is needed to produce the desired result (again assuming we're using darwin release 6.4). 

In some cases, there are additional steps to be performed. ...

Posted via email from Troy's posterous

No comments:

Post a Comment

Google+