[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Devel] A problem to compile freetype-2.1.4rc2
From: |
address@hidden |
Subject: |
[Devel] A problem to compile freetype-2.1.4rc2 |
Date: |
Mon, 24 Mar 2003 23:37:28 +0100 |
Hi,
I have just finished compilation of freetype-2.1.4rc2, but that was not very
simple.
Indeed, I use a distribution linux 2.0.38 with a zlib installed under a
nonofficial
tree structure Unix ( /mnt/part1/lib/zlib/include and /lib).
I have use a little shell script for to configure the compilation :
<c.sh>
#!/bin/sh
CPPFLAGS="-I/mnt/part1/lib/zlib/include"
LDFLAGS="-L/mnt/part1/lib/zlib/lib"
export CPPFLAGS
export LDFLAGS
./configure --prefix=/mnt/part1/lib/freetype/freetype-2.1.4rc2 --with-gnu-ld
----------------------------
Configure procedure works fine, with no problems but when i launch make it
fails with :
.....
gcc -pedantic -ansi -I/mnt/part1/lib/src/freetype/freetype-2.1.4rc2/objs
-I/mnt/part1/lib/src/freetype/freetype-2.1.4rc2/builds/unix
-I/mnt/part1/lib/src/freetype/freetype-2.1.4rc2/include -c -Wall -g -O2
-DFT_CONFIG_OPTION_SYSTEM_ZLIB
/mnt/part1/lib/src/freetype/freetype-2.1.4rc2/src/gzip/ftgzip.c -fPIC -DPIC -o
/mnt/part1/lib/src/freetype/freetype-2.1.4rc2/objs/.libs/ftgzip.lo
/mnt/part1/lib/src/freetype/freetype-2.1.4rc2/src/gzip/ftgzip.c:32: zlib.h: No
such
file or directory
make: *** [/mnt/part1/lib/src/freetype/freetype-2.1.4rc2/objs/ftgzip.lo] Erreur
1
-----------------------------
I have try to do the make in shell script to profit of my $CPPFLAGS but i have
the same
problem.
I found a reference of my zlib in unix-cc.mk:LDFLAGS :=
-L/mnt/part1/lib/zlib/lib -lz
But nowhere a reference for my zlib include in mk files.
-----------------------------
I circumvented the problem with to add CC variable in my shell script with
CC="gcc -I/mnt/part1/lib/zlib/include"
export CC
Then the configuration, compilation and the installation proceed without
problems.
Perhaps a little problem in your compilation/installation procedure with libs
which
aren't installed on conventional tree structure.
cdlt
victor
------------------------------------------
Faites un voeu et puis Voila ! www.voila.fr
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Devel] A problem to compile freetype-2.1.4rc2,
address@hidden <=