freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Freetype2 - Install issues under Linux SUSE SLES 11 SP1


From: falbriard
Subject: Re: [ft-devel] Freetype2 - Install issues under Linux SUSE SLES 11 SP1
Date: Thu, 15 Sep 2011 09:05:21 -0700 (PDT)

Hi Toshiya, 

 Thanks was a great hint. The freetype2 .tar.gz distribution worked fine and
no errors anymore at the configure. All worked perfectly. I succeeded to run
the three steps, apparently with no error messages, the:  "./configure"; the
"make" and the "make install". 

Not sure, if this is the right forum for it, but I decided to install the
freetype2 package, because its
a per-requisite for the Python matplotlib. The next command is the build of
matplolib which happens 
with the command:  

python setup.py build  

This command now walked one step further, now able to link the freetype2
libraries, but still 
throws an error at the g++ linker, which tells: 

cannot find -lz

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

Any idea what dependency is this? 

Regards,
Claude  


suzuki toshiya wrote:
> 
> Hi,
> 
> I think ".zip" file is designed for the systems using "\r\n"
> for line separator, like, Microsoft Windows, Microsoft DOS etc.
> Could you try ".tar.gz" source?
> 
> Regards,
> mpsuzuki
> 
> falbriard wrote (2011/09/15 22:18):
>> Thanks Werner and Toshiya for your quick reply. See below the error
>> message
>> from the configure shell that comes with the original .zip distribution: 
>> 
>> zbra:/opt/python/freetype2/freetype-2.4.6 # sh ./configure
>> : command not found5:
>> : command not found7:
>> '/configure: line 73: syntax error near unexpected token `do
>> '/configure: line 73: `  for x in "$@"; do
>> 
>> source: 
>> 72 if test $# -gt 0; then
>> 73  for x in "$@"; do
>> 74    case x"$x" in
>> 75    x--srcdir=*)
>> 76      abs_ft2_dir=`echo $x | sed 's/^--srcdir=//'` ;;
>> 77    esac
>> 78  done
>> 79 fi
>> 
>> 
>> This might me the cause of the problem, as the configure shell stops with
>> a
>> syntax error. 
>> 
>> Any insight or idea how to fix it is welcome. 
>> Regards,
>> Claude  
>> 
>> 
>> Werner LEMBERG wrote:
>>>
>>>> Having issues with compiling and installing the Freetype2 package.
>>>>
>>>>  Both commands, the "make" as well as the "jam install" are throwing
>>>> errors
>>>> (see details below).
>>> The standard incantation is
>>>
>>>   ./configure <your options>
>>>   make
>>>   sudo make install
>>>
>>> It looks like you've missed the configuring step.  Say `configure
>>> --help' to see possible options.
>>>
>>> The Jamfile is mainly intended for Windows; it doesn't have an
>>> `install' target, and you must move the created files manually.  [Jam
>>> support is not maintained, unfortunately.]
>>>
>>>
>>>     Werner
>>>
>>> _______________________________________________
>>> Freetype-devel mailing list
>>> address@hidden
>>> https://lists.nongnu.org/mailman/listinfo/freetype-devel
>>>
>>>
>> 
> 
> 
> _______________________________________________
> Freetype-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/freetype-devel
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Freetype2---Install-issues-under-Linux-SUSE-SLES-11-SP1-tp32467141p32472850.html
Sent from the Freetype - Dev mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]