Eric Bruning <eric.bruning@...149...> writes:
2. The official recommendation at
http://matplotlib.sourceforge.net/users/installing.html#build-osx
doesn't work because OS X doesn't ship with wget and because the
download URLs for zlib, libpng, and freetype are broken in
matplotlib/release/osx
I changed it to use curl, which OS X does have. Does this help?
···
--
Jouni K. Sepp�nen
Hi Jouni,
Your changes helped, but I'm still seeing build errors against recent svn.
Eric Bruning <eric.bruning@...149...> writes:
2. The official recommendation at
http://matplotlib.sourceforge.net/users/installing.html#build-osx
doesn't work because OS X doesn't ship with wget and because the
download URLs for zlib, libpng, and freetype are broken in
matplotlib/release/osx
I changed it to use curl, which OS X does have. Does this help?
I cleaned out my build and tried again, following the instructions in
release/osx/README.txt
From a current svn checkout, I successfully ran
python setup.py sdist
mv dist/matplotlib-1.0.svn.tar.gz release/osx/
Updated version numbers to:
PYVERSION=2.6
PYTHON=python${PYVERSION}
SRCDIR=\{PWD\}
ZLIBVERSION=1\.2\.3
PNGVERSION=1\.2\.39
FREETYPEVERSION=2\.3\.9
MPLVERSION=1\.0\.svn
BDISTMPKGVERSION=0\.4\.4
MPLSRC=matplotlib\-{MPLVERSION}
MACOSX_DEPLOYMENT_TARGET=10.4
The revised curl commands worked. (I had to grab zlib manually since
zlib.net is down this morning!), and all the dependencies built with
no problems.
make installers fails with:
...
g++ -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g
-bundle -undefined dynamic_lookup -arch ppc -arch i386
-L/Users/ebruning/sources/matplotlib/release/osx/zlib-1.2.3
-L/Users/ebruning/sources/matplotlib/release/osx/libpng-1.2.39
-L/Users/ebruning/sources/matplotlib/release/osx/freetype-2.3.9 -Os
-arch ppc -arch i386
-I/Users/ebruning/sources/matplotlib/release/osx/zlib-1.2.3
-I/Users/ebruning/sources/matplotlib/release/osx/libpng-1.2.39
-I/Users/ebruning/sources/matplotlib/release/osx/freetype-2.3.9/include
build/temp.macosx-10.3-fat-2.6/src/ft2font.o
build/temp.macosx-10.3-fat-2.6/src/mplutils.o
build/temp.macosx-10.3-fat-2.6/CXX/cxx_extensions.o
build/temp.macosx-10.3-fat-2.6/CXX/cxxsupport.o
build/temp.macosx-10.3-fat-2.6/CXX/IndirectPythonInterface.o
build/temp.macosx-10.3-fat-2.6/CXX/cxxextensions.o -L/usr/local/lib
-L/usr/local/lib -L/usr/lib -lfreetype -lz -lstdc++ -lm -o
build/lib.macosx-10.3-fat-2.6/matplotlib/ft2font.so
ld warning: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libgcc_s.10.4.dylib,
missing required architecture ppc in file
ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libgcc_s.1.dylib,
missing required architecture ppc in file for architecture ppc
collect2: ld returned 1 exit status
lipo: can't open input file:
/var/folders/RP/RPE-UjrSHZ4SQq6AJQBxqk+++TI/-Tmp-//ccAHjtZk.out (No
such file or directory)
error: command 'g++' failed with exit status 1
make: *** [installers] Error 1
Thanks,
Eric
···
On Thu, Aug 20, 2009 at 12:33 PM, Jouni K. Seppänen<jks@...278...> wrote:
--
Jouni K. Seppänen
Jouni Seppänen
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
matplotlib-devel List Signup and Options