Re: [Matplotlib-users] static linking

2012-09-29 Thread Rita
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 efir...@hawaii.edu wrote:

 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 get a useful response from someone who knows more about linking
 than I do if you provide some information about your platform and about
 how you are presently building matplotlib.

 Eric



 --
 How fast is your code?
 3 out of 4 devs don\\\'t know how their code performs in production.
 Find out how slow your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219672;13503038;z?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users




-- 
--- Get your facts first, then you can distort them as you please.--
--
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] static linking

2012-09-29 Thread Jouni K . Seppänen
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 for your build of libpng? If you can't do
that for some reason, you can edit basedirlist in setup.cfg.

-- 
Jouni K. Seppänen
http://www.iki.fi/jks


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users