On Wed, Jun 9, 2010 at 9:25 AM, Dr. David Kirkby
<[email protected]> wrote:

> Thank you. I noticed on package (Singular) where CPPFLAGS was not set to
> $SAGE_LOCAL/include, and doing so ensured the include files in Sage were
> found. I've not tried this with Matplotlib, but it might be a way to work
> around the problem if there is no configure option to specify the location
> of freetype.

The mpl configure happens in setupext.py that lives next to setup.py.
It tries to use pkgconfig if it is available to find freetype, so you
may have luck setting your PKG_CONFIG_PATH if you are using it.
Alternatively, there is a dictionary in setupext.py called basedirs
that maps platform to list of directories to search for support libs.
You might want to modify the defaults to find the directory containing
the sage supplied versions.

JDH

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to