setupext bug in matplotlib

Hi, please let me know if this remark is irrelevant: this is

    > the third email mentioning that I still have to add one line
    > in setupext.py in order for matplotlib to be installed
    > without crashing (see below). For some reason this 'bug'
    > (if it is one?) is present since many versions and has not
    > been solved for me although I have tried to send emails
    > regularly regarding this item. Please let me know if this is
    > normal or if it is just something not set up right for me.

    > ALSO: I posted a request for help on mplot3d twice, but got
    > no feedback. Any help is welcome!

mplot3 is not in any official matplotlib version -- it resides in svn
and is awaiting integration. I took a stab at this after your last
email but ran into difficulties. Thus you should consider mplot3d
unsupported until we make a release that includes it.

    > thanks in advance, Eric

    > P.S.: here is what I have to do everytime I wish to install
    > a new version of matplotlib:

    > # add one line in setupext.py:

    > o.tcl_inc="/usr/include/"

The problem is that this fixes the bug for your system, but is not a
general solution. Other platforms will put their tcl/tk libs in a
different place. So we need a generic solution which will work across
platforms, which is why I haven't committed this. Granted
/usr/include is a standard location, and this would be a good fallback
to try if the current method fails (it fails for you and works for
most -- perhaps some tcl config app is missing on your system?).

JDH

I believe the installation problem that Eric points must be a little more widespread than acknowledged here. I for one have to add the line he mentions to my setupext.py file each time I install matplotlib. The first time I had this problem I found the solution after googling around, so others have had this problem before.

More importantly, I am running matplotlib under SUSE 10.0, and all my libraries have been installed from the RPMs provided by Suse; ie, having tcl headers in "/usr/include/" mustn't be that unusual.

Antonio

John Hunter wrote:

···

    > Hi, please let me know if this remark is irrelevant: this is
    > the third email mentioning that I still have to add one line
    > in setupext.py in order for matplotlib to be installed
    > without crashing (see below). For some reason this 'bug'
    > (if it is one?) is present since many versions and has not
    > been solved for me although I have tried to send emails
    > regularly regarding this item. Please let me know if this is
    > normal or if it is just something not set up right for me.

    > ALSO: I posted a request for help on mplot3d twice, but got
    > no feedback. Any help is welcome!

mplot3 is not in any official matplotlib version -- it resides in svn and is awaiting integration. I took a stab at this after your last
email but ran into difficulties. Thus you should consider mplot3d
unsupported until we make a release that includes it.

    > thanks in advance, Eric

    > P.S.: here is what I have to do everytime I wish to install
    > a new version of matplotlib:

    > # add one line in setupext.py:

    > o.tcl_inc="/usr/include/"

The problem is that this fixes the bug for your system, but is not a
general solution. Other platforms will put their tcl/tk libs in a
different place. So we need a generic solution which will work across
platforms, which is why I haven't committed this. Granted
/usr/include is a standard location, and this would be a good fallback
to try if the current method fails (it fails for you and works for
most -- perhaps some tcl config app is missing on your system?).

JDH

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users