It would appear to me that reading the configuration file (patches/setupext.py) for matplotlib, with the exception of "linux2" (whatever that is) and OS X, matplotlib links libraries outside the $SAGE_ROOT directory. This include Solaris, Linux and Cygwin.

Here on my Solaris box I see:

/usr/sfw/include/freetype2/freetype/config/ftconfig.h:65:1: warning: "SIZEOF_LONG" redefined

as Sage is looking for freetype in /usr/sfw and not in $SAGE_LOCAL. Do you see this on your system?

Could 'linux2' be the kernel version? I've no idea how to interpret the platforms below. Does anyone know how to find out what one's system is in this context?


sage_lib = os.environ['SAGE_LOCAL'] + '/lib/'

basedir = {
    'win32'  : ['win32_static',],
    'linux2' : [sage_lib],
    'linux'  : ['/usr/local', '/usr',],
    'cygwin' : ['/usr/local', '/usr',],
    '_darwin' : ['/sw/lib/freetype2', '/sw/lib/freetype219', '/usr/local',
                '/usr', '/sw'],
    # it appears builds with darwin are broken because of all the
    # different flags the deps can be compile with, so I am pushing
    # people to :
    #   make -f make.osx fetch deps mpl_build mpl_install

    'darwin' : [sage_lib],

    'freebsd4' : ['/usr/local', '/usr'],
    'freebsd5' : ['/usr/local', '/usr'],
    'freebsd6' : ['/usr/local', '/usr'],
    'sunos5' : [os.getenv('MPLIB_BASE') or '/usr/local',],
    'gnukfreebsd5' : ['/usr/local', '/usr'],
    'gnukfreebsd6' : ['/usr/local', '/usr'],
    'aix5' : ['/usr/local'],
}

Dave

--
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