Re: [Matplotlib-users] Build matplotlib 0.98 on OSX

2008-06-11 Thread Joshua Lippai
You don't have to do everything that I did, but I have libpng and whatnot installed in /usr/local for other purposes anyway, and I didn't have a particular need to build a universal binary version of matplotlib. Furthermore, using GCC 4.2, while forcing one to get rid of Wno-long-double (an Apple-o

Re: [Matplotlib-users] Build matplotlib 0.98 on OSX

2008-06-09 Thread Adam Mercer
On Thu, Jun 5, 2008 at 8:50 PM, John Hunter <[EMAIL PROTECTED]> wrote: > On the svn trunk (0.98) there is a > bug in the apple gcc compiler with our agg extension that causes a > compiler error if the optimization level is -O3. Has this been reported to Apple? Cheers Adam -

Re: [Matplotlib-users] Build matplotlib 0.98 on OSX

2008-06-06 Thread John Hunter
On Fri, Jun 6, 2008 at 11:16 AM, Christopher Burns <[EMAIL PROTECTED]> wrote: > I'm sure that would work, but John's make target 'build_osx105' is > much easier, particularly for end users. > > $ make build_osx105 > > That's it. Unpythonic in it's appearance, but sets the required > CFLAGS and cal

Re: [Matplotlib-users] Build matplotlib 0.98 on OSX

2008-06-06 Thread Christopher Burns
I'm sure that would work, but John's make target 'build_osx105' is much easier, particularly for end users. $ make build_osx105 That's it. Unpythonic in it's appearance, but sets the required CFLAGS and calls setup.py. On Fri, Jun 6, 2008 at 7:41 AM, Charlie Moad <[EMAIL PROTECTED]> wrote: > I

Re: [Matplotlib-users] Build matplotlib 0.98 on OSX

2008-06-06 Thread Charlie Moad
I just used the default 10.5 compiler. I didn't use -Os for the whole run though. I would just copy the gcc command on the files where it failed and replace -O3 with -Os. Kind of lame, I know, but most the build I did was ran with -O3. - Charlie On Thu, Jun 5, 2008 at 8:19 PM, Christopher Bark

Re: [Matplotlib-users] Build matplotlib 0.98 on OSX

2008-06-05 Thread Christopher Burns
'make build_osx105' worked great, thank you! Sorry I didn't see that earlier. On Thu, Jun 5, 2008 at 6:50 PM, John Hunter <[EMAIL PROTECTED]> wrote: > On Thu, Jun 5, 2008 at 4:19 PM, Christopher Burns <[EMAIL PROTECTED]> wrote: >> Is this really the current solution to building matplotlib on OSX

[Matplotlib-users] Build matplotlib 0.98 on OSX

2008-06-05 Thread Christopher Burns
Is this really the current solution to building matplotlib on OSX, installing a new compiler and hacking the python Makefile? I was able to build matplotlib 0.91.2 just fine on OSX, sometime around March I checked out the truck to fix a bug and discovered I couldn't build the svn version. Matplot