Re: [Dillo-dev] cvs not compiling ?
Similar problem here. I just checked out, and I get hans@jorgen dillo$ pwd /home/hans/src/dillo hans@jorgen dillo$ ./configure --prefix=$HOME --disable-ipv6 [ .. no problem here, all libraries found etc .. ] config.status: executing default-1 commands hans@jorgen dillo$ make cd . && \ /bin/sh /home/hans/src/dillo/missing --run automake --gnu Makefile cd . && /bin/sh /home/hans/src/dillo/missing --run autoconf autoconf: Undefined macros: configure.in:153:AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile src/IO/Makefile]) configure.in:4:AC_CONFIG_SRCDIR([src/dillo.c]) WARNING: `autoconf' is missing on your system. You should only need it if you modified `configure.in'. You might want to install the `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. /bin/sh ./config.status --recheck running /bin/sh ./configure --prefix=/home/hans --disable-ipv6 --no-create --no-recursion creating cache ./config.cache ./configure: line 549: syntax error near unexpected token `src/dillo.c' ./configure: line 549: `AC_CONFIG_SRCDIR(src/dillo.c)' make: *** [config.status] Error 2 hans@jorgen dillo$ autoconf --version Autoconf version 2.13 hans@jorgen dillo$ m4 --version GNU m4 1.4 There must be something wrong with the configure script thinking there's no autoconf. And 'undefined macros' - is this an autoconf bug? Strangely, when I just dnl'ed the AC_CONFIG_FILES and AC_CONFIG_SRCDIR in configure.in, everything compiles ok and runs without problems. Jan On Jan 17 10:43:10, slymer@slymer.org wrote: : :I'm having trouble compiling from CVS. After I get all the files :updated, I do a ./configure, and after that a make. I get this: : :======================================= :[silviu@localhost dillo]$ make :cd . && \ : /bin/sh /home/silviu/Sources/dillo/missing --run automake :--gnu Makefile cd . && /bin/sh :/home/silviu/Sources/dillo/missing --run autoconf autoconf: :Undefined macros: configure.in:153:AC_CONFIG_FILES([Makefile :doc/Makefile src/Makefile src/IO/Makefile]) :configure.in:4:AC_CONFIG_SRCDIR([src/dillo.c]) WARNING: :`autoconf' is missing on your system. You should only need it :if you modified `configure.in'. You might want to :install the `Autoconf' and `GNU m4' packages. Grab them :from any GNU archive site. :/bin/sh ./config.status --recheck :running /bin/sh ./configure --no-create --no-recursion :creating cache ./config.cache :./configure: line 549: syntax error near unexpected token :`AC_CONFIG_SRCDIR(src/dillo.c)'./configure: line 549: :`AC_CONFIG_SRCDIR(src/dillo.c)' make: *** [config.status] Error :2 :====================================== : :What am I doing wrong ? : :-- :People tend to make rules for others and exceptions for :themselves. :Registered Linux user #298569 : :_______________________________________________ :Dillo-dev mailing list :Dillo-dev@lists.auriga.wearlab.de :http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev ----- End forwarded message -----
On Fri, 17 Jan 2003 10:33:50 +0100 Jan Stary <jsta6559@artax.karlin.mff.cuni.cz> wrote:
Similar problem here. I just checked out, and I get
hans@jorgen dillo$ pwd /home/hans/src/dillo hans@jorgen dillo$ ./configure --prefix=$HOME --disable-ipv6 [ .. no problem here, all libraries found etc .. ] config.status: executing default-1 commands
I looked at the old configure script, and a few others. The configure script from CVS does not check for aclocal, autoconf etc.. OTOH. what is the URL you have used to get the patch you meantioned in an earlier e-mail ? -- People tend to make rules for others and exceptions for themselves. Registered Linux user #298569
On Jan 17 18:43:24, slymer@slymer.org wrote: :On Fri, 17 Jan 2003 10:33:50 +0100 :Jan Stary <jsta6559@artax.karlin.mff.cuni.cz> wrote: : :> Similar problem here. I just checked out, and I get :> :> hans@jorgen dillo$ pwd :> /home/hans/src/dillo :> hans@jorgen dillo$ ./configure --prefix=$HOME --disable-ipv6 :> [ .. no problem here, all libraries found etc .. ] :> config.status: executing default-1 commands : :I looked at the old configure script, and a few others. The :configure script from CVS does not check for aclocal, autoconf :etc.. Yeah; it seems it only looks for *.h, -lib*, etc, and the check for aclocal & company is only done when you 'make' - it runs './missing', which tries to run aclocal, autoconf and automake. And in the case of autoconf, it fails (because of 'undefined macros' AC_CONFIG_FILES and AC_CONFIG_SRCDIR in configure.in) and says autoconf is not installed - at least that's what happens on my machine, which is Debian testing with autoconf 2.13 :OTOH. what is the URL you have used to get the patch you :meantioned in an earlier e-mail ? On the homepage, there is a link 'Links', which points to a page containing a link to 'Russian encoding patches' or something similar. On that site you can find the patches and the 070pre1 tarball. (Of course, adding an encoding is a general task, so it's doesn't only add Russian encoding, but many others). Jan : :-- :People tend to make rules for others and exceptions for :themselves. :Registered Linux user #298569 : :_______________________________________________ :Dillo-dev mailing list :Dillo-dev@lists.auriga.wearlab.de :http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev
On Fri, 17 Jan 2003 17:39:37 +0100 Jan Stary <jsta6559@artax.karlin.mff.cuni.cz> wrote:
On the homepage, there is a link 'Links', which points to a page containing a link to 'Russian encoding patches' or something similar. On that site you can find the patches and the 070pre1 tarball. (Of course, adding an encoding is a general task, so it's doesn't only add Russian encoding, but many others).
Seems it has been updated now. However it says there that the compilation is different, but does not say what one has to do to compile :/ -- People tend to make rules for others and exceptions for themselves. Registered Linux user #298569
On Fri, 17 Jan 2003 19:23:48 +0200 slymer@slymer.org wrote:
Seems it has been updated now. However it says there that the compilation is different, but does not say what one has to do to compile :/
Try to do compilation like this of the sources from the d070pre-v1.tgz file: aclocal autoconf ./configure configure chokes -- People tend to make rules for others and exceptions for themselves. Registered Linux user #298569
On Fri, 17 Jan 2003 10:33:50 +0100 Jan Stary <jsta6559@artax.karlin.mff.cuni.cz> wrote:
creating cache ./config.cache ./configure: line 549: syntax error near unexpected token `src/dillo.c'./configure: line 549: `AC_CONFIG_SRCDIR(src/dillo.c)' make: *** [config.status] Error 2
I have finally fixed the damn thing. The configure.in files was faulty. Here's what's fixed in the file: AC_INIT([src/dillo.c]) dnl AC_CONFIG_SRCDIR([src/dillo.c]) and <oneline> dnl AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile src/IO/Makefile]) </oneline> <oneline> AC_OUTPUT([Makefile doc/Makefile src/Makefile src/IO/Makefile]) </oneline> Happy compiling! But the question of "Who broke the configure.in file?!" still stands :> PS: if you are really picky, you could modify the AM_INIT_AUTOMAKE line to reflect the real version: AM_INIT_AUTOMAKE(dillo, 0.7.0-pre) -- People tend to make rules for others and exceptions for themselves. Registered Linux user #298569
participants (2)
-
Jan Stary
-
slymer@slymer.org