Issues with building Matplotlib 1.2.0 on RHEL5

Hi,

I am trying to build matplotlib 1.2.0 from source on my RHEL6 machine.
I am using freetype 2.4.2 and libpng 1.2.42

I am using basedirlist (from setup.cfg) to mention the location of the include folder (for all headers), I am not sure though where I should mention the location of the .so files of these 3rd party libraries.

During build of matplotlib it picks up system installed versions of freetype and libpng.(build log attached)

Is there any other place where I need to set the location of these third party libraries?

Regards,
Tej

build_log.txt (51.1 KB)

If I understand it correctly, you are trying to build against custom-built copies of these libraries in a non-default location?

You can try setting LDFLAGS to "-L/path/to/your/libraries".

Mike

···

On 11/26/2012 12:47 AM, Tejashri Kandolkar wrote:

Hi,

I am trying to build matplotlib 1.2.0 from source on my RHEL6 machine.
I am using freetype 2.4.2 and libpng 1.2.42

I am using basedirlist (from setup.cfg) to mention the location of the include folder (for all headers), I am not sure though where I should mention the location of the .so files of these 3rd party libraries.

During build of matplotlib it picks up system installed versions of freetype and libpng.(build log attached)

Is there any other place where I need to set the location of these third party libraries?

Regards,
Tej

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov

_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Hi,

Yes, I am trying to build against custom-built libraries.
and thanks for the suggestion about LDFLAGS, but that didn’t work too.

It still picks up system versions of the libraries.
What has pkg-config got to do with this? (I havent worked extensively with linux so not much idea)

I think I should also mention that I am trying to build matplotlib against Python 3.2.3.

Regards,
Tej

···

On Tue, Nov 27, 2012 at 10:49 PM, Michael Droettboom <mdroe@…31…> wrote:

You can try setting LDFLAGS to “-L/path/to/your/libraries”.