From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Sat Jan 09 1999 - 05:08:52 EST
On Jan 8, 1999, "Parmelan, Edouard" <EP510777@exchange.FRANCE.NCR.com> wrote:
> I run make in ~/gnu/kaffe-bin, as I have autoconf-2.12 and
> automake-1.3 installed, it rebuild ~/gnu/kaffe/Makefile.in :(
> FAIL: it require autoconf-2.12.2
Yep, you need a newer autoconf and automake.
> I install autoconf-2.13, remove ~/gnu/kaffe-bin, re run
> configure and make.
> FAIL: it use AC_PROG_INSTALL not AM_PROG_INSTALL :(
I don't understand. Which package reports this error?
> I read some Makefile.in and see that it is generated by
> automake-1.3e.
Yep, that's the current CVS version.
> I install automake-1.3d (can't found 1.3e), re remove kaffe-bin,
> re run configure and re run make. As before, it rebuild some
> Makefile.in in ~/gnu/kaffe/... and FAIL latter while rebuilding
> ~/gnu/kaffe/libraries/clib/awt/X with the command:
> cd /home/parmee/gnu/kaffe && automake --gnu libraries/clib/awt/X/Makefile
What is the exact reason automake claims for failure?
> Note the --gnu option, AUTOMAKE_OPTIONS is not defined in some Makefile.am
> to foreign :(
Yep, it should only matter for the top-level directory.
> I also have the following warning for clib/math:
> *** Warning: This library needs some functionality provided by -lgmp.
> *** I have the capability to make that library automatically link in when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
> Yes I know, gmp-2.0.2 only generate libgmp.a, but libtool MUST link
> with libgmp.a it's legal :(
It's not always legal to link a static library into a shared library.
It usually works if the library is position-independent, but most
static libraries aren't, so libtool stays on the safe side and doesn't
currently link a static library into a shared library on Linux. When
libtool decides it won't link a library into another library, it links
any program linked with the library with its dependencies too.
However, the inter-library dependency code was introduced quite
recently, and it hasn't been ported to all platforms, so we (libtool)
may be too much on the safe side. However, it should be quite easy to
port inter-library dependency code to other pltaforms, and we're just
waiting on feedback from people from the net.
> I don't have automake nor autoconf installed.
You should only need them if you modify any of the configure-related
files. However, if you do, they should be very up-to-date.
> - For libmath, it don't complain that libgpm is not dynamic ALSO, it
> build libmath-1.0b3.so without depend libs.
> Not good, I guest that kaffe will fail to use libmath as on MP-RAS,
> -lmw is need for -lm and it's a STATIC lib...
Kaffe is linked with such static libraries.
> I found that deplibs_check_method="none" in ~/gnu/kaffe-bin/libtool.
> - Later, make FAIL in ~/gnu/kaffe-bin/kaffe/kaffevm with make error:
> *** No rule to make targer `gc-block.c', needed by `gc-block.lo'. Stop
Fixed.
> 1. Why some Makefile.in are rebuild in ~/gnu/kaffe when I run make
> in ~/gnu/kaffe-bin ? I don't need that make change any thing in
> ~/gnu/kaffe !
Probably because they're updated in alphabetical order, so their
relative timestamps end up incorrect, so that they seem out of date.
> 2. Why automake switch to --gnu in sub directories ?
That's the default.
> 3. Why gc-block.c is missing in kaffe/kaffevm ?
It was removed, but I had failed to update Makefile.am
-- Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org} oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org} Universidade Estadual de Campinas, SP, Brasil
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:33 EDT