[Expat-bugs] Build errors

Philip Schneider philip at pixologic.com
Fri Mar 15 17:33:50 CET 2013


Greetings -

My apologies if this has already been covered, but I'm not quite sure if/how I can "grep" the archives to see if it has been…

Just downloaded the expat.tar.gz (onto Mac), and tried to start a build. From the results, it seems that the "./configure" scheme is a bit out of date? Here's what happens (the ">" signifies my bash prompt, the other text is the output to the shell)...

> ./buildconf.sh

Creating configure ...
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force 
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
aclocal: error: couldn't open directory 'm4': No such file or directory
autoreconf: aclocal failed with exit status: 1

Now, in the MANIFEST file, I see that there should be an m4 directory, with these contents:

m4/libtool.m4
m4/ltversion.m4
m4/ltoptions.m4
m4/ltsugar.m4
m4/lt~obsolete.m4

However, these files are not part of the download, nor can I find them on the expat source server (perhaps I just missed them?)

I can try to get around this by editing configure.in, and commenting out this line:

    AC_CONFIG_MACRO_DIR([m4])

I then re-run:

> ./buildconf.sh

This succeeds, or at least there are no errors. So then I try the next step:

< ./configure
configure: error: cannot find install-sh, install.sh, or shtool in conftools "."/conftools

I see that the conftools directory indeed has none of these. Again, they are listed in the MANIFEST, but are not part of the download, nor can I find them on the server:

conftools/PrintPath
conftools/ac_c_bigendian_cross.m4
conftools/expat.m4
conftools/get-version.sh
conftools/mkinstalldirs
conftools/config.guess
conftools/config.sub
conftools/install-sh
conftools/ltmain.sh

It does seem that the cmake build scheme works, so I can probably go with that. But, I'd prefer the "./configure" approach, as it's more consistent with the many other packages I use. I'm guessing these missing files once were part of the system. Any chance this can get resurrected? 

Thanks..

-- Philip

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.libexpat.org/pipermail/expat-bugs/attachments/20130315/15ccf106/attachment.html>


More information about the Expat-bugs mailing list