Hi,

On SUSE you have "zypper"

I'm not familiar with SUSE repos, but OpenSUSE repos do have
matplotlib, just type:

"sudo zypper in python-matplolib"

that should install it for you.

-Filipe



On Thu, Sep 15, 2011 at 14:22, 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?
>
> ------------------------------------------------------------------------------
> 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
>

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