hi,
I am using garnome 0.16.2 and with this I have some
small build problems with dia cvs:
I configured with --enable-gnome --enable-debug.
first problem:
rm -fr .libs/libxslt_filter.la .libs/libxslt_filter.* .libs/libxslt_filter.*
(cd . && ln -s xslt.lo xslt.o)
(cd . && ln -s xsltdialog.lo xsltdialog.o)
gcc -shared xslt.lo xsltdialog.lo -ldl -lglib -lpng -lm -lz -Wl,-soname -Wl,libxslt_filter.so -o .libs/libxslt_filter.so
/usr/bin/ld: cannot find -lglib
collect2: ld returned 1 exit status
make[3]: *** [libxslt_filter.la] Error 1
make[3]: Leaving directory `/home/felix/src/dia/plug-ins/xslt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/felix/src/dia/plug-ins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/felix/src/dia'
make: *** [all] Error 2
=> replace -lglib with -lglib-2.0 in plug-ins/xslt/Makefile
gcc -I/home/felix/garnome/include/libxml2 -g -O2 [...]
/home/felix/garnome/lib/libpangoft2-1.0.so: undefined reference to `FT_Stream_GetShort'
/home/felix/garnome/lib/libpangoft2-1.0.so: undefined reference to `FT_Stream_ExitFrame'
/home/felix/garnome/lib/libpangoft2-1.0.so: undefined reference to `FT_Stream_GetLong'
/home/felix/garnome/lib/libpangoft2-1.0.so: undefined reference to `FT_Stream_Seek'
/home/felix/garnome/lib/libpangoft2-1.0.so: undefined reference to `FT_Stream_EnterFrame'
collect2: ld returned 1 exit status
make[2]: *** [dia] Error 1
make[2]: Leaving directory `/home/felix/src/dia/app'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/felix/src/dia'
make: *** [all] Error 2
I tried to add -lfreetype to $(CCLD) in app/Makefile which gets me one step
further but then it fails with the same undefined references:
/bin/sh ../libtool --mode=link gcc -lfreetype -I/home/felix/garnome/include/libxml2 -g -O2 [...]
gcc -I/home/felix/garnome/include/libxml2 -g -O2 [...]
/home/felix/garnome/lib/libpangoft2-1.0.so: undefined reference to `FT_Stream_GetShort'
/home/felix/garnome/lib/libpangoft2-1.0.so: undefined reference to `FT_Stream_ExitFrame'
/home/felix/garnome/lib/libpangoft2-1.0.so: undefined reference to `FT_Stream_GetLong'
/home/felix/garnome/lib/libpangoft2-1.0.so: undefined reference to `FT_Stream_Seek'
/home/felix/garnome/lib/libpangoft2-1.0.so: undefined reference to `FT_Stream_EnterFrame'
collect2: ld returned 1 exit status
make: *** [dia] Error 1
you can find the complete gcc/libtool command that fails here:
http://home.t-online.de/~fam.natter/dia.txt
thanks,
--
Felix Natter