| Thread Previous • Date Previous • Date Next • Thread Next |
$ ls acinclude.m4 ChangeLog COPYING Makefile.am tests aclocal.m4 config.log COPYING.header NEWS upload-web.sh AUTHORS configure debian README www autom4te.cache configure.ac doc surlI replaced my aclocal.m4 with yours, but when I run autoreconf it replaces it with the old one. I also see that you have aclocal 1.11 and I have 1.9. Could that cause a problem? (I get the following warning:
aclocal.m4:16: warning: this file was generated for autoconf 2.64.You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.To do so, use the procedure documented by the package, typically `autoreconf'.)
I have autoconf 2.63. On 12/15/2009 05:32 PM, Scott Lawrence wrote:
Ah. You have a very small aclocal.m4. Mine's attached. Try it. On Tue, Dec 15, 2009 at 10:22, Ahmed Elmahdawy<aa_mahdawy@xxxxxxxxxxx> wrote:aclocal.m4 is attached. The output of `apt-get install autoconf automake autotools-dev libtool' is: Reading package lists... Done Building dependency tree Reading state information... Done autoconf is already the newest version. automake is already the newest version. automake set to manually installed. autotools-dev is already the newest version. libtool is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. On 12/15/2009 05:15 PM, Scott Lawrence wrote:Ok, it's not that. (I have "Linux ogodei 2.6.31-16-generic-pae #53-Ubuntu SMP Tue Dec 8 05:20:21 UTC 2009 i686 GNU/Linux" - note the time difference) apt-get install libtool says that it's installed? What's in your aclocal.m4? On Tue, Dec 15, 2009 at 10:05, Ahmed Elmahdawy<aa_mahdawy@xxxxxxxxxxx> wrote:Ubuntu Karmic. In case you need `uname -a' output, here is it: Linux propeng 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:01:29 UTC 2009 i686 GNU/Linux On 12/15/2009 05:01 PM, Scott Lawrence wrote:Then I'm quite stumped. You should have package autoconf, automake, autotools-dev, and libtool - I think that's all that's necessary. The correct output is below. What distro do you have? autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force acinclude.m4:1: warning: underquoted definition of AX_CHECK_XMLTO acinclude.m4:1: run info '(automake)Extending aclocal' acinclude.m4:1: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal autoreconf: configure.ac: tracing autoreconf: running: libtoolize --install --force libtoolize: putting auxiliary files in `.'. libtoolize: linking file `./config.guess' libtoolize: linking file `./config.sub' libtoolize: linking file `./install-sh' libtoolize: linking file `./ltmain.sh' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. acinclude.m4:1: warning: underquoted definition of AX_CHECK_XMLTO acinclude.m4:1: run info '(automake)Extending aclocal' acinclude.m4:1: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --force-missing configure.ac:6: installing `./missing' surl/Makefile.am: installing `./depcomp' Makefile.am: installing `./INSTALL' autoreconf: Leaving directory `.' On Tue, Dec 15, 2009 at 09:58, Ahmed Elmahdawy<aa_mahdawy@xxxxxxxxxxx> wrote:Yes (off-topic: my shortest email ever) On 12/15/2009 04:55 PM, Scott Lawrence wrote:do you have libtool installed? On Tue, Dec 15, 2009 at 09:52, Ahmed Elmahdawy<aa_mahdawy@xxxxxxxxxxx> wrote:Now I'm getting this error: autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force acinclude.m4:1: warning: underquoted definition of AX_CHECK_XMLTO run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/local/bin/autoconf --force configure.ac:22: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/local/bin/autoconf failed with exit status: 1 On 12/15/2009 04:45 PM, Scott Lawrence wrote:You need autotools installed, if you want to compile from the repo. The configure script was autogenerated, and it's evil to keep autogenerated stuffs in the repository, since it wreaks havoc if you forget to re-generate before a commits. Once you've install autotools, try autoreconf -vifs;./configure;make On Tue, Dec 15, 2009 at 05:19, Ahmed Elmahdawy<aa_mahdawy@xxxxxxxxxxx> wrote:I'm having trouble compiling libsurl since the removal of the 'configure' script. I used to run ./configure;make but now when I manually compile libsurl using GCC I get the following error: surl.c:8:20: error: config.h: No such file or directory surl.c: In function ‘libsurl_version’: surl.c:121: error: ‘PACKAGE_VERSION’ undeclared (first use in this function) surl.c:121: error: (Each undeclared identifier is reported only once surl.c:121: error: for each function it appears in.) surl.c: In function ‘libsurl_bugreport’: surl.c:125: error: ‘PACKAGE_BUGREPORT’ undeclared (first use in this function) surl.c: In function ‘libsurl_config_date’: surl.c:129: error: ‘CONFIG_DATE’ undeclared (first use in this function) Any idea on what could be causing the problem? Regards, Ahmed Elmahdawy _______________________________________________ Mailing list: https://launchpad.net/~libsurl Post to : libsurl@xxxxxxxxxxxxxxxxxxx Unsubscribe : https://launchpad.net/~libsurl More help : https://help.launchpad.net/ListHelp_______________________________________________ Mailing list: https://launchpad.net/~libsurl Post to : libsurl@xxxxxxxxxxxxxxxxxxx Unsubscribe : https://launchpad.net/~libsurl More help : https://help.launchpad.net/ListHelp
| Thread Previous • Date Previous • Date Next • Thread Next |