From: Matt T. <mat...@gm...> - 2013-08-23 15:14:14
|
I'm banging away at installing MPL on top of 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 <mat...@gm...> 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 > |