Figured it out.
The real trick is to set the PKG_CONFIG_PATH properly. No need for
LD_LIBRARY_PATH
On Sun, Sep 30, 2012 at 9:52 AM, Rita rmorgan...@gmail.com wrote:
Nelly,
I would like to compile libpng into matplotlib if possible, ie static.
Seems like thats not possible and I would like to
On 30 Sep 2012 06:11, Jouni K. Seppänen j...@iki.fi wrote:
Rita rmorgan...@gmail.com writes:
i have a micro distribution setup. I am building python, numpy, scipy
from
scratch. I am building matplotlib from scratch also.
I am doing a simple, /apps/bin/python setup.py build.
I also
Nelly,
I would like to compile libpng into matplotlib if possible, ie static.
Seems like thats not possible and I would like to would LD_LIBRARY_PATH as
much as possible. I much prefer -Wl, rpath or LD_PRELOAD.
Jouni,
for the pkg-config can I use the one with my OS, /usr/bin/pkg-config? and
also
i have a micro distribution setup. I am building python, numpy, scipy from
scratch. I am building matplotlib from scratch also.
I am doing a simple, /apps/bin/python setup.py build.
I also compiled libpng and cairo in a location.
On Fri, Sep 28, 2012 at 10:49 PM, Eric Firing
Rita rmorgan...@gmail.com writes:
i have a micro distribution setup. I am building python, numpy, scipy from
scratch. I am building matplotlib from scratch also.
I am doing a simple, /apps/bin/python setup.py build.
I also compiled libpng and cairo in a location.
Have you set up pkg-config
Whenever I use matplot lib its asking me for libpng and when I do
LD_LIBRARY_PATH it works. Is there a way I can compile matplotlib so I can
avoid doing an export LD_LIBRARY_PATH ?
--
--- Get your facts first, then you can distort them as you please.--
On 2012/09/28 3:40 PM, Rita wrote:
Whenever I use matplot lib its asking me for libpng and when I do
LD_LIBRARY_PATH it works. Is there a way I can compile matplotlib so I
can avoid doing an export LD_LIBRARY_PATH ?
Normally one doesn't need it, so I don't know why you do need it. You
might
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
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/
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
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' :
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 matches
Mail list logo