Dear Len, On Mon, Feb 14, 2011 at 07:48:54PM -0500, Len Sorensen wrote: > Trying to compile elinks fails. This unfortunately happens both in > unstable, testing and stable (ouch). > > This is the error: > > [MAKE all] src/ecmascript/spidermonkey > make[4]: Entering directory > `/tmp/elinks-0.12~pre5/build-main/src/ecmascript/spidermonkey' > [CC] src/ecmascript/spidermonkey/document.o > [CC] src/ecmascript/spidermonkey/form.o > echo Did [CC] src/ecmascript/spidermonkey/heartbeat.o > e/tmp/elinks-0.12~pre5/src/ecmascript/spidermonkey/heartbeat.c:61:68: error: > macro "get_opt_int" passed 2 arguments, but takes just 1 > /tmp/elinks-0.12~pre5/src/ecmascript/spidermonkey/heartbeat.c: In function > ‘check_heartbeats’: > /tmp/elinks-0.12~pre5/src/ecmascript/spidermonkey/heartbeat.c:61: error: > ‘get_opt_int’ undeclared (first use in this function) > /tmp/elinks-0.12~pre5/src/ecmascript/spidermonkey/heartbeat.c:61: error: > (Each undeclared identifier is reported only once > /tmp/elinks-0.12~pre5/src/ecmascript/spidermonkey/heartbeat.c:61: error: for > each function it appears in.) > /tmp/elinks-0.12~pre5/src/ecmascript/spidermonkey/heartbeat.c:88:62: error: > macro "get_opt_int" passed 2 arguments, but takes just 1 > /tmp/elinks-0.12~pre5/src/ecmascript/spidermonkey/heartbeat.c: In function > ‘add_heartbeat’: > /tmp/elinks-0.12~pre5/src/ecmascript/spidermonkey/heartbeat.c:88: error: > ‘get_opt_int’ undeclared (first use in this function) > /tmp/elinks-0.12~pre5/src/ecmascript/spidermonkey/heartbeat.c: In function > ‘done_heartbeat’: > /tmp/elinks-0.12~pre5/src/ecmascript/spidermonkey/heartbeat.c:111: error: > expected declaration or statement at end of input > make[4]: *** [heartbeat.o] Error 1 > make[4]: Leaving directory > `/tmp/elinks-0.12~pre5/build-main/src/ecmascript/spidermonkey' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/tmp/elinks-0.12~pre5/build-main/src/ecmascript' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/tmp/elinks-0.12~pre5/build-main/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/tmp/elinks-0.12~pre5/build-main' > make: *** [build-arch-stamp] Error 2 > dpkg-buildpackage: error: debian/rules build gave error exit status 2 > Build command 'cd elinks-0.12~pre5 && dpkg-buildpackage -b -uc' failed. > E: Child process failed
Could you please let me know if autoconf/automake are installed in the build environment? In other words, what is the output of dpkg -l | grep autoconf dpkg -l | grep automake If you do, this is a known bug (see <URL:http://bugs.debian.org/592466>). Please then try to remove those packages and rebuild. I am able to build in a clean sid chroot. Thanks. Kumar -- Kumar Appaiah
signature.asc
Description: Digital signature