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

Re: cvs build problems



Lars Clausen <lrclause@cs.uiuc.edu> writes:

> 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.

Thanks, the problem was that it used the freetype 2.1.3 headers along with the
2.0.9 libs (or vice versa).

FYI: on a debian woody system one solution is to remove
libfreetype6-dev (apt-get remove libfreetype6-dev).

-- 
Felix Natter




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK