Hi there

I have sent a similar message to this http://lists.osgeo.org/pipermail/grass-user/2010-September/057903.html but to the wingrass mailing list. Since there is no follow up on this subject in this mailing list I wanted to know if anyone found any answer to this? Because I'm having the same problem in winWXP 32. In the past I had this Windows GRASS compilation and now, I decided to have it again but I'm having this problem:
checking whether to use Curses... yes
checking for curses.h... yes
checking curses.h WINDOW structure component... _maxy
checking for initscr in -lncurses... no
checking for initscr in -lcurses... configure: error: *** Unable to locate curses library.
no


Regarding -lncurses, my config.log has the following:
int main() {
WINDOW w; w.maxy = 0;
; return 0; }
configure:5691: gcc -c -g -O2 -I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include conftest.c 1>&5
configure:5707: checking for initscr in -lncurses
configure:5724: gcc -o conftest.exe -g -O2 -I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include -Wl,--export-dynamic,--enable-runtime-pseudo-reloc -L/c/OSGeo4W/apps/gdal-16/lib -L/c/OSGeo4W/lib conftest.c -lncurses 1>&5 c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: warning: --export-dynamic is not supported for PE targets, did you mean --export-all-symbols? c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: cannot find -lncurses
collect2: ld returned 1 exit status
configure: failed program was:
#line 5713 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char initscr();

And regarding lcurses, it's the following:
int main() {
initscr()
; return 0; }
configure:5743: checking for initscr in -lcurses
configure:5760: gcc -o conftest.exe -g -O2 -I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include -Wl,--export-dynamic,--enable-runtime-pseudo-reloc -L/c/OSGeo4W/apps/gdal-16/lib -L/c/OSGeo4W/lib conftest.c -lcurses 1>&5 c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: warning: --export-dynamic is not supported for PE targets, did you mean --export-all-symbols? c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../crt2.o:crt1.c:(.text+0x28): undefined reference to `__dyn_tls_init_callback'
collect2: ld returned 1 exit status
configure: failed program was:
#line 5749 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char initscr();

What is missing in my installation? Because I have checked, and my osgeo4W includes pdcurses-devel

Thanks

Antonio


__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 5509 (20101006) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to