R: [GRASS-windows] Troubles with curses / Eclipse

marco.pasetti at alice.it marco.pasetti at alice.it
Mon Mar 31 09:21:37 EDT 2008


Hi Peter,
 
>[...] (great job!).
 
Thanks ;-)
 
>using Eclipse/CDT
 
I'm sorry, I never used it; why don't you use MinGW?
if you want to disable Curses just add --without-curses in configure; but I'm sot sure if GRASS will work without it!
 
BTW, linking instruction should work with -lcurses, that means that the linker will look for libcurses.a in /lib directory, that is related with libcurses.dll in /bin;
But this applies only with MinGW linker, I don't know how does it work with Eclipse....
 
Did you executed the following instructions after PDCurses make?
cp pdcurses.a libcurses.a
install libcurses.a /usr/local/lib
install pdcurses.dll /usr/local/bin
cd ..
install -m 644 curses.h /usr/local/include
Regards,
 
Marco Pasetti

________________________________

Da: grass-windows-bounces at lists.osgeo.org per conto di "Peter Löwe"
Inviato: lun 31/03/2008 14.54
A: grass-windows at lists.osgeo.org
Oggetto: [GRASS-windows] Troubles with curses / Eclipse



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
_______________________________________________
grass-windows mailing list
grass-windows at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-windows


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-windows/attachments/20080331/821b1e3b/attachment.html


More information about the grass-windows mailing list