On Tue, 2 Sep 2003 10:02:50 +0200 Andreas Schweitzer <Andreas.Schweitzer@hs.uni-hamburg.de> wrote:
Hi,
On these systems, after un-tarring the Dillo 0.7.3 source and applying the appropriate version of the patch, make would always fail at the same point:
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include -I/usr/local/include/libpng12 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -DXHTML_DTD_FRAMESET -DXHTML_DTD_TRANSITIONAL -D_REENTRANT -D_THREAD_SAFE -Wall -Waggregate-return -c `test -f 'http.c' || echo './'`http.c http.c: In function `Http_query': http.c:167: `VERSION' undeclared (first use in this function)
VERSION is declared in config.h which in turn is produced by the configure magic. I highly suspoect that something went wrong during configure time and config.h got garbeled. Maybe some time stamps while patching ? And some of the autotools tried to run although they shouldn't ?
These errors can be caused by mismatched autotools (when the one used to create the configure script does not match the installed version). You can try to run the autotools manually to recreate the files with your installed versions of the autotools: % aclocal % autoheader % autoconf % automake -a This should solve the problem. If you do not have these programs, you need to install them... I have seen this on an old RH6.2 box, running the autotools solved the problem. Cheers//Frank -- WWWWW ________________________ ## o o\ / Frank de Lange \ }# \| / +46-734352015 \ \ `--| _/ <Hacker for Hire> \ `---' \ +31-640037120 / \ frank@unternet.org / `------------------------' [ "Omnis enim res, quae dando non deficit, dum habetur et non datur, nondum habetur, quomodo habenda est." ]