Re: Help with dh_autoreconf
* Ross Gammon <rossgammon@mail.dk>, 2014-09-20, 21:08:
git://anonscm.debian.org/pkg-grass/geographiclib.git
The previous version (1.35) built fine with dh-autoreconf, but the new
version I am packaging (1.37) does not, but it builds fine with
autotools-dev.
This seems to be the problem area (full buildlog attached in case I am
wrong):
configure:15391: g++ -c -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -D_FORTIFY_SOURCE=2 conftest.cpp >&5
configure:15391: $? = 0
configure:15409: g++ -c -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -D_FORTIFY_SOURCE=2 conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:34:8: error: 'big' was not declared in this scope
not big endian
^
configure:15409: $? = 1
configure: failed program was:
| /* confdefs.h */
Nope, this is red herring. The actual problem is:
./configure: line 15557: syntax error near unexpected token `-std=c++0x,'
./configure: line 15557: `AX_CHECK_COMPILE_FLAG(-std=c++0x, CXXFLAGS="$CXXFLAGS -std=c++0x")'
Perhaps build-dependency on autoconf-archive is missing?
--
Jakub Wilk
Reply to: