Compiling expat on AIX PowerPC

Fred L. Drake, Jr. fdrake@acm.org
Mon Oct 1 13:22:06 2001


michael.maggio@effem.com writes:
 > I had a few problems compiling Expat 1.95.2 on AIX 4.3 (PowerPC
 > platform) with the xlC compiler and other assorted non-GNU
 > tools.  The first problem was that configure was unable to identify
 > the endian-ness of the machine.  Each time I ran configure, it
 > would complain that the byte order was "unknown".  I took a

  Thanks for reporting this!  I've added the "-c" option to the
command line for that compile and forwarded the bug report to the
original author of the autoconf macro that generates that portion of
the configure script.

 > After configure ran successfully, I then ran "make", which exited
 > saying that "default" was up-to-date, which it was not.  Ditto for
 > "make all".  It looks like it's not descending to the
 > subdirectories.  I'm not as fluent in make, so I wasn't sure how
 > fix the script, but manually running make for each subdirectory,
 > then running "make install" in the root had the desired effect.

  We've seen this for Sun's make as well; it should work with GNU make
if you have that available.  The catch seems to be that not all makes
treat targets that happen to be directories the same way, even if they
are declared .PHONY (which I interpret as .PHONY not being portable,
since its not documented at least for Sun's make).
  I've modified the build control to avoid the use of directory names
as target names; this *should* fix the problem, but I don't have an
environment in which to test this.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation