I'm hoping someone can shed some light on this. I get the following error
when building on OSX. Notice that it looks into /usr/local for libraries:
/usr/local/include/ft2build.h:56:38:/usr/local/include/ft2build.h:56:38:
error: error: freetype/config/ftheader.h: No such file or
directoryfreetype/
OK, I managed to build with the setupext.py list empty as you
specified. However, for some reason, the resulting matplotlib egg
*still* looks for dynamic libraries in /usr/local:
ImportError: dlopen(/Library/Python/2.5/site-packages/
matplotlib-0.98pre-py2.5-macosx-10.5-i386.egg/matplotlib/_p
Thanks Charlie,
I've done this, but for some reason, its still looking for things in /
usr/local:
In file included from src/ft2font.h:11,
from src/ft2font.cpp:2:
/usr/local/include/ft2build.h:56:38: error: freetype/config/
ftheader.h: No such file or directory
cf
On 12/01/20
I just had to rebuild the OSX binary because a similar reason. I
forgot to change the basedir['darwin'] entry in setupext.py. Around
line 50.
Change:
'darwin' : ['/sw/lib/freetype2', '/sw/lib/freetype219', '/usr/local',
'/usr', '/sw', '/usr/X11R6'],
To:
'darwin' : [],
I'm trying to build some matplotlib eggs to bundle
and distribute with some other python packages. So, I am doing
my best to statically link to libraries like libpng, libfreetype, etc.
that users may not have installed. I am building using the following:
python setupegg.py config -L../staticlibs b