From: Jonathan K. <jon...@si...> - 2007-06-26 09:41:05
|
On 26 Jun 2007, at 8:48 am, Martin Hosken wrote: > Dear Jonathan, >> Anyhow, here's what I tried: checked out trunk, and ran autoreconf, >> hoping this would work (I think it has in the past). Result: >> >> >>> $ autoreconf --install >>> grep: /usr/local/share/aclocal/libtool.m4: No such file or directory >>> libtoolize: warning: no serial number on `/usr/local/share/aclocal/ >>> libtool.m4' >>> > > Weird, since I see nothing about /usr/local/share/aclocal anywhere > in my > setup or anything. Sounds like a problem with your autoreconf. That's entirely possible! > >>> $ autoreconf --install >>> Putting files in AC_CONFIG_AUX_DIR, `config'. >>> Putting files in AC_CONFIG_AUX_DIR, `config'. >>> Makefile.am:7: variable `FT2_LIBS' not defined >>> Makefile.am:7: variable `GR2_LIBS' not defined >>> autoreconf: automake failed with exit status: 1 >>> >> >> These two variables occur in wrappers/freetype/Makefile.am, but it's >> not clear (to me) what I should do about them, or why the autostuff >> is wanting them to be defined. >> > > These come from pkgconfig. So if you have that installed then you > won't > have a problem. Oh, OK. Shouldn't something have told me this, if I was missing a required tool? > I think you can set the variables FT2_LIBS (to something > like -lfreetype -lz), FT2_CFLAGS (-I/usr/include/freetype2), How would I set these? I tried running autoreconf using $ FT2_LIBS="-lfreetype -lz" GR2_LIBS="-lgraphite" autoreconf -- force --install but got the same error messages that these two variables are not defined. Alternatively, suppose I don't have freetype installed; shouldn't it notice this and just skip that wrapper? Sorry, all this auto-stuff is pretty mysterious to me! JK |