R: R: R: [GRASS-dev] Re: Building GRASS/QGIS with MSYS
marco.pasetti at alice.it
marco.pasetti at alice.it
Wed Feb 6 08:46:20 EST 2008
about the last mail, I'm workig on step 8.
I report that (if previously installed) GEOS support must be disabled in GDAL; it makes building to fail!
Not sure, but actually possible, either SQLite and PostgreSQL should be disabled too.
For secure (and not time-wasting) procedure, I built GDAL without GEOS, SQLite and PostgreSQL.
If GEOS is certainly to set as disabled, no tests have been done enabling SQLite and PostgreSQL; however those two last are not required in GDAL building, even if required (and then enbled) in GRASS building (thanks Moritz).
I worked with 1.4.1 version of GDAL. It would be interesting to do some testings using latest version of GDAL (1.5), which, as it seems, introduces new useful features.
Regards and thanks all for your support (specially Benjamin, Moritz and Glynn; many thanks)
Da: grass-dev-bounces at lists.osgeo.org per conto di marco.pasetti at alice.it
Inviato: mar 05/02/2008 14.39
A: grass-dev at lists.osgeo.org
Oggetto: R: R: R: [GRASS-dev] Re: Building GRASS/QGIS with MSYS
I'll rebuild a brand new msys environment, with the following sequece:
01) Flex and Bison
02) Paul Kelly's precompiled grass-extralibs, including:
08) GDAL Level One
10) GRASS (with postgresql, sqlite and tcl/tk support enabled)
11) GDAL Level Two
Da: grass-dev-bounces at lists.osgeo.org per conto di Benjamin Ducke
Inviato: mar 05/02/2008 13.39
A: GRASS devel
Oggetto: Re: R: R: [GRASS-dev] Re: Building GRASS/QGIS with MSYS
> the last doubt is if those options are needed for qgis+grass building.
> I'all ask to qgis-dev
> another questions: reading BuildingWindowsBinaryOnLinux QgisWiki, I
> noticed that the guide tells to build all the libs (XDR, ZLIB, PROJ.4
> first, included in Paul Kelly's prebuilt-package, and then GEOS, GSL,
> EXPAT, PostgreSQL, GDAL and SQLite) before to build GRASS, while the
> WindowsWiki tells to build/install GEOS, GSL, EXPAT, PostgreSQL and
> SQLite after GRASS and GDAL "Level Two"; could that be another
> WinGrassWiki bug? (I'm sure now that PostgreSQL and SQLite are needed
> before GRASS build!)
Neitjer PostgreSQL nor SQLite are needed for a basic version of
QGIS+GRASS. All other libraries are needed by either GRASS or GDAL
or both to be installed first.
If you want support for SQLite and PostgreSQL and GRASS, you need
to have them installed first, as well.
> Many thanks. Best Regards,
> *Da:* grass-dev-bounces at lists.osgeo.org per conto di Benjamin Ducke
> *Inviato:* mar 05/02/2008 12.35
> *A:* GRASS devel
> *Oggetto:* Re: R: [GRASS-dev] Re: Building GRASS/QGIS with MSYS
>> Probably last "./configure" and "sed" lines are supposed to be done if
>> you set ./configure --with-libtool in the first step?
> Yes, that's what I would assume. Without libtool, you have to to delete
> the static libs and exe tools and re-link everything for stage one and
> two -- tedious but works.
>> So the real question is: does GDAL need ngpython, xerces, jasper and
>> postresql? (I know grass is needed, but the guide suggest to build GDAL
>> first without it, and then rebuild it with grass support enabled).
> GDAL needs none of those for the basic libraries to build. Xerces is an
> XML parser. It's needed for GDAL to be able and access web mapping
> services. NGPython is for GDAL Python bindings. Only interesting if you
> intend to directly script-programm GDAL using Python. Jasper adds
> another raster image format support to GDAL.
> You have to first build and install GDAL without GRASS support.
> Then configure and build GRASS (it will detect GDAL correctly and enable
> GDAL support, even though no GRASS support is enabled in GDAL at this
> stage!). Install GRASS. Then reconfigure GDAL with GRASS support, build
> and install again. That should do it.
>> *Da:* grass-dev-bounces at lists.osgeo.org per conto di Benjamin Ducke
>> *Inviato:* mar 05/02/2008 11.39
>> *Cc:* grass-dev at lists.osgeo.org
>> *Oggetto:* Re: [GRASS-dev] Re: Building GRASS/QGIS with MSYS
>>> Now the question: is with-libtool necessary for gdal? because there are
>> It's not. In fact, the GDAL developers recommend turning it off for
>> MSYS. As a consequence, you have to re-link the GDAL library files
>> after successful compilation in order to get shared Win32 DLLs.
>>> some things not clear to me about this passage.. after building gdal
>>> level one, it says:
>>> ./configure --with-ngpython --with-xerces=/local/ --with-jasper=/local/
>>> 1) neither python nor grass and postgresql are install at this step of
>>> the guide; how could that be? do I really need this "line" and the
>>> following "sed"?
>> I guess the guide assumes some software to be available in your MSYS
>> installation already. Do you require postgresql and python support?
>>> But also with the following warnings:
>>> configure: warning: *** Unable to locate iconv() function.
>>> configure: warning: *** Unable to locate socket() function.
>>> configure: warning: *** --with-opengl=windows is untested.
>>> I decided to add Tcl/Tk support to be able to test some new grass
>>> modules I added before to be "qgis ready";
>> Those are harmless as long as you don't need internationalized messages
>> in GRASS.
>> Benjamin Ducke, M.A.
>> (Archaeoinformation Science)
>> Institut für Ur- und Frühgeschichte
>> (Inst. of Prehistoric and Historic Archaeology)
>> Christian-Albrechts-Universität zu Kiel
>> Johanna-Mestorf-Straße 2-6
>> D 24098 Kiel
>> Tel.: ++49 (0)431 880-3378 / -3379
>> Fax : ++49 (0)431 880-7300
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
> Benjamin Ducke, M.A.
> (Archaeoinformation Science)
> Institut für Ur- und Frühgeschichte
> (Inst. of Prehistoric and Historic Archaeology)
> Christian-Albrechts-Universität zu Kiel
> Johanna-Mestorf-Straße 2-6
> D 24098 Kiel
> Tel.: ++49 (0)431 880-3378 / -3379
> Fax : ++49 (0)431 880-7300
> grass-dev mailing list
> grass-dev at lists.osgeo.org
Benjamin Ducke, M.A.
Institut für Ur- und Frühgeschichte
(Inst. of Prehistoric and Historic Archaeology)
Christian-Albrechts-Universität zu Kiel
D 24098 Kiel
Tel.: ++49 (0)431 880-3378 / -3379
Fax : ++49 (0)431 880-7300
grass-dev mailing list
grass-dev at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-dev