Building from svn on OS X, and nabble

Update:

I just tried “make -f make.osx fetch deps mpl_install”, which gave me the following results:

python2.6 -c ‘import urllib; urllib.urlretrieve(“http://www.zlib.net/zlib-1.2.3.tar.gz”, “zlib-1.2.3.tar.gz”)’ &&\

python2.6 -c 'import urllib; urllib.urlretrieve("[http://downloads.sourceforge.net/project/libpng/libpng-stable/1.2.39/libpng-1.2.39.tar.gz](http://downloads.sourceforge.net/project/libpng/libpng-stable/1.2.39/libpng-1.2.39.tar.gz)", "libpng-1.2.39.tar.gz")' &&\

python2.6 -c 'import urllib; urllib.urlretrieve("[http://download.savannah.gnu.org/releases/freetype/freetype-2.3.11.tar.bz2](http://download.savannah.gnu.org/releases/freetype/freetype-2.3.11.tar.bz2)", "freetype-2.3.11.tar.bz2")'

export PKG_CONFIG_PATH=“/Users/mhearne/build make -f make.osx fetch deps mpl_install/lib/pkgconfig” &&\

rm -rf zlib-1.2.3 &&\

tar xvfj zlib-1.2.3.tar.gz &&\

cd zlib-1.2.3 &&\

export MACOSX_DEPLOYMENT_TARGET=10.6 &&\

export CFLAGS="-arch i386 -arch x86_64 -I/Users/mhearne/build make -f make.osx fetch deps mpl_install/include -I/Users/mhearne/build make -f make.osx fetch deps mpl_install/include/freetype2 -isysroot /Developer/SDKs/MacOSX10.6.sdk" &&\

export LDFLAGS="-arch i386 -arch x86_64 -L/Users/mhearne/build make -f make.osx fetch deps mpl_install/lib -syslibroot,/Developer/SDKs/MacOSX10.6.sdk" &&\

./configure --prefix=/Users/mhearne/build make -f make.osx fetch deps mpl_install&&\

MACOSX_DEPLOYMENT_TARGET=10.6 CFLAGS="-arch i386 -arch x86_64 -I/Users/mhearne/build make -f make.osx fetch deps mpl_install/include -I/Users/mhearne/build make -f make.osx fetch deps mpl_install/include/freetype2 -isysroot /Developer/SDKs/MacOSX10.6.sdk" LDFLAGS="-arch i386 -arch x86_64 -L/Users/mhearne/build make -f make.osx fetch deps mpl_install/lib -syslibroot,/Developer/SDKs/MacOSX10.6.sdk" make -j3 install&& \

unset MACOSX_DEPLOYMENT_TARGET

bzip2: (stdin) is not a bzip2 file.

tar: Child returned status 2

tar: Error exit delayed from previous errors

make: *** [zlib] Error 2

···

Begin forwarded message:

From: Michael Hearne <mhearne@…751…>

Date: April 16, 2010 12:25:50 PM MDT

To: matplotlib-devel@lists.sourceforge.net

Subject: [matplotlib-devel] Building from svn on OS X, and nabble

First the easy one:

When I click on the link for the archives on the matplotlib page:
http://www.nabble.com/matplotlib—users-f2906.html

I get sent to this page:
http://www.nabble.com/-td2885.html#a2906

which is in some Slavic looking language, so I can’t tell what it’s a forum for, but it’s probably not matplotlib.

Anyway.

My real question is about building from svn on OS X.

(Before anyone asks me why I’m building on OS X, it’s because there is a PDF bug in the current released version which I need to avoid).

There are instructions to modify make.osx to include a local directory where dependencies are downloaded, which I did. There aren’t any further instructions, however, so I’ve building/installing using setup.py, which runs, but has a run-time error regarding free-type fonts that I have encountered before. I’ve also tried running make with various arguments, none of which appear to do anything useful.

What are the proper build/install commands for OS X once the make.osx file has been edited?

Thanks,

Mike

Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev


Matplotlib-devel mailing list
Matplotlib-devel@…743…forge.net
matplotlib-devel List Signup and Options