HughP / libkml

Automatically exported from code.google.com/p/libkml
0 stars 0 forks source link

libkml trunk fails build in OSX 10.7.5 #186

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download trunk
2. ./autogen.sh

What is the expected output? What do you see instead?

The expected output would be something succesful.

Platform is Darwin
glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
glibtoolize: copying file `config/ltmain.sh'
glibtoolize: putting macros in `m4'.
glibtoolize: copying file `m4/libtool.m4'
glibtoolize: copying file `m4/ltoptions.m4'
glibtoolize: copying file `m4/ltsugar.m4'
glibtoolize: copying file `m4/ltversion.m4'
glibtoolize: copying file `m4/lt~obsolete.m4'
glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
glibtoolize: rerunning glibtoolize, to keep the correct libtool macros in-tree.
automake: warnings are treated as errors
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: warning: 
'libcurlfetch.la': linking libtool libraries using a non-POSIX
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: archiver 
requires 'AM_PROG_AR' in 'configure.ac'
examples/hellonet/Makefile.am:15:   while processing Libtool library 
'libcurlfetch.la'
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: warning: 
'libhelloutil.la': linking libtool libraries using a non-POSIX
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: archiver 
requires 'AM_PROG_AR' in 'configure.ac'
examples/helloworld/Makefile.am:10:   while processing Libtool library 
'libhelloutil.la'
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: warning: 
'libkmlbase.la': linking libtool libraries using a non-POSIX
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: archiver 
requires 'AM_PROG_AR' in 'configure.ac'
src/kml/base/Makefile.am:14:   while processing Libtool library 'libkmlbase.la'
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: warning: 
'libkmlconvenience.la': linking libtool libraries using a non-POSIX
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: archiver 
requires 'AM_PROG_AR' in 'configure.ac'
src/kml/convenience/Makefile.am:15:   while processing Libtool library 
'libkmlconvenience.la'
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: warning: 
'libkmldom.la': linking libtool libraries using a non-POSIX
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: archiver 
requires 'AM_PROG_AR' in 'configure.ac'
src/kml/dom/Makefile.am:10:   while processing Libtool library 'libkmldom.la'
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: warning: 
'libkmlengine.la': linking libtool libraries using a non-POSIX
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: archiver 
requires 'AM_PROG_AR' in 'configure.ac'
src/kml/engine/Makefile.am:10:   while processing Libtool library 
'libkmlengine.la'
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: warning: 
'libkmlregionator.la': linking libtool libraries using a non-POSIX
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: archiver 
requires 'AM_PROG_AR' in 'configure.ac'
src/kml/regionator/Makefile.am:11:   while processing Libtool library 
'libkmlregionator.la'
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: warning: 
'libkmlxsd.la': linking libtool libraries using a non-POSIX
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: archiver 
requires 'AM_PROG_AR' in 'configure.ac'
src/kml/xsd/Makefile.am:10:   while processing Libtool library 'libkmlxsd.la'
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: warning: 
'libkmlbase_swig_java.la': linking libtool libraries using a non-POSIX
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: archiver 
requires 'AM_PROG_AR' in 'configure.ac'
src/swig/Makefile.am:15:   while processing Libtool library 
'libkmlbase_swig_java.la'
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: warning: 
'libkmlbase_swig_python.la': linking libtool libraries using a non-POSIX
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: archiver 
requires 'AM_PROG_AR' in 'configure.ac'
src/swig/Makefile.am:20:   while processing Libtool library 
'libkmlbase_swig_python.la'
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: warning: 
'libkmldom_swig_java.la': linking libtool libraries using a non-POSIX
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: archiver 
requires 'AM_PROG_AR' in 'configure.ac'
src/swig/Makefile.am:15:   while processing Libtool library 
'libkmldom_swig_java.la'
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: warning: 
'libkmldom_swig_python.la': linking libtool libraries using a non-POSIX
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: archiver 
requires 'AM_PROG_AR' in 'configure.ac'
src/swig/Makefile.am:20:   while processing Libtool library 
'libkmldom_swig_python.la'
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: warning: 
'libkmlengine_swig_java.la': linking libtool libraries using a non-POSIX
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: archiver 
requires 'AM_PROG_AR' in 'configure.ac'
src/swig/Makefile.am:15:   while processing Libtool library 
'libkmlengine_swig_java.la'
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: warning: 
'libkmlengine_swig_python.la': linking libtool libraries using a non-POSIX
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: archiver 
requires 'AM_PROG_AR' in 'configure.ac'
src/swig/Makefile.am:20:   while processing Libtool library 
'libkmlengine_swig_python.la'
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: warning: 
'libgtest.la': linking libtool libraries using a non-POSIX
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: archiver 
requires 'AM_PROG_AR' in 'configure.ac'
third_party/Makefile.am:9:   while processing Libtool library 'libgtest.la'
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: warning: 
'libgtest_main.la': linking libtool libraries using a non-POSIX
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: archiver 
requires 'AM_PROG_AR' in 'configure.ac'
third_party/Makefile.am:9:   while processing Libtool library 'libgtest_main.la'
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: warning: 
'libminizip.la': linking libtool libraries using a non-POSIX
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: archiver 
requires 'AM_PROG_AR' in 'configure.ac'
third_party/Makefile.am:8:   while processing Libtool library 'libminizip.la'
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: warning: 
'liburiparser.la': linking libtool libraries using a non-POSIX
/usr/local/Cellar/automake/1.12.4/share/automake-1.12/am/ltlibrary.am: archiver 
requires 'AM_PROG_AR' in 'configure.ac'
third_party/Makefile.am:8:   while processing Libtool library 'liburiparser.la'
autoreconf: automake failed with exit status: 1

What version of the product are you using? On what operating system?
OSX 10.7.5. Building Trunk

Did you run the unit test suite that comes with the project? Did all tests pass?
Could not get that far

Original issue reported on code.google.com by r...@burhum.com on 28 Oct 2012 at 8:41

GoogleCodeExporter commented 9 years ago
Figured out that it was an issue related to changes in autoconf. It seems to be 
a common issue in autoconf 1.12 (the version I have).  See the related 
discussion in the autoconf mailing list:

http://lists.gnu.org/archive/html/automake/2012-05/msg00015.html

I am attaching a fix that will work in the autoconf 1.12 as well as earlier 
versions (tested it in my OSX machine).

Original comment by r...@burhum.com on 29 Oct 2012 at 1:19

Attachments:

GoogleCodeExporter commented 9 years ago
I see this patch is included in the the one for bug #182 for which a CL is now 
up for internal review.

Original comment by fwarmerdam@gmail.com on 29 Jan 2013 at 10:18

GoogleCodeExporter commented 9 years ago
Issue 187 has been merged into this issue.

Original comment by fwarmerdam@gmail.com on 29 Jan 2013 at 10:19