From: <js...@us...> - 2007-11-15 13:19:17
|
Revision: 4299 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4299&view=rev Author: jswhit Date: 2007-11-15 05:19:14 -0800 (Thu, 15 Nov 2007) Log Message: ----------- updated install instructions for MacOS X Modified Paths: -------------- trunk/toolkits/basemap-testing/README Modified: trunk/toolkits/basemap-testing/README =================================================================== --- trunk/toolkits/basemap-testing/README 2007-11-14 22:58:40 UTC (rev 4298) +++ trunk/toolkits/basemap-testing/README 2007-11-15 13:19:14 UTC (rev 4299) @@ -84,6 +84,26 @@ 3) cd back to the top level basemap directory (basemap-X.Y.Z) and run the usual 'python setup.py install'. +Note for Mac OS X users: +----------------------- +On intel, your build may fail with a message like this: + +/usr/bin/ld: for architecture ppc /usr/bin/ld: warning +/sw/lib/libgeos_c.dylib cputype (7, architecture i386) does not match +cputype (18) for specified -arch flag: ppc (file not loaded) lipo: can't +open input file: /var/tmp//ccJKju2Z.out (No such file or directory) +error: Command "gcc -arch i386 -arch ppc -isysroot +/Developer/SDKs/MacOSX10.4u.sdk -g -bundle -undefined dynamic_lookup +build/temp.macosx-10.3-fat-2.4/src/_geos.o -L/sw/lib -L/sw/lib -lgeos_c +-o build/lib.macosx-10.3-fat-2.4/_geos.so" failed with exit status 1 + +If so, just cut and past the gcc command in double quotes, removing the +'-arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk' flags. Then run +'setup.py install' again to finish the build. + +On ppc, there may be a similar failure, but remove the '-arch i386' flag +instead. + **Contact** Jeff Whitaker <jef...@no...> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |