[GRASS-windows] Troubles with curses / Eclipse

"Peter Löwe" peter.loewe at gmx.de
Mon Mar 31 08:54:09 EDT 2008


Hello,

for a challenge, I am trying to build GRASS on a XP machine using Eclipse/CDT/msys and am stuck when it comes to Curses.

The extra libraries were built and installed according to Marco Pasetti's GRASS Windows Native Binary Building Guide (great job!).

Configure is launched with the default-settings suggested by Marco:

<target name="configure_ziel2" description="Konfiguriere GRASS6xp">
 <exec executable="C:\msys\1.0\bin\sh">
 <arg value="configure" />
 <arg value="--prefix=C:\msys\1.0\usr\local" />
 <arg value="--with-includes=C:\msys\1.0\local\include" />
 <arg value="--with-libs=C:\msys\1.0\usr\local\lib" />
 <arg value="--disable-x11" />
 <arg value="--without-jpeg" />
 <arg value="--without-x" />
 <arg value="--with-cxx" />
 <arg value="--enable-shared" />
 <arg value="--enable-largefile" />
 <arg value="--with-opengl=windows" />
 <arg value="--with-fftw" />
 <arg value="--with-freetype" />
 <arg value="--with-proj-share=C:\msys\1.0\usr\local\share\proj" />
 <arg value="--with-gdal=C:\msys\1.0\usr\local\bin\gdal-config" />
 <arg value="--with-tcltk" />
 <arg value="--with-tcltk-includes=C:\msys\1.0\usr\local\tcl-tk\include" />
 <arg value="--with-tcltk-libs=C:\msys\1.0\usr\local\tcl-tk\bin" 
 <arg value="--with-sqlite-libs=C:\msys\1.0\usr\local\sqlite\lib" />
 <arg value="--with-postgres" /> 
 <arg value="--with-postgres-includes=C:\msys\1.0\usr\local\pgsql\include"/> 
 <arg value="--with-postgres-libs=C:\msys\1.0\usr\local\pgsql\lib" />
   </exec>
  </target>

Unfortunately, configure dies with the following error:
...
    [exec] checking for additional include dirs... C:\msys\1.0\local\include
     [exec] checking for additional library dirs... 
 
...
 [exec] checking curses.h WINDOW structure component... _maxy
     [exec] checking for initscr in -lncurses... no
     [exec] configure: error: *** Unable to locate curses library.
     [exec] checking for initscr in -lcurses... no
     [exec] Result: 1

Right now I am at a loss what kind of problem i am dealing with. 
Is there a  way to compile GRASS without curses to track down the problem ?

Suggestions would be very welcome,

Peter




 Using Eclipse/CDT to build GRASS works well under Linux, by the way.
-- 
Dr. Peter Löwe
<peter.loewe at gmx.de>





GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx


More information about the grass-windows mailing list