Thanks friends from the Matplotlib and Freetype forum, 

=)

 I've succeeded to compile all per-requisites from the source and executed
the python build and install successfully under the SUSE Linux.  I've
already executed a few sample cases with a Agg .png render, its working
perfectly under the s390 mainframe.  

In summary:  Overall, all great support from the community, thanks. 
Claude



Benjamin Root-2 wrote:
> 
> On Thu, Sep 15, 2011 at 1:22 PM, John Hunter <jdh2...@gmail.com> wrote:
> 
>> On Thu, Sep 15, 2011 at 11:42 AM, falbriard <clau...@br.ibm.com> wrote:
>> >
>> > Thanks Michael for your quick reply. I will consider use of the yum
>> tool
>> to
>> > install the per-requisite and future updates.
>> >
>> >  Meanwhile I got a step forwards with help of the freetype developer
>> forum
>> > and I succeeded to build the freetype2 from the source. So I've also
>> > repeated the "python setup.py build"  which gave me a new error message
>> > "cannot find -lz "  . See the linker command below:
>> >
>> > g++ -pthread -shared build/temp.linux-s390x-2.6/src/ft2font.o
>> > build/temp.linux-s390x-2.6/src/mplutils.o
>> > build/temp.linux-s390x-2.6/CXX/IndirectPythonInterface.o
>> > build/temp.linux-s390x-2.6/CXX/cxx_extensions.o
>> > build/temp.linux-s390x-2.6/CXX/cxxsupport.o
>> > build/temp.linux-s390x-2.6/CXX/cxxextensions.o -L/usr/local/lib
>> > -L/usr/local/lib -L/usr/lib -L/usr/local/lib64 -L/usr/lib64
>> -L/usr/lib64
>> > -lfreetype -lz -lstdc++ -lm -lpython2.6 -o
>> > build/lib.linux-s390x-2.6/matplotlib/ft2font.so
>> >
>> /usr/lib64/gcc/s390x-suse-linux/4.3/../../../../s390x-suse-linux/bin/ld:
>> > cannot find -lz
>>
>>
>> That error means mpl could not find libz, which probably means you
>> don't have libpng installed either.  mpl has a fair number of
>> dependencies.  See
>>
>> http://matplotlib.sourceforge.net/users/installing.html#build-requirements
>>
>> On debian systems, there is a brilliant command
>>
>> apt-get build-dep python-matplotlib
>>
>> which will install everything you need to build mpl from source.
>> SUSE is RPM based: is there anything equivalent in rpm yum land?
>>
>>
> Yes, and it has been included in the docs for the v1.1.0 release.
> 
> You will need to install whatever package that would contain the program
> 'yum-builddep' and use the command:
> 
> yum-builddep python-matplotlib
> 
> I hope that helps!
> Ben Root
> 
> ------------------------------------------------------------------------------
> Doing More with Less: The Next Generation Virtual Desktop 
> What are the key obstacles that have prevented many mid-market businesses
> from deploying virtual desktops?   How do next-generation virtual desktops
> provide companies an easier-to-deploy, easier-to-manage and more
> affordable
> virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Problems-installing-Matplotlib-under-SUSE-SLES-11-SP1-tp32468310p32474894.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to