Error: can't compile freetype (freetz-2.0)

nnppss

Neuer User
Mitglied seit
3 Jun 2013
Beiträge
2
Punkte für Reaktionen
0
Punkte
0
Hi

(apologies in advance for the english - your english is probably better than my german! :p )

I've checked out the latest source from http://svn.freetz.org/branches/freetz-stable-2.0/

I have been compiling successfully until recently. The issue I am now seeing is in freetype:
Code:
freetz-stable-2.0/source/target-mips_uClibc-0.9.32.1/freetype-2.4.10/src/gzip/ftgzip.c:50:18: fatal error: zlib.h: No such file or directory

The compile command is:
Code:
./builds/unix/libtool --mode=compile /home/nigel/freetz-stable-2.0/toolchain/build/mips_gcc-4.6.4_uClibc-0.9.32.1/mips-linux-uclibc/bin/mips-linux-uclibc-gcc -pedantic -ansi  -I/home/nigel/freetz-stable-2.0/source/target-mips_uClibc-0.9.32.1/freetype-2.4.10/objs -I./builds/unix -I/home/nigel/freetz-stable-2.0/source/target-mips_uClibc-0.9.32.1/freetype-2.4.10/include -c -Wall -march=24kc -Os -pipe -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFT_CONFIG_CONFIG_H="<ftconfig.h>" -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -o /home/nigel/freetz-stable-2.0/source/target-mips_uClibc-0.9.32.1/freetype-2.4.10/objs/ftgzip.lo /home/nigel/freetz-stable-2.0/source/target-mips_uClibc-0.9.32.1/freetype-2.4.10/src/gzip/ftgzip.c

I'm still working through how the make system hangs together - can someone point out to me what might be causing the issue?

Digging throught the make config, freetype has a zlib.h file in the src/gzip directory, but it looks like freetype is configured to use a "system" zlib library / header. The command line isn't referring to any include directory where the header is. It'd be great to know which make config file I should be changing.

TIA
Nigel
 
Hi,

should be fixed in trunk in r10844. Wait until it's merged into the 2.0-branch or apply the changes manually to your working copy.

Best,
Gene
 
Thanks Gene - that seems to have done the trick!
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.