On Friday, 20 September '02, Felix Natter wrote: > 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
Wrong solution. The right place is plug-ins/xslt/Makefile.am, where the LDFLAGS (ought to be LDADD, but let's not change that at the same time) should contain $(FREETYPE_LIBS) $(GTK_LIBS) $(INTLLIBS). Then run autogen.sh again and you makefile should be better. [...] > 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: Which version of freetype do you have installed? Looks like it finds the freetype library, but there's a missing function. -Lars -- Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| H�rdgrim of Numenor "I do not agree with a word that you say, but I |---------------------------- will defend to the death your right to say it." | Where are we going, and --Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket? _______________________________________________ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://www.lysator.liu.se/~alla/dia/faq.html Main page at http://www.lysator.liu.se/~alla/dia
