Hi,

Arch has recently added CPPFLAGS="-D_FORTIFY_SOURCE=2" [1] to its package and build management toolset config [2].

This brakes ./configure for any GRASS version as follows:

$ CPPFLAGS="-D_FORTIFY_SOURCE=2" ./configure | tail
configure: error: *** Unable to locate curses includes.
checking for X... libraries , headers /usr/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether to use Curses... yes
checking for curses.h... no

--without-curses makes it pass only until:

checking for zlib.h... no
configure: error: *** Unable to locate zlib includes.

Is there something that GRASS can do about this problem?

BTW, I found an old ticket [3] where Glynn says GRASS 7 don't use curses at all. Is it still not going to?

Maciek

[1] https://projects.archlinux.org/svntogit/packages.git/diff/trunk/makepkg.conf?h=packages/pacman&id=a050c8a4e9bb27693dc848f923564223defbb76c

[2] https://projects.archlinux.org/svntogit/packages.git/tree/trunk/makepkg.conf?h=packages/pacman#n32

[3] http://trac.osgeo.org/grass/ticket/473

--
Maciej Sieczka
http://www.sieczka.org
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to