automake & autoconf

Date view Thread view Subject view Author view

From: Parmelan, Edouard (EP510777@exchange.FRANCE.NCR.com)
Date: Fri Jan 08 1999 - 14:27:13 EST


Hi,

Some bad news with new automake/autoconf.

On my computer, the kaffe sources are in directory ~/gnu/kaffe
and I build in ~/gnu/kaffe-bin. With this configuration, cvs
update don't complain for some not ignored generated file and
I can create a clean tar-ball on Linux for the NCR MP-RAS server.

Before automake/autoconf, I run configure in ~/gnu/kaffe-bin with
the following command:
  CC='gcc -pipe -DDEBUG' ~/gnu/kaffe/configure

Then, I run make, kaffe is build.

With automake/autoconf, I got some troubles :(

  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

  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 read some Makefile.in and see that it is generated by
automake-1.3e.

  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
Note the --gnu option, AUTOMAKE_OPTIONS is not defined in some Makefile.am
to foreign :(

  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 :(

Now, with MP-RAS:
-----------------

I don't have automake nor autoconf installed.
I use the same directories ~/gnu/kaffe and ~/gnu/kaffe-bin.

- make said that automake and autoconf are missing and continue.
  OK

- 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...

  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

Summary:
--------

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 !

2. Why automake switch to --gnu in sub directories ?

3. Why gc-block.c is missing in kaffe/kaffevm ?

4. Why libtool don't want use libgmp.a for dynamic libmath on Linux ?

5. Why libtool don't use deplibs for MP-RAS ?
   [After 4 year with NCR France, I start a new job on February and
   will no longer work for NCR. After January 27, 1999, I could not
   made patch for NCR MP-RAS].

Edouard.

---
PS: This address will be invalidate on January 27, 1999


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:33 EDT