Hi,
Back again with this issue. Thanks Helmut and Antonio for your help but so
far I haven't manage to compile GRASS using OSGEO4W. (and it seems that
neither Antonio)
Since Glynn told me that I might have some issues with newer versions I
decided to use older versions of prebuilt and MinGW packages.

1- From oSGEO4W I installed the packages listed in step5 and 6
2- Runned msys and created osgeo4W folder and the fstab
3- Edited fstab
4- DOwnloaded the following packages (Since Antonio tried with newer and it
didn't work I decided to get the ones that are linked with Wiki):
- *msysCORE-1.0.11-bin* ==>
http://downloads.sourceforge.net/mingw/msysCORE-1.0.11-bin.tar.gz
- *bin-utils ==> *
http://downloads.sourceforge.net/mingw/binutils-2.19.1-mingw32-bin.tar.gz
- *gcc-core* ==>
http://downloads.sourceforge.net/mingw/gcc-core-3.4.5-20060117-3.tar.gz
- *gcc-g++* ==>
http://downloads.sourceforge.net/mingw/gcc-g%2B%2B-3.4.5-20060117-3.tar.gz
- *mingw32-make* ==>
http://downloads.sourceforge.net/mingw/mingw32-make-3.81-20080326-3.tar.gz
-  *mingwRuntime*==>
http://downloads.sourceforge.net/mingw/mingwrt-3.15.2-mingw32-dev.tar.gz
- *mingwutils*==>
http://downloads.sourceforge.net/mingw/mingw-utils-0.3.tar.gz
- *w32api ==> *
http://downloads.sourceforge.net/mingw/w32api-3.13-mingw32-dev.tar.gz

5- Then I unpacked them to c:\osgeo4w

6- Downloaed Make from
http://downloads.sourceforge.net/mingw/make-3.81-MSYS-1.0.11-2.tar.bz2

7- Unpacked it to c:\osgeo4w\apps\msys

8- Downloaded the following pre-built binaries:
-* Bison* ==> http://downloads.sourceforge.net/gnuwin32/bison-2.1-bin.zip
- *Bison-deps* ==>
http://downloads.sourceforge.net/gnuwin32/bison-2.1-dep.zip
- *Flex ==> http://downloads.sourceforge.net/gnuwin32/flex-2.5.4a-1-bin.zip*
- *gettext-bin ==>
http://downloads.sourceforge.net/gnuwin32/gettext-0.14.4-bin.zip*
- *gettext-lib ==>
http://downloads.sourceforge.net/gnuwin32/gettext-0.14.4-lib.zip*
*- libiconv ==>
http://downloads.sourceforge.net/gnuwin32/libiconv-1.9.2-1-lib.zip*
- *libintl-bin ==>
http://downloads.sourceforge.net/gnuwin32/libintl-0.14.4-bin.zip*
- *llibintl-lib ==>
http://downloads.sourceforge.net/gnuwin32/libintl-0.14.4-lib.zip*
- *regex == > http://downloads.sourceforge.net/gnuwin32/regex-2.7-bin.zip*
- *bc ==>
http://sourceforge.net/projects/gnuwin32/files/bc/1.06-2/bc-1.06-2-bin.zip/download
 *
- *readline ==>
http://sourceforge.net/projects/gnuwin32/files/readline/5.0-1/readline-5.0-1-bin.zip/download
*
*
*
9- Unpack it yo c:\osgeo4 I overwritted all files even if some file was
newer... Is this ok? (iconv.h and m4.exe)

10- Reboot the PC

11- Extracted latest GRASS snapshot into C:\osgeo4w\usr\src

12- Using Msys I entered in GRASS source

13- run ./mswindows/osgeo4w/package.sh &>log.log (I suppose I don't need to
change anything right? not even in Platform.make or grass.mkae)
13.1- First attempt: It stopped at
checking for location of OpenGL includes...
checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for location of OpenGL library...
checking for OpenGL library... ./configure: line 11435:  3840 Segmentation
fault      (core dumped) ( eval $ac_link ) 2>&5
configure: error: *** Unable to locate OpenGL library.

13.2- Second attempt: Without changing anything it passed over the OpenGL
and found library... (HOW can this happen? because I didn't change
anything...)

Tue Jun 15 17:08:27 GMTDT 2010: STARTING cleanup
Tue Jun 15 17:08:45 GMTDT 2010: END

Ok I had erros in:
/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/raster/r.mapcalc
/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/raster/r.mfilter
/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/raster/r.mfilter.fp
/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/raster/r.thin

14.1- running make in r.mapcalc folder I get this error:
c:\osgeo4w\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
cannot find -lgrass_rowio
collect2: ld returned 1 exit status
make: ***
[/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/dist.i686-pc-mingw32/bin/r.mapcalc.exe]
Error 1

14.2- running make in r.mfilter
make: *** No rule to make target
`/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/dist.i686-pc-mingw32/lib/libgrass_rowio.dll',
needed by
`/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/dist.i686-pc-mingw32/bin/r.mfilter.exe'.
 Stop.

14.3- Running make in r.mfilter
make: *** No rule to make target
`/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/dist.i686-pc-mingw32/lib/libgrass_rowio.dll',
needed by
`/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/dist.i686-pc-mingw32/bin/r.mfilter.exe'.
 Stop.

14.4- running make in r.thin
make: *** No rule to make target
`/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/dist.i686-pc-mingw32/lib/libgrass_rowio.dll',
needed by
`/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/dist.i686-pc-mingw32/bin/r.thin.exe'.
 Stop.

Ok So the problem now is: libgrass_rowio.dll. How can I debug this dll and
How can I create it? And what might be happening?
This was a HUGE IMPROVE :)

Thank you
Luisa

*
*
*
*
2010/6/14 Luisa Peña <luisapena1...@gmail.com>

> After a few messages exchanged wirh Martin Landa (thanks Martin) I realized
> that the problem is only with libgrass_display.dll that cannot be found. Is
> the only problem. Has anyone ever had the same problem?
>
> 2010/6/14 Luisa Peña <luisapena1...@gmail.com>
>
> About our prevous conversation here goes the compilation of Wingrass with
>> OSGEO4w following a tip from Martin (not installing GRASS desktop from
>> OSGEO4W)
>>
>>
>> 1- I identified the extra modles that GRASS-desktop installation requires
>> and installed only  thse (except GRASS_locale and GRASS_gdal).
>>
>> 2- Run all thee steps from
>> http://trac.osgeo.org/grass/wiki/CompileOnWindows#CompilingandInstallinguntil
>>  COMPILING AND  INSTALLING GRASS (GRASS6.4.0) step 1.
>>
>> 3- Downloaded a Weekly snapshot from here
>> http://grass.osgeo.org/grass64/source/snapshot/  (
>> http://grass.osgeo.org/grass64/source/snapshot/grass-6.4.svn_src_snapshot_2010_06_12.tar.gz
>> )
>>
>> 4- Unpack gz and then tar to c:\osgeo4\usr\src
>>
>> 5- Inside C:\osgeo4w\usr\src\grass-6.4.svn_src_snapshot_2010_06_12 I
>> runned:
>> ./mswindows/osgeo4w/package.sh
>> (currently, no folder named grass is in c:/osgeo4w/apps)
>>
>> - in my first (3) attempts I got errors in libraries that I installed in
>> step 6 of the Wiki.  I had to Reinstalled them.
>>
>> - log  includes my log file from this process (at:
>> http://pastebin.com/UdhLyv6f)
>> - error.log is the error report. I got errors in almost all executable.
>>
>> QUESTION1:How can I add   Python support to yes ? ( I will need Wxpython
>> and use  pythonscripts and probably pygdal)
>>
>> It created:
>> a grass folder in /apps/
>> - folder named bin in apps/grass with 2 files: grass64 and grass64.bat
>> - a folder name grass-6.4.0svn with the following fodlerd: bin; bwidget;
>> docs; driver, etc, fonts, include; lib; locale; scripts; tools.
>>
>> and it seems to be running but all the functions in error.log are not
>> available.
>> QUESTION2: What did I did that was wrong?
>>
>> 6- I went to
>> C:\osgeo4w\usr\src\grass-6.4.svn_src_snapshot_2010_06_12\display and runned
>> make -C d.histogram MODULE_TOPDIR=
>> C:\osgeo4w\usr\src\grass-6.4.svn_src_snapshot_2010_06_12
>> because d.histogram is one of the functions that is not available
>> And I got:
>> make: Entering directory
>> `/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/display/d.histogram'
>>  make: *** No rule to make target
>> `/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/dist.i686-pc-mingw32/lib/libgrass_display.dll',
>> needed by
>> `/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/dist.i686-pc-mingw32/bin/d.histogram.exe'.
>>  Stop.
>> make: Leaving directory
>> `/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/display/d.histogram'
>>
>>
>> THank you
>> Luisa
>>
>
>
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to