[GRASS-user] Compiling WINGRASS with OSGEO4w

2010-09-16 Thread António Rocha

Greetings

I have successfully compiled svn6.4.0 versions with OSGEO4W compilation 
tutorial/wiki.
Now, I have also successfully compiled svn6.4.1 version with OSGEO4W 
following the same steps but, when I select the GRASS -wxpython icon on 
my Desktop, instead of initiating GRASS6.4.1 is calls Init.bat from 
GRASSsvn6.4.0. How can I change/manage this? Beucase It's correctly 
installed without any errors.


Thanks
Antonio


__ Information from ESET NOD32 Antivirus, version of virus signature 
database 5454 (20100916) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Compiling winGRASS with OSGEO4w- #2

2010-06-15 Thread Helmut Kudrnovsky
Hi Luisa,

>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.
[...]
>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

I've done a completly new installation of my osgeo4w-installation on my 
WinVista32-box to get the latest osgeo4w-setup and followed the 
wiki (http://trac.osgeo.org/grass/wiki/CompileOnWindows#Pre-builtBinaries) for 
installing
all dependencies, prebuilt libraries and utilities etc.

I've choosen the way with TortoiseSVN to get a completly new svn-checkout at 
revision 42566
(see the wiki B) Graphical user interface based:
Alternatively, get TortoiseSVN, a plugin for Windows 
Explorer, which can be used for managing the local source tree.) in 
C:\OSGeo4W\usr\src\grass64svn.

I can't reproduce your error, Grass64 is compiling fine and I'm able to start 
Grass64 in 
C:\OSGeo4W\apps\grass\bin (in the osgeo4w-msys-shell) by grass64 -wx.

so I would suggest a completely new setup of the compiling-environment 
following the
wiki (http://trac.osgeo.org/grass/wiki/CompileOnWindows).

maybe there was any error in the setup of the compiling-environment.

HTH
Helmut
___
WEB.DE DSL ab 19,99 Euro/Monat. Bis zu 150,- Euro Startguthaben und
50,- Euro Geldprämie inklusive! https://freundschaftswerbung.web.de


smime.p7s
Description: S/MIME Cryptographic Signature
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Compiling winGRASS with OSGEO4w- #3

2010-06-15 Thread António Rocha

Greetings

Since Luisa and few others are posting regarding this topic I decided to 
perform this compilation of GRASS on MS-WINDOWs and I followed the exact 
steps but made a few updates in Libraries.

MsysCORE- 1.0.14-1
bin-utils 2.20.51-1
mingw-make 3.81-20090910 (newer version)
mingw-utils 0.4-1
w32api 3.14

and
Bison 2.4.1

Instead of compiling a weekly snapshot I choose RC6 version. But I got 
some errors like thiese oens:
 0 [main] sh 2008 open_stackdumpfile: Dumping stack trace to 
sh.exe.stackdump
 0 [main] sh 1248 open_stackdumpfile: Dumping stack trace to 
sh.exe.stackdump


checking host system type...   0 [main] sh 1264 open_stackdumpfile: 
Dumping stack trace to sh.exe.stackdump


checking for source directory...   0 [main] sh 1848 
open_stackdumpfile: Dumping stack trace to sh.exe.stackdump


checking for termios.h... ./configure: line 4110:   224 Segmentation 
fault  (core dumped) ( eval $ac_try ) 2>&5

grep: conftest.out: No such file or directory

checking for f2c.h...   0 [main] sh 2020 open_stackdumpfile: Dumping 
stack trace to sh.exe.stackdump


checking for sys/timeb.h... yes
0 [main] sh 3868 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump

checking for socket... no
checking for socket in -lsocket... configure: warning: *** Unable to 
locate socket() function.

no

*And the final error was this (which terminated the process)*
checking for location of PostgreSQL library...
checking for PQsetdbLogin in -lpq... ./configure: line 9206:  3856 
Segmentation fault  (core dumped) ( eval $ac_link ) 2>&5

no
checking for PQsetdbLogin in -lpq... no
checking for PQsetdbLogin in -lpq... no
checking for PQsetdbLogin in -lpq... configure: error: *** Unable to 
locate PostgreSQL library.

no
*Then I reinstalled postgres from osgeo4w and FFTW-devel (in a previous 
run I had an error with missing fftw-devel)*


After that I got an error in
checking for Tcl_Init in -ltclUNKNOWN... configure: error: *** Unable to 
locate Tcl library.

no
*I had to reinstall tcltk usiong osgeo4w.*

Then:
checking for location of External PROJ.4 includes...
checking for proj_api.h... ./configure: line 7069:  2916 Segmentation 
fault  (core dumped) ( eval $ac_try ) 2>&5

grep: conftest.out: No such file or directory
yes
checking External PROJ.4 version... ./configure: line 7120:  3712 
Segmentation fault  (core dumped) ( ./conftest; exit ) 2>/dev/null

configure: error: *** Could not determine External PROJ.4 version.
*I had to reinstall proj4 using osgeo4w*

After that it compiled with the following errors (installation log at: 
http://pastebin.com/qvgwE7iP):

Errors in:
/osgeo4w/usr/src/grass-6.4.0RC6/lib/db/sqlp
/osgeo4w/usr/src/grass-6.4.0RC6/lib/gpde
/osgeo4w/usr/src/grass-6.4.0RC6/lib/ogsf
/osgeo4w/usr/src/grass-6.4.0RC6/lib/nviz
/osgeo4w/usr/src/grass-6.4.0RC6/db/drivers/dbf
/osgeo4w/usr/src/grass-6.4.0RC6/db/drivers/postgres
/osgeo4w/usr/src/grass-6.4.0RC6/db/drivers/ogr
/osgeo4w/usr/src/grass-6.4.0RC6/display/d.grid
/osgeo4w/usr/src/grass-6.4.0RC6/display/d.where
/osgeo4w/usr/src/grass-6.4.0RC6/general/g.mremove
/osgeo4w/usr/src/grass-6.4.0RC6/general/g.proj
/osgeo4w/usr/src/grass-6.4.0RC6/general/g.region
/osgeo4w/usr/src/grass-6.4.0RC6/general/g.setproj
/osgeo4w/usr/src/grass-6.4.0RC6/general/manage/cmd
/osgeo4w/usr/src/grass-6.4.0RC6/ps/ps.map
/osgeo4w/usr/src/grass-6.4.0RC6/raster/r.external
/osgeo4w/usr/src/grass-6.4.0RC6/raster/r.gwflow
/osgeo4w/usr/src/grass-6.4.0RC6/raster/r.horizon
/osgeo4w/usr/src/grass-6.4.0RC6/raster/r.los
/osgeo4w/usr/src/grass-6.4.0RC6/raster/r.mapcalc
/osgeo4w/usr/src/grass-6.4.0RC6/raster/r.proj.seg
/osgeo4w/usr/src/grass-6.4.0RC6/raster/r.sun2
/osgeo4w/usr/src/grass-6.4.0RC6/raster/r.sunmask
/osgeo4w/usr/src/grass-6.4.0RC6/raster/r.to.rast3
/osgeo4w/usr/src/grass-6.4.0RC6/raster/r.to.rast3elev
/osgeo4w/usr/src/grass-6.4.0RC6/raster/r.univar2
/osgeo4w/usr/src/grass-6.4.0RC6/raster/r.in.gdal
/osgeo4w/usr/src/grass-6.4.0RC6/raster/r.out.gdal
/osgeo4w/usr/src/grass-6.4.0RC6/raster3d/r3.cross.rast
/osgeo4w/usr/src/grass-6.4.0RC6/raster3d/r3.in.ascii
/osgeo4w/usr/src/grass-6.4.0RC6/raster3d/r3.in.v5d
/osgeo4w/usr/src/grass-6.4.0RC6/raster3d/r3.gwflow
/osgeo4w/usr/src/grass-6.4.0RC6/raster3d/r3.mkdspf
/osgeo4w/usr/src/grass-6.4.0RC6/raster3d/r3.out.ascii
/osgeo4w/usr/src/grass-6.4.0RC6/raster3d/r3.out.v5d
/osgeo4w/usr/src/grass-6.4.0RC6/raster3d/r3.out.vtk
/osgeo4w/usr/src/grass-6.4.0RC6/raster3d/r3.stats
/osgeo4w/usr/src/grass-6.4.0RC6/raster3d/r3.to.rast
/osgeo4w/usr/src/grass-6.4.0RC6/raster3d/base
/osgeo4w/usr/src/grass-6.4.0RC6/vector/v.proj
/osgeo4w/usr/src/grass-6.4.0RC6/vector/v.to.rast3
/osgeo4w/usr/src/grass-6.4.0RC6/vector/v.vol.rst
/osgeo4w/usr/src/grass-6.4.0RC6/vector/v.out.ogr
/osgeo4w/usr/src/grass-6.4.0RC6/vector/v.in.ogr
/osgeo4w/usr/src/grass-6.4.0RC6/visualization/nviz
/osgeo4w/usr/src/grass-6.4.0RC6/visualization/nviz2/cmd

To check the errors I went to /raster/r.in.gdal and run make  and I got:
make: *** No rule to ma

Re: [GRASS-user] Compiling winGRASS with OSGEO4w- #2

2010-06-14 Thread Glynn Clements

Luisa Peña wrote:

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

Says:

gcc -shared -o 
/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/dist.i686-pc-mingw32/lib/libgrass_psdriver.6.4.0svn.dll
 ...

  0 [main] sh 432 open_stackdumpfile: Dumping stack trace to 
sh.exe.stackdump

The linker crashed trying to generate libgrass_psdriver. This will
cause build failures for libraster and libdisplay, then for all d.*
modules.

Unfortunately, I don't have any answer to this.

> QUESTION1:How can I add   Python support to yes ? ( I will need Wxpython and
> use  pythonscripts and probably pygdal)

You'll need to figure this out yourself. The --with-python option
requires python-config, which isn't provided on Windows. It also
requires SWIG.

But even if you manage to get that to work, I've never managed to
successfully link against the wxWidgets libraries with MinGW.

However: note that --with-python isn't required for Python scripts,
and --with-wxwidgets isn't required for the GUI.

-- 
Glynn Clements 
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Compiling winGRASS with OSGEO4w- #2

2010-06-14 Thread Luisa Peña
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


error.log
Description: Binary data
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user