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

2011-09-15 Thread falbriard

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
 74case x$x in
 75x--srcdir=*)
 76  abs_ft2_dir=`echo $x | sed 's/^--srcdir=//'` ;;
 77esac
 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
 Freetype-devel@nongnu.org
 https://lists.nongnu.org/mailman/listinfo/freetype-devel


 
 
 
 ___
 Freetype-devel mailing list
 Freetype-devel@nongnu.org
 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.


___
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel


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

2011-09-15 Thread suzuki toshiya

Hi,

Here is not appropriate forum, but I guess you've not installed
zlib (maybe your distribution will have zlib-devel package).

I don't know appropriate forum to ask which rpm is required to
calm unresolved compiler error?, I'm sorry.

Regards,
mpsuzuki

falbriard wrote (2011/09/16 1:05):
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
74case x$x in
75x--srcdir=*)
76  abs_ft2_dir=`echo $x | sed 's/^--srcdir=//'` ;;
77esac
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
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel




___
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel







___
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel


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

2011-09-15 Thread Werner LEMBERG

 cannot find -lz

This dependency is from FreeType itself.  Say

  ./configure --without-zlib

to use FreeType's LZW implementation.


Werner

___
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel


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

2011-09-15 Thread falbriard

Thanks Toshiya and Werner, as well as the Matplotlib 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

suzuki toshiya wrote:
 
 Hi,
 
 Have you checked docs/INSTALL.UNIX? If you got any error in
 the process described in there, please post in detail.
 I'm afraid that the subscriber of this list with the access
 to Linux/s390 is few, but I'm interested in.
 
 In addition, jam rules in freetype2 are designed to build the
 library but not to install the built binary.
 
 Regards,
 mpsuzuki
 
 falbriard 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). 
 Is there any further setup required to install package Freetype 2.4.6
 package under Linux 
 SUSE SLES 11 SP1 (s390)? No RPM is available for this version. 
 
 with make
 - 
 zbra:/opt/python/freetype2/freetype-2.4.6 # make install
 config.mk:25: builds/unix/unix-def.mk: No such file or directory
 config.mk:26: builds/unix/unix-cc.mk: No such file or directory
 make: *** No rule to make target `builds/unix/unix-cc.mk'.  Stop.
 
 
 with jam 
 
 zbra:/opt/python/freetype2/freetype-2.4.6 # jam
 ...found 468 target(s)...
 ...updating 43 target(s)...
 Cc objs/autofit.o
 Cc objs/ftbase.o
 Cc objs/ftbbox.o
 Cc objs/ftbdf.o
 Cc objs/ftbitmap.o
 Cc objs/ftdebug.o
 Cc objs/ftgasp.o
 Cc objs/ftglyph.o
 Cc objs/ftgxval.o
 Cc objs/ftinit.o
 Cc objs/ftlcdfil.o
 Cc objs/ftmm.o
 Cc objs/ftotval.o
 Cc objs/ftpfr.o
 Cc objs/ftstroke.o
 Cc objs/ftsynth.o
 Cc objs/ftsystem.o
 Cc objs/fttype1.o
 Cc objs/ftwinfnt.o
 Cc objs/ftxf86.o
 Cc objs/ftpatent.o
 Cc objs/bdf.o
 Cc objs/ftcache.o
 Cc objs/cff.o
 Cc objs/type1cid.o
 Cc objs/pcf.o
 Cc objs/ftbzip2.o
 Cc objs/ftgzip.o
 Cc objs/ftlzw.o
 Cc objs/pfr.o
 Cc objs/psaux.o
 Cc objs/pshinter.o
 Cc objs/psnames.o
 Cc objs/raster.o
 Cc objs/smooth.o
 Cc objs/sfnt.o
 Cc objs/truetype.o
 Cc objs/type1.o
 Cc objs/type42.o
 Cc objs/winfnt.o
 Archive objs/libfreetype.a
 ar: creating objs/libfreetype.a
 Ranlib objs/libfreetype.a
 Cc objs/apinames.o
 Link objs/apinames
 Chmod1 objs/apinames
 ...updated 43 target(s)...
 zbra:/opt/python/freetype2/freetype-2.4.6 # jam install
 don't know how to make install
 ...found 1 target(s)...
 ...can't find 1 target(s)...
 
 
 Thanks in advance for your feedback and support. 
 
 
 ___
 Freetype-devel mailing list
 Freetype-devel@nongnu.org
 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-tp32467141p32474916.html
Sent from the Freetype - Dev mailing list archive at Nabble.com.


___
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel


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

2011-09-14 Thread suzuki toshiya
Hi,

Have you checked docs/INSTALL.UNIX? If you got any error in
the process described in there, please post in detail.
I'm afraid that the subscriber of this list with the access
to Linux/s390 is few, but I'm interested in.

In addition, jam rules in freetype2 are designed to build the
library but not to install the built binary.

Regards,
mpsuzuki

falbriard 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). 
 Is there any further setup required to install package Freetype 2.4.6
 package under Linux 
 SUSE SLES 11 SP1 (s390)? No RPM is available for this version. 
 
 with make
 - 
 zbra:/opt/python/freetype2/freetype-2.4.6 # make install
 config.mk:25: builds/unix/unix-def.mk: No such file or directory
 config.mk:26: builds/unix/unix-cc.mk: No such file or directory
 make: *** No rule to make target `builds/unix/unix-cc.mk'.  Stop.
 
 
 with jam 
 
 zbra:/opt/python/freetype2/freetype-2.4.6 # jam
 ...found 468 target(s)...
 ...updating 43 target(s)...
 Cc objs/autofit.o
 Cc objs/ftbase.o
 Cc objs/ftbbox.o
 Cc objs/ftbdf.o
 Cc objs/ftbitmap.o
 Cc objs/ftdebug.o
 Cc objs/ftgasp.o
 Cc objs/ftglyph.o
 Cc objs/ftgxval.o
 Cc objs/ftinit.o
 Cc objs/ftlcdfil.o
 Cc objs/ftmm.o
 Cc objs/ftotval.o
 Cc objs/ftpfr.o
 Cc objs/ftstroke.o
 Cc objs/ftsynth.o
 Cc objs/ftsystem.o
 Cc objs/fttype1.o
 Cc objs/ftwinfnt.o
 Cc objs/ftxf86.o
 Cc objs/ftpatent.o
 Cc objs/bdf.o
 Cc objs/ftcache.o
 Cc objs/cff.o
 Cc objs/type1cid.o
 Cc objs/pcf.o
 Cc objs/ftbzip2.o
 Cc objs/ftgzip.o
 Cc objs/ftlzw.o
 Cc objs/pfr.o
 Cc objs/psaux.o
 Cc objs/pshinter.o
 Cc objs/psnames.o
 Cc objs/raster.o
 Cc objs/smooth.o
 Cc objs/sfnt.o
 Cc objs/truetype.o
 Cc objs/type1.o
 Cc objs/type42.o
 Cc objs/winfnt.o
 Archive objs/libfreetype.a
 ar: creating objs/libfreetype.a
 Ranlib objs/libfreetype.a
 Cc objs/apinames.o
 Link objs/apinames
 Chmod1 objs/apinames
 ...updated 43 target(s)...
 zbra:/opt/python/freetype2/freetype-2.4.6 # jam install
 don't know how to make install
 ...found 1 target(s)...
 ...can't find 1 target(s)...
 
 
 Thanks in advance for your feedback and support. 


___
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel