Matt,
Thanks for looking into this! I had already planned to look into
building on Travis' Mac facilities, so this is a huge timesaver.
Don't forget we also have Option 5 which is to do whatever it takes to
automate some of these things within matplotlib's setup.py script
itself. For example, I'm not opposed to detecting which Python we're
running (which should be possible from various info available in sys)
and then setting search paths accordingly. The pkg-config stuff is
really handy on Linux and MacPorts where it's reliably there, but for
other Mac environments, we probably should be less reliant on it.
Mike
On 08/23/2013 11:14 AM, Matt Terry wrote:
I'm banging away at installing MPL on top of python.org
<http://python.org>'s python. I'm at the libfreetype/freetype issue.
There seems to be three approaches to getting MPL's dependencies.
1) install libpng[1] and freetype[2] from source
2) install XQuartz[3] and twiddle /opt/X11, /usr/X11 (per Russell's
directions[4]) so MPL finds XQuartz's libpng/freetype
3) install XQuartz[3] and install pkg-config[5] so MPL can find the
cleverly installed libraries
4) create the MPL binary installer and use that
Option 1 seems simple-est, but installing freetype requires more than
./configure && make && sudo make install.
Option 2 worries me with the manual symlinking and such. Who knows
what we'll clobber.
Option 3: haven't fully explored.
Option 4: This would require some input from whoever (Gohlke?, Owen?)
makes the binary installers.
[1] http://www.libpng.org/pub/png/libpng.html
[2] http://www.freetype.org/index.html
[3] http://xquartz.macosforge.org/landing/
[4]
http://www.astro.washington.edu/users/rowen/BuildingMatplotlibForMac.html
[5] http://www.freedesktop.org/wiki/Software/pkg-config/
On Thu, Aug 22, 2013 at 8:24 PM, Matt Terry <matt.te...@gmail.com
<mailto:matt.te...@gmail.com>> wrote:
> with/without third party X
I'm not quite sure what you mean by with/without third party
X. If you
are referring to Tck/Tk:
I had an issue where MPL found the headers to freetype in
/opt/local, but library in /usr/X11. Hilarity ensues. I *think*
/usr/X11 showed up when I installed XQuartz, but I don't have a
clean image to compare against.
The with-X / without-X builds would be there to check that the
default search paths are compatible with common environments.
-matt
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel