Hi On Thu, Feb 4, 2010 at 2:17 AM, Marc Kleine-Budde <[email protected]> wrote: > Hello, > > Gaye Abdoulaye Walsimou wrote: >>> Ping, please choose: >> >> [*] I'm interested in autoconf/automake patches >> [ ] I hate autotools, cmake is better >> [ ] I'm not interested at all > > Yesterday I started to autotoolize the latest ltrace.git
Thanks for your work on this! I think it might be interesting to try to merge a bunch of the changes floating around the mailing list the last few months (insert more noise about my libdl branch here) to make it easier for Juan to merge to master when he has the time. > It's in the "dev/autotools" branch in my tree: > git://git.pengutronix.de/git/mkl/ltrace.git dev/autotools > http://git.pengutronix.de/?p=mkl/ltrace.git;a=shortlog;h=refs/heads/dev/autotools > > It compiles and works natively on powerpc, i386 and x86_64. Cross > compilation has been tested from x86_64 to arm and powerpc. > > It passes "make distcheck", this means it can create ready-to-compile > tarballs. > > For those who want to test, checkout the dev/autotools branch from my > tree, then the usual: > > ./autogen && ./configure && make && make install I on an amd64 Debian Lenny box and I got the following output: [...@sloth:/home/joe/code/ltrace]% ./autogen.sh ---------- autoreconf ---------- configure.ac:3: error: Autoconf version 2.65 or higher is required configure.ac:3: the top level autom4te: /usr/bin/m4 failed with exit status: 63 aclocal: autom4te failed with exit status: 63 autoreconf: aclocal failed with exit status: 63 My autoconf version is 2.61. I changed configure.ac manually just to see what would happen (probably a bad idea!) and set the version to 2.61. It failed with the following errors: [...@sloth:/home/joe/code/ltrace]% ./autogen.sh ---------- autoreconf ---------- configure.ac:32: warning: The macro `AC_FOREACH' is obsolete. configure.ac:32: You should run autoupdate. ../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... aclocal.m4:830: _AM_SET_OPTIONS is expanded from... aclocal.m4:556: AM_INIT_AUTOMAKE is expanded from... configure.ac:32: the top level autoreconf: cannot create config/autoconf: No such file or directory configure.ac:32: warning: The macro `AC_FOREACH' is obsolete. configure.ac:32: You should run autoupdate. ../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... aclocal.m4:830: _AM_SET_OPTIONS is expanded from... aclocal.m4:556: AM_INIT_AUTOMAKE is expanded from... configure.ac:32: the top level configure.ac:9: required directory ./config/autoconf does not exist configure.ac:10: installing `config/autoconf/config.guess'; error while making link: No such file or directory configure.ac:10: installing `config/autoconf/config.sub'; error while making link: No such file or directory configure.ac:32: installing `config/autoconf/install-sh'; error while making link: No such file or directory configure.ac:32: installing `config/autoconf/missing'; error while making link: No such file or directory sysdeps/linux-gnu/Makefile.am:16: Libtool library used but `LIBTOOL' is undefined sysdeps/linux-gnu/Makefile.am:16: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' sysdeps/linux-gnu/Makefile.am:16: to `configure.ac' and run `aclocal' and `autoconf' again. sysdeps/linux-gnu/Makefile.am:16: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure sysdeps/linux-gnu/Makefile.am:16: its definition is in aclocal's search path. sysdeps/linux-gnu/Makefile.am: installing `config/autoconf/depcomp'; error while making link: No such file or directory sysdeps/linux-gnu/alpha/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined sysdeps/linux-gnu/alpha/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' sysdeps/linux-gnu/alpha/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again. sysdeps/linux-gnu/alpha/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure sysdeps/linux-gnu/alpha/Makefile.am:1: its definition is in aclocal's search path. sysdeps/linux-gnu/arm/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined sysdeps/linux-gnu/arm/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' sysdeps/linux-gnu/arm/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again. sysdeps/linux-gnu/arm/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure sysdeps/linux-gnu/arm/Makefile.am:1: its definition is in aclocal's search path. sysdeps/linux-gnu/i386/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined sysdeps/linux-gnu/i386/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' sysdeps/linux-gnu/i386/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again. sysdeps/linux-gnu/i386/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure sysdeps/linux-gnu/i386/Makefile.am:1: its definition is in aclocal's search path. sysdeps/linux-gnu/ia64/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined sysdeps/linux-gnu/ia64/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' sysdeps/linux-gnu/ia64/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again. sysdeps/linux-gnu/ia64/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure sysdeps/linux-gnu/ia64/Makefile.am:1: its definition is in aclocal's search path. sysdeps/linux-gnu/m68k/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined sysdeps/linux-gnu/m68k/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' sysdeps/linux-gnu/m68k/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again. sysdeps/linux-gnu/m68k/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure sysdeps/linux-gnu/m68k/Makefile.am:1: its definition is in aclocal's search path. sysdeps/linux-gnu/mipsel/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined sysdeps/linux-gnu/mipsel/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' sysdeps/linux-gnu/mipsel/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again. sysdeps/linux-gnu/mipsel/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure sysdeps/linux-gnu/mipsel/Makefile.am:1: its definition is in aclocal's search path. sysdeps/linux-gnu/ppc/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined sysdeps/linux-gnu/ppc/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' sysdeps/linux-gnu/ppc/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again. sysdeps/linux-gnu/ppc/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure sysdeps/linux-gnu/ppc/Makefile.am:1: its definition is in aclocal's search path. sysdeps/linux-gnu/s390/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined sysdeps/linux-gnu/s390/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' sysdeps/linux-gnu/s390/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again. sysdeps/linux-gnu/s390/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure sysdeps/linux-gnu/s390/Makefile.am:1: its definition is in aclocal's search path. sysdeps/linux-gnu/sparc/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined sysdeps/linux-gnu/sparc/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' sysdeps/linux-gnu/sparc/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again. sysdeps/linux-gnu/sparc/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure sysdeps/linux-gnu/sparc/Makefile.am:1: its definition is in aclocal's search path. sysdeps/linux-gnu/x86_64/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined sysdeps/linux-gnu/x86_64/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' sysdeps/linux-gnu/x86_64/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again. sysdeps/linux-gnu/x86_64/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure sysdeps/linux-gnu/x86_64/Makefile.am:1: its definition is in aclocal's search path. Makefile.am:8: Libtool library used but `LIBTOOL' is undefined Makefile.am:8: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' Makefile.am:8: to `configure.ac' and run `aclocal' and `autoconf' again. Makefile.am:8: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure Makefile.am:8: its definition is in aclocal's search path. autoreconf: automake failed with exit status: 1 Let me know if you'd like me to try anything else. Thanks, Joe _______________________________________________ Ltrace-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/ltrace-devel
