pango-1.4.0 - ottest - missing dependency in Makefile



Hi All!

When compiling pango-1.4.0, I found that ottest depends on glib, which is
not recognized in the relevant makefile.  The error is:

> make
/bin/bash ../../libtool --mode=link cc  -fast -xarch=v8plusa  -L/usr/local/lib 
-L/usr/sfw/lib -o ottest  ottest.o disasm.o libpango-ot.la -L/usr/local/lib 
-lfontconfig   -L/usr/sfw/lib -lfreetype -lz 
cc -fast -xarch=v8plusa -o ottest ottest.o disasm.o  -L/usr/local/lib 
-L/usr/sfw/lib ./.libs/libpango-ot.a /usr/local/lib/libfontconfig.so 
/usr/local/lib/libexpat.so /usr/sfw/lib/libfreetype.so -lz -R/usr/local/lib 
-R/usr/sfw/lib -R/usr/local/lib -R/usr/sfw/lib
Undefined                       first referenced
 symbol                             in file
g_string_insert_c                   ottest.o
ld: fatal: Symbol referencing errors. No output written to ottest
gmake: *** [ottest] Error 1


To resolve, I modified line 306 of pango/opentype/Makefile from
ottest_LDFLAGS =
to
ottest_LDFLAGS = -lglib-2.0

This solved the problem, the package now builds backends for FreeType X Xft.

For reference: I compile on Solaris 9 Sparc, using 
cc: Sun C 5.5 Patch 112760-10 2004/06/01

Thanks,
stefan
--
Stefan Hinker
Benchmark Center Germany        Tel: +49 6103 752-300
Sun Microsystems GmbH           Fax: +49 6103 752-299
Amperestr. 6                    stefan hinker germany sun com
D-63225 Langen                  http://www.sun.de/




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