[GRASS-windows] Troubles with curses / Eclipse

Glynn Clements glynn at gclements.plus.com
Mon Mar 31 10:05:27 EDT 2008


"Peter Löwe" wrote:

> 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 ?

You can use --without-curses to disable curses, but a lot of
components won't build.

The first thing to check is the config.log file. That records the
actual commands which are executed, along with any error messages
which they generate.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-windows mailing list