[kaffe] Autoconf issues and temporary workarounds

Dalibor Topic robilad at kaffe.org
Thu Jul 15 08:51:48 PDT 2004


Well, I think I've nailed the autoconf problem down, which Riccardo has 
been facing.

When one runs make without the latest autotool, on a fresh checkout, it 
eventually aborts with:

gmake[2]: Entering directory `/var/tmp/topic/orig/trash/build/libltdl'
cd ../../kaffe/libltdl && /bin/sh 
/tmp/topic/orig/trash/kaffe/libltdl/missing --run autoconf
configure.ac:53: error: Autoconf version 2.58 or higher is required
aclocal.m4:529: AM_INIT_AUTOMAKE is expanded from...
configure.ac:53: the top level
gmake[2]: *** [../../kaffe/libltdl/configure] Error 1
gmake[2]: Leaving directory `/var/tmp/topic/orig/trash/build/libltdl'
gmake[1]: *** [kaffe-build-order] Error 2
gmake[1]: Leaving directory `/var/tmp/topic/orig/trash/build'
gmake: *** [all-recursive] Error 1

Using make -d, we get:

    Considering target file `config.status'.
      Considering target file `../../kaffe/libltdl/configure'.
        Pruning file `../../kaffe/libltdl/acinclude.m4'.
        Pruning file `../../kaffe/libltdl/configure.ac'.
        Pruning file `../../kaffe/libltdl/aclocal.m4'.
       Finished prerequisites of target file 
`../../kaffe/libltdl/configure'.
       Prerequisite `../../kaffe/libltdl/acinclude.m4' is older than 
target `../../kaffe/libltdl/configure'.
       Prerequisite `../../kaffe/libltdl/configure.ac' is older than 
target `../../kaffe/libltdl/configure'.
       Prerequisite `../../kaffe/libltdl/aclocal.m4' is newer than 
target `../../kaffe/libltdl/configure'.
      Must remake target `../../kaffe/libltdl/configure'.
gmake[2]: Entering directory `/var/tmp/topic/orig/trash/build/libltdl'
cd ../../kaffe/libltdl && /bin/sh 
/tmp/topic/orig/trash/kaffe/libltdl/missing --run autoconf
Putting child 0x08086aa8 (../../kaffe/libltdl/configure) PID 14873 on 
the chain.
Live child 0x08086aa8 (../../kaffe/libltdl/configure) PID 14873
configure.ac:53: error: Autoconf version 2.58 or higher is required
aclocal.m4:529: AM_INIT_AUTOMAKE is expanded from...
configure.ac:53: the top level

So the problem is that aclocal.m4 is younger than configure. You can see 
that too on the CVS page for kaffe's libltdl: 
http://www.kaffe.org/cgi-bin/viewcvs.cgi/kaffe/libltdl/

There is little one can do here, I fear, since we had to patch libtool 
1.5.6 for Riccardo anyway, according to 
http://www.kaffe.org/cgi-bin/viewcvs.cgi/kaffe/developers/patch-libtool-quote-sys_search_path.diff. 
  So it is a catch 22 situation.

I'll be putting up make dist tarballs for him on my account on kaffe.org 
so that he can use those on his boxes that are behind latest autotools. 
You can fetch the daily dist snaps at 
http://www.kaffe.org/~robilad/kaffe-1.1.x-cvs.tar.gz .

cheers,
dalibor topic




More information about the kaffe mailing list