Re: [Matplotlib-users] Compiling matplotlib against 64 bit python 2.6 on OSX Snow Leopard

2010-05-27 Thread Friedrich Romstedt
2010/5/25 Pim Schellart p.schell...@gmail.com: I tried both and although it now seems to find the libraries it still fails to link something. src/_png.cpp:293: error: ‘png_infopp_NULL’ was not declared in this scope src/_png.cpp:293: error: ‘png_infopp_NULL’ was not declared in this scope I

Re: [Matplotlib-users] Compiling matplotlib against 64 bit python 2.6 on OSX Snow Leopard

2010-05-27 Thread Pim Schellart
Dear Friedrich, sorry for the confusion. It may very well be that I misinterpreted part of the problem as I am no expert either. The problem came to be as follows. At first I used the binaries for the latest stable releases of Python 2.6 + numpy + matplotlib from the respected websites. But in

Re: [Matplotlib-users] Compiling matplotlib against 64 bit python 2.6 on OSX Snow Leopard

2010-05-27 Thread Friedrich Romstedt
Dear Pim, 2010/5/27 Pim Schellart p.schell...@gmail.com: At first I used the binaries for the latest stable releases of Python 2.6 + numpy + matplotlib from the respected websites. But in order to compile a custom library I needed Python to be compiled 64 bit. For me this was the same with

Re: [Matplotlib-users] Compiling matplotlib against 64 bit python 2.6 on OSX Snow Leopard

2010-05-26 Thread Pim Schellart
Hi John and George, I did of course rtfm :) However when I do this for the latest svn checkout I get: matplotlib $ PREFIX=/usr/local sudo make -f make.osx fetch deps mpl_install Password: python2.6 -c 'import urllib; urllib.urlretrieve(http://www.zlib.net/zlib-1.2.3.tar.gz;, zlib-1.2.3.tar.gz)'

Re: [Matplotlib-users] Compiling matplotlib against 64 bit python 2.6 on OSX Snow Leopard

2010-05-26 Thread John Hunter
On Wed, May 26, 2010 at 5:18 AM, Pim Schellart p.schell...@gmail.com wrote: Hi John and George, I did of course rtfm :) However when I do this for the latest svn checkout I get: matplotlib $ PREFIX=/usr/local sudo make -f make.osx fetch deps mpl_install Password: python2.6 -c 'import

Re: [Matplotlib-users] Compiling matplotlib against 64 bit python 2.6 on OSX Snow Leopard

2010-05-26 Thread John Hunter
On Wed, May 26, 2010 at 10:47 AM, Pim Schellart p.schell...@gmail.com wrote: Dear John and George, I am happy to report that everything is now working! The latest SVN patch fixed the fetch problem and a complete removal of my custom compiled libpng and libfreetype2 followed by: sudo make -f

Re: [Matplotlib-users] Compiling matplotlib against 64 bit python 2.6 on OSX Snow Leopard

2010-05-25 Thread George Nurser
Hi, Installing pkg-config sorted things out for me. http://pkgconfig.freedesktop.org/releases/pkg-config-0.23.tar.gz --George. On 25 May 2010 16:03, Pim Schellart p.schell...@gmail.com wrote: Hi Everyone, I am attempting to compile matplotlib against a 64 bit version of Python 2.6 compiled

Re: [Matplotlib-users] Compiling matplotlib against 64 bit python 2.6 on OSX Snow Leopard

2010-05-25 Thread John Hunter
On Tue, May 25, 2010 at 10:10 AM, George Nurser gnur...@gmail.com wrote: Hi, Installing pkg-config sorted things out for me. http://pkgconfig.freedesktop.org/releases/pkg-config-0.23.tar.gz Also, you may want to try the make.osx script which lives beside setup.py. See the associated

Re: [Matplotlib-users] Compiling matplotlib against 64 bit python 2.6 on OSX Snow Leopard

2010-05-25 Thread John Hunter
On Tue, May 25, 2010 at 10:45 AM, Pim Schellart p.schell...@gmail.com wrote: Hi John and George, I tried both and although it now seems to find the libraries it still fails to link something. matplotlib-0.99.1.1 $ sudo python setup.py install According to the README I pointed you too, this

Re: [Matplotlib-users] Compiling matplotlib against 64 bit python 2.6 on OSX Snow Leopard

2010-05-25 Thread George Nurser
If what John suggests doesn't work, and you really only need 64 bit, then the nuclear option is to remove all occurrences of -arch i386 from the makefile (assuming you have a framework build) at /Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/config/Makefile This should only