[GRASS-dev] FORTIFY_SOURCE=2 brakes congigure

Maciej Sieczka msieczka at sieczka.org
Sun Apr 21 22:23:26 PDT 2013


W dniu 21.04.2013 23:14, Markus Neteler pisze:
> On Sun, Apr 21, 2013 at 11:08 PM, Maciej Sieczka <msieczka at sieczka.org> wrote:
>> W dniu 21.04.2013 21:43, Markus Neteler pisze:
>>> On Sun, Apr 21, 2013 at 8:23 PM, Maciej Sieczka wrote:
>>>> $ CPPFLAGS="-D_FORTIFY_SOURCE=2" ./configure | tail
>>>> configure: error: *** Unable to locate curses includes.
>>
>>> ... apparently you try with GRASS 6 here?
>>
>> 7 svn too.
>
> Old local copy of GRASS 7? Try
>
> grep curses config*
>
> For me it results as commented and inactive.

Ahh, alright. It's about the zlib includes, and as expected:

$ svn info
Path: .
Working Copy Root Path: /home/users/pok/aur/grass70-svn/src/grass70-svn
URL: http://svn.osgeo.org/grass/grass/trunk
Repository Root: http://svn.osgeo.org/grass
Repository UUID: 15284696-431f-4ddb-bdfa-cd5b030d7da7
Revision: 55941
Node Kind: directory
Schedule: normal
Last Changed Author: hamish
Last Changed Rev: 55939
Last Changed Date: 2013-04-22 06:42:58 +0200 (Mon, 22 Apr 2013)

$ CPPFLAGS="-D_FORTIFY_SOURCE=2" ./configure | tail
configure: error: *** Unable to locate zlib includes.
checking for library containing cuserid... none required
checking for asprintf... yes
checking for atan... no
checking for atan in -lm... yes
checking for dlsym... no
checking for dlsym in -ldl... yes
checking for iconv... yes
checking for socket... yes
checking for location of zlib includes...
checking for zlib.h... no

I saw what I wanted to ;).

Maciek

-- 
Maciej Sieczka
http://www.sieczka.org


More information about the grass-dev mailing list