Hi,
I get this error (code from the git rep.) when I run autoreconf --install
Unable to build. Failing with error. [code]configure.ac:21: installing './install-sh' configure.ac:21: installing './missing' examples/Makefile.am: installing './depcomp' automake: warnings are treated as errors /usr/share/automake-1.12/am/ltlibrary.am: warning: 'libdivecomputer.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' src/Makefile.am:4: while processing Libtool library 'libdivecomputer.la'
It seems that this is due to automake > 1.12. However, I am unable to fix it since modifying configure.ac seems to do not affect autoreconf. (I precise I don't really know the autotools, maybe the fix is obvious).
Thank you in advance.
On 07/17/2012 10:17 PM, François Boulogne wrote:
I get this error (code from the git rep.) when I run autoreconf --install
Unable to build. Failing with error. [code]configure.ac:21: installing './install-sh' configure.ac:21: installing './missing' examples/Makefile.am: installing './depcomp' automake: warnings are treated as errors /usr/share/automake-1.12/am/ltlibrary.am: warning: 'libdivecomputer.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' src/Makefile.am:4: while processing Libtool library 'libdivecomputer.la'
It seems that this is due to automake > 1.12. However, I am unable to fix it since modifying configure.ac seems to do not affect autoreconf. (I precise I don't really know the autotools, maybe the fix is obvious).
Thank you in advance.
This has already been fixed on the stable 0.1 branch. I'll merge all the bugfixes into the master branch once I have finished some things I'm currently busy with. For the time being, you can simply backport the fix yourself. This should do the trick:
git cherry-pick 2f4a9abf8842de1d629cc74d67f9a804085e6baa
Jef
Le 17/07/2012 22:34, Jef Driesen a écrit :
On 07/17/2012 10:17 PM, François Boulogne wrote:
I get this error (code from the git rep.) when I run autoreconf --install
Unable to build. Failing with error. [code]configure.ac:21: installing './install-sh' configure.ac:21: installing './missing' examples/Makefile.am: installing './depcomp' automake: warnings are treated as errors /usr/share/automake-1.12/am/ltlibrary.am: warning: 'libdivecomputer.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' src/Makefile.am:4: while processing Libtool library 'libdivecomputer.la'
It seems that this is due to automake > 1.12. However, I am unable to fix it since modifying configure.ac seems to do not affect autoreconf. (I precise I don't really know the autotools, maybe the fix is obvious).
Thank you in advance.
This has already been fixed on the stable 0.1 branch. I'll merge all the bugfixes into the master branch once I have finished some things I'm currently busy with. For the time being, you can simply backport the fix yourself. This should do the trick:
git cherry-pick 2f4a9abf8842de1d629cc74d67f9a804085e6baa
Perfect. Thanks a lot for your quick answer.