Re: build system plan


Subject: Re: build system plan
From: Hubert Figuiere (hfiguiere@teaser.fr)
Date: Mon Oct 15 2001 - 04:27:00 CDT


According to F J Franklin <F.J.Franklin@sheffield.ac.uk>:
> I had a patch all ready for this but there has been so much activity in
> the past couple of days that I'm reluctant to try it.
>
> Anyway, I only have automake-1.5 on my Mac so I ran into the dependency
> problem. Does anyone have a fix for this? The only solution I've come up
> with is to omit dependency tracking altogether, i.e., by adding
> --ignore-deps to the automake line in autogen.sh - but this may not be to
> everyone's taste...
>
> BTW, MacOSX.1's /bin/sh seems to have problems with automake. I've been
> using bash to get around this.
>
> Finally, the GNUmakefile.am in abi/src/ev abi/src/xap etc. use the
> following technique:
>
> noinst_LIBRARIES= libEv.a
>
> if WITH_GNOME
> libEv.a: $(ABI_GNOME_OBJECTS)
> rm -f libEv.a
> ar cru libEv.a $(ABI_GNOME_OBJECTS)
> ranlib libEv.a
> else
> libEv.a: $(ABI_OBJECTS)
> rm -f libEv.a
> ar cru libEv.a $(ABI_OBJECTS)
> ranlib libEv.a
> endif
>
> which doesn't work with automake-1.5 (in fact, I'm a little suprised it
> ever worked). The proper way - I think - is
>
> noinst_LIBRARIES= libEv.a
>
> if WITH_GNOME
> objects = $(ABI_GNOME_OBJECTS)
> else
> objects = $(ABI_OBJECTS)
> endif
>
> libEv_a_SOURCES =
>
> libEv_a_LIBADD = $(objects)
>
> Works for me, anyway.
>
> Has anyone any objections to me implementing these changes?

I tried to look at this but I found no documentation of the 1.5 release
notes for automake. I have been told that backward compatibilty was not in
the goal of the 1.5 release. In short, I'm stuck.

So if someone have any idea on what the hell is going, I'll be happy. I'll
look at the changes above on my home machine because I can have automake 1.5
installed easily. BTW, what you have above seems to be consistent and that
may be the problem. If it works, I'll commit it.

Other than that, I think the requirement is automake 1.4 and not above.
Debian sid users only need to downgrade to the stable version (apt-get
install automake/stable)

Hub



This archive was generated by hypermail 2b25 : Mon Oct 15 2001 - 04:25:20 CDT