Huh. I reloaded a clean directory of Freeciv2_3. Tried autogen.h, blows up at aclocal step with

aclocal: macro `_LT_DECL_SED' required but not defined
aclocal: macro `_LT_FUNC_STRIPNAME_CNF' required but not defined
aclocal failed - check that all needed development files are present on system

Swell. My old directory with 2.3 tree builds just fine.

Just Swell.

Can I get a ticket home now? Why does this have to be so fricking arcane and non repeatable?


Oh, looking at the M4 directory, I see I have some entries there that aren't there in the clean tree:

  • libtool.m4
  • ltoptions.m4
  • ltsugar.m4

Ok copied those over... negative result. But the prefixes of the error suggest it is some sort of libtool initialization that was not performed. But why isn't this common across projects. Some crap is in this tree that should be in a common directory. Beats me what it is, but that may be the culprit.

Negative- I made a copy of the old tree and then pasted the clean copy of the sources over it. So the missing "extra files should be there, right? Wrong- same error.

Did I hack an .am file to get the old tree to work? I don't recall doing that...

Nope. Here it is. It was that Gentoo hack like in autogen.h that will foul everybody up.

# This is a kludge to make Gentoo behave and select the 
# correct version of automake to use.

If you comment out those two lines, it will pick up the latest automake. If it picks up 1.8, it will break with the above complaints.