On Thu, 2007-09-06 at 15:08 +0200, Enrico Forestieri wrote: > On Thu, Sep 06, 2007 at 09:40:15PM +1000, Darren Freeman wrote: > > > On Thu, 2007-09-06 at 04:45 +0200, Enrico Forestieri wrote: > > > Please, try the attached patch. > > > > BTW I am using autoconf-2.60-21 and automake-1.9.6-35. > > > > The attachment shows the rejected change from your patch, because the > > relevant target wasn't there to patch. > > If you don't have src/client/Makefile.am, then your tree is messed up.
Sorry, it was the way I was applying the patch. I have been getting away with "patch <file.diff" and entering the filenames manually. However in that one case, it decided to use the Makefile.am in a higher directory than the one it should have, hence not finding the section to modify. See below, but it failed again. Have fun, Darren --------8<--------8<--------8<--------8<--------8<-------- Making all in client make[3]: Entering directory `/home/dfreeman/lyx-devel/src/client' make all-am make[4]: Entering directory `/home/dfreeman/lyx-devel/src/client' /bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O -o lyxclient boost.o client.o debug.o gettext.o Messages.o ../../src/support/libsupport.la ../../boost/libs/regex/src/libboost_regex.la ../../boost/libs/filesystem/src/libboost_filesystem.la -laspell -lSM -lICE -lm -lz -lX11 g++ -g -O -o lyxclient boost.o client.o debug.o gettext.o Messages.o ../../src/support/.libs/libsupport.a -L/usr/src/packages/BUILD/qt-x11-opensource-src-4.2.1/lib /usr/lib/libQtCore.so -L/usr/lib -lpthread ../../boost/libs/regex/src/.libs/libboost_regex.a ../../boost/libs/filesystem/src/.libs/libboost_filesystem.a /usr/lib/libaspell.so /usr/lib/libSM.so -lICE -lm -lz /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl ../../src/support/.libs/libsupport.a(os.o): In function `lyx::support::os::restoreFontResources()': /home/dfreeman/lyx-devel/src/support/os_unix.cpp:245: undefined reference to `FcConfigAppFontClear' ../../src/support/.libs/libsupport.a(os.o): In function `lyx::support::os::addFontResources()': /home/dfreeman/lyx-devel/src/support/os_unix.cpp:236: undefined reference to `FcConfigAppFontAddDir' collect2: ld returned 1 exit status make[4]: *** [lyxclient] Error 1 make[4]: Leaving directory `/home/dfreeman/lyx-devel/src/client' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/dfreeman/lyx-devel/src/client' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/dfreeman/lyx-devel/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/dfreeman/lyx-devel/src' make: *** [all-recursive] Error 1