[GRASS-dev] [GRASS GIS] #2916: configure bug (?): FORTIFY_SOURCE in CPPFLAGS breaks configure on Arch Linux

GRASS GIS trac at osgeo.org
Tue Feb 16 08:04:00 PST 2016


#2916: configure bug (?): FORTIFY_SOURCE in CPPFLAGS breaks configure on Arch
Linux
------------------------+-------------------------
  Reporter:  msieczka   |      Owner:  grass-dev@…
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:  7.0.4
 Component:  Compiling  |    Version:  7.0.3
Resolution:             |   Keywords:
       CPU:  All        |   Platform:  Linux
------------------------+-------------------------

Comment (by neteler):

 Replying to [comment:3 msieczka]:
 > Replying to [comment:2 neteler]:
 > > Replying to [ticket:2916 msieczka]:
 > > > gcc 5.3.0, make 4.1, autoconf 2.69
 > >
 > > You would need to use autoconf-2.13 if you want to regenerate the
 configure script. But I guess you don't do that anyway.
 >
 > I'd rather rely on an upstream-provided configure script, if possible.

 ?
 SVN-grass is upstream.

 > There is no CPP package as such on Arch Linux. cpp, gcc and g++
 executables come in a single GCC package here.

 I see.

 > It doesn't provide this `/lib/cpp' link.

 Seems to be a known issue in Archlinux, e.g.:
 https://bbs.archlinux.org/viewtopic.php?id=147199

 Suggestion: Try to set CPP, then configure (guessing here):

 {{{
 export CPP=/usr/bin/cpp
 configure ...
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2916#comment:6>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list