>>>>> "Darrell" == Darrell Silver <da...@cl...> writes:
Darrell> Hi, first time user, first time installer...
Darrell> Is there a howto for matplotlib installation on redhat
Darrell> 7.3/as2.1 & as3.0?
Darrell> I'm trying to install matplotlib on these platforms and
Darrell> am running into a seemingly endless list of dependancies
Darrell> for python2.2, numarray:
Darrell> just on the 7.3 side, - freetype >= 2.1.7 is needed, but
Darrell> rh has 2.0.9-2. - pygtk >= 1.99.16 needed, rh has
Darrell> 1.99.8-7. - pygtk 2.2.0 needs glib >= 2.2.0, redhat has
Darrell> 1.2.10-5, - pygtk 1.99.16 compiles, but I get error
Darrell> "ImportError: /usr/lib/libpangoxft-1.0.so.0 undefinded
Darrell> symbol: FT_Seek_Stream", which I haven't tracked down
Darrell> just yet... - the line "inf = infty = Infinity =
Darrell> _ieee.inf" in na_imports.py fails to find 'inf' in
Darrell> '_ieee', but commenting it out works fine. - While the
Darrell> install webpage says I only need freetype,libpng,zlib to
Darrell> compile, I get runtime complaints on import of
Darrell> matplotlib.matlab * (running simple_plot.py) about
Darrell> missing image libraries if I don't turn the BUILD_IMAGE
Darrell> flag on.
I have compiled matplotlib on 7.3 but it's been a while. Rather than
upgrading to the latest pygtk, which will require a major upgrade of
all your gtk libs and their dependencies, try getting pygtk-1.99.16.
Since you already have pygtk-1.99.x, I think you should be able to
compile this. And install freetype 2.1.7 or later, and numarray 1.1
or later, and try again. With luck, with these packages you'll
get much farther.
I suggest you try to compile pygtk with --enable-thread and
--enable-numpy
When building matplotlib, set the following in setup.py
BUILD_IMAGE = 1
BUILD_AGG = 1
BUILD_GTKAGG = 1
BUILD_TKAGG = 0
BUILD_WINDOWING = 0
If you can't build, please post the build output to the list and we'll
take it from there.
Good luck!
JDH
Darrell> This is all way too difficult me as I'm not looking
Darrell> forward to upgrading so many packages across our
Darrell> production machines...am I missing something obvious?
Darrell> Perhaps an older version of matplotlib known to work on
Darrell> this redhat? I'm just using it for simple time-series
Darrell> plots, real-time and to some file (png, gif, ps, pdf...).
Darrell> thanks in advance for any help,
Darrell> Darrell
Darrell> -------------------------------------------------------
Darrell> SF email is sponsored by - The IT Product Guide Read
Darrell> honest & candid reviews on hundreds of IT Products from
Darrell> real users. Discover which products truly live up to the
Darrell> hype. Start reading
Darrell> now. http://productguide.itmanagersjournal.com/
Darrell> _______________________________________________
Darrell> Matplotlib-users mailing list
Darrell> Mat...@li...
Darrell> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
|