R: R: R: [GRASS-dev] Re: Building GRASS/QGIS with MSYS

marco.pasetti at alice.it marco.pasetti at alice.it
Tue Feb 5 08:39:05 EST 2008


Thanks again,
 
I'll rebuild a brand new msys environment, with the following sequece:
 
01) Flex and Bison
02) Paul Kelly's precompiled grass-extralibs, including:
 
- zlib.1.2.3
- libpng-1.2.16-noconfig
- xdr-4.0-mingw2
- freetype-2.3.4
- fftw-2.1.5
- PDCurses-3.1
- proj-4.5.0
- gdal-1.4.1
 
03) GEOS
04) SQLite
05) GSL
06) Expat
07) PostgreSQL
08) GDAL Level One
09) Tcl/Tk
10) GRASS (with postgresql, sqlite and tcl/tk support enabled)
11) GDAL Level Two
 
Best Regards,
 
MP

________________________________

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

They aren't.

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

Benjamin

> 
> Many thanks. Best Regards,
> 
> MP
>
> ------------------------------------------------------------------------
> *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.
>
> Benjamin
>
>>
>> Thanks,
>>
>> MP
>>
>> ------------------------------------------------------------------------
>>
>> *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/
>>> --with-grass=/local/grass-6.3.cvs/
>> --with-pg=/local/pgsql/bin/pg_config.exe
>>>
>>> 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
>> --
>> Benjamin Ducke, M.A.
>> Archäoinformatik
>> (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
>> Germany
>>
>> Tel.: ++49 (0)431 880-3378 / -3379
>> Fax : ++49 (0)431 880-7300
>> www.uni-kiel.de/ufg
>>
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>>
>
> --
> Benjamin Ducke, M.A.
> Archäoinformatik
> (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
> Germany
>
> Tel.: ++49 (0)431 880-3378 / -3379
> Fax : ++49 (0)431 880-7300
> www.uni-kiel.de/ufg
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>

--
Benjamin Ducke, M.A.
Archäoinformatik
(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
Germany

Tel.: ++49 (0)431 880-3378 / -3379
Fax : ++49 (0)431 880-7300
www.uni-kiel.de/ufg

_______________________________________________
grass-dev mailing list
grass-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20080205/c2d00fb3/attachment-0001.html


More information about the grass-dev mailing list