<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY>
<P><FONT face=Arial color=#000000 size=2>Hello,</FONT></P>
<P><FONT face=Arial size=2>I want to build QGIS under windows;</FONT><FONT face=Arial size=2>&nbsp;I started reading in the QGIS wiki about compilation (BuildingFromSource document)<A href="http://wiki.qgis.org/qgiswiki/BuildingFromSource">http://wiki.qgis.org/qgiswiki/BuildingFromSource</A></FONT></P>
<P><FONT face=Arial><FONT size=2>After reading introduction and building notes, I jumped to section</FONT></FONT></P>
<P><FONT face=Arial size=4><STRONG>3. Building under windows using msys</STRONG></FONT></P>
<P><FONT face=Arial><FONT size=2>in this section I read in <STRONG>3.1 </STRONG>that I can use a pre-built MSYS enviroment with all dependencies, or create it by myself one following the instructions detailed in section <STRONG>6</STRONG>; because i want to build a new GRASS module I decided for the last.</FONT></FONT></P>
<P><FONT face=Arial size=2><FONT size=3><FONT color=#008000><STRONG>QUESTION</STRONG>:</FONT></FONT> After completing instructions in section <STRONG>6</STRONG>, I have to follow section <STRONG>3</STRONG>, starting from 3.2. Is that right?</FONT></P>
<P id=head-780e111c05f2c81b08bb55f1c8ad322cd6351fc1><FONT face=Arial size=4>6. Creation of MSYS environment for compilation of Quantum GIS</FONT></P>
<P id=head-13bd4d9a6820a6df34679bc907cfbc3102553090><FONT face=Arial size=3>6.1. Initial setup</FONT></P>
<P><FONT face=Arial size=2>I exactly followed instructions detailed in section <STRONG>6.1</STRONG>; about that I would remark:</FONT></P>
<P><A class=http href="http://puzzle.dl.sourceforge.net/sourceforge/mingw/MSYS-1.0.11-2004.04.30-1.exe"><FONT face=Arial size=2>http://puzzle.dl.sourceforge.net/sourceforge/mingw/MSYS-1.0.11-2004.04.30-1.exe</FONT></A><FONT face=Arial size=2>&nbsp;<STRONG>link is dead!</STRONG></FONT></P>
<P><FONT face=Arial size=2>I used instead: <SPAN class=a><FONT face=Arial><A href="http://prdownloads.sourceforge.net/mingw/MSYS-1.0.11-2004.04.30-1.exe?download">http://prdownloads.sourceforge.net/mingw/MSYS-1.0.11-2004.04.30-1.exe?download</A></FONT></SPAN></FONT></P>
<P><FONT face=Arial size=2><SPAN class=a><A href="http://puzzle.dl.sourceforge.net/sourceforge/mingw/MinGW-5.1.3.exe">http://puzzle.dl.sourceforge.net/sourceforge/mingw/MinGW-5.1.3.exe</A>&nbsp;<STRONG>link is dead!</STRONG></SPAN></FONT></P>
<P><FONT face=Arial><SPAN class=a><FONT size=2>I used instead: </FONT><A href="http://downloads.sourceforge.net/mingw/MinGW-5.1.3.exe?modtime=1168811236&amp;big_mirror=1"><FONT size=2>http://downloads.sourceforge.net/mingw/MinGW-5.1.3.exe?modtime=1168811236&amp;big_mirror=1</FONT></A></SPAN></FONT></P>
<P><FONT face=Arial><SPAN class=a><STRONG>6.2. Installing dependencies</STRONG></SPAN></FONT></P>
<P><FONT face=Arial size=2><SPAN class=a><STRONG>6.2.1. Getting ready</STRONG></SPAN></FONT></P>
<DIV><FONT face=Arial><SPAN class=a><FONT size=2>I downloaded Paul Kelly's package of&nbsp;precompiled libraries for GRASS and unpacked in c:\msys\local</FONT></DIV>
<P class=line874><FONT size=2><STRONG>6.2.2. GDAL level one</STRONG></FONT></P>
<P class=line874><FONT size=2>I exactly followed all the instructions, except:</FONT></P>
<P class=line874><FONT size=2><STRONG><FONT color=#808080>GDAL build procedure can be greatly simplified to use libtool with a libtool line patch: <SPAN class=anchor id=line-921></SPAN>configure gdal as below: <SPAN class=anchor id=line-922></SPAN>./configure --with-ngpython --with-xerces=/local/ --with-jasper=/local/ --with-grass=/local/grass-6.3.cvs/ --with-pg=/local/pgsql/bin/pg_config.exe <SPAN class=anchor id=line-923></SPAN><SPAN class=anchor id=line-924></SPAN></FONT></STRONG></FONT></P>
<P class=line874><FONT size=2><FONT color=#ff0000><STRONG><FONT color=#808080>Then fix libtool with: <SPAN class=anchor id=line-925></SPAN>mv libtool libtool.orig <SPAN class=anchor id=line-926></SPAN>cat libtool.orig | sed 's/max_cmd_len=8192/max_cmd_len=32768/g' &gt; libtool</FONT> <SPAN class=anchor id=line-927></SPAN><SPAN class=anchor id=line-928></SPAN></STRONG></FONT></FONT></P>
<P class=line874><FONT color=#000000 size=2>Because I didn't understand well those instructions.</FONT></P>
<P class=line874><FONT size=2><FONT size=3><FONT color=#008000><STRONG>QUESTION</STRONG>:</FONT></FONT> What should I do?</FONT></P>
<P class=line874><FONT size=2><STRONG>6.2.3. GRASS</STRONG></FONT></P>
<P class=line874><FONT size=2>I followed all the instructions detailed in this section, using <STRONG>grass-6.3.0RC4</STRONG> source. After compiling I have the following&nbsp;compilation log:</FONT></P>
<P class=line874><FONT size=2>GRASS GIS compilation log<BR>------------------------------------------------------------------------------------------------------------<BR>Started compilation: Wed Jan 16 17:39:21 GMT 2008<BR>------------------------------------------------------------------------------------------------------------<BR>Errors in:<BR>/usr/local/src/grass-6.3.cvs/imagery/i.class<BR>/usr/local/src/grass-6.3.cvs/imagery/i.ortho.photo/photo.2image<BR>/usr/local/src/grass-6.3.cvs/imagery/i.ortho.photo/photo.2target<BR>/usr/local/src/grass-6.3.cvs/imagery/i.ortho.photo/photo.rectify<BR>/usr/local/src/grass-6.3.cvs/imagery/i.points<BR>/usr/local/src/grass-6.3.cvs/imagery/i.vpoints<BR>/usr/local/src/grass-6.3.cvs/raster/r.li/r.li.daemon<BR>/usr/local/src/grass-6.3.cvs/raster/r.li/r.li.edgedensity<BR>/usr/local/src/grass-6.3.cvs/raster/r.li/r.li.patchdensity<BR>/usr/local/src/grass-6.3.cvs/raster/r.li/r.li.patchnum<BR>/usr/local/src/grass-6.3.cvs/raster/r.li/r.li.shape<BR>/usr/local/src/grass-6.3.cvs/raster/r.li/r.li.simpson<BR>/usr/local/src/grass-6.3.cvs/raster/r.li/r.li.shannon<BR>/usr/local/src/grass-6.3.cvs/raster/r.li/r.li.mps<BR>/usr/local/src/grass-6.3.cvs/raster/r.li/r.li.mpa<BR>/usr/local/src/grass-6.3.cvs/raster/r.li/r.li.padcv<BR>/usr/local/src/grass-6.3.cvs/raster/r.li/r.li.padsd<BR>/usr/local/src/grass-6.3.cvs/raster/r.li/r.li.padrange<BR>/usr/local/src/grass-6.3.cvs/raster/r.li/r.li.cwed<BR>/usr/local/src/grass-6.3.cvs/raster/r.li/r.li.richness<BR>/usr/local/src/grass-6.3.cvs/raster/r.li/r.li.dominance<BR>/usr/local/src/grass-6.3.cvs/raster/r.terraflow<BR>/usr/local/src/grass-6.3.cvs/visualization/nviz<BR>------------------------------------------------------------------------------------------------------------<BR>In case of errors please change into the directory with error and run 'make'.<BR>If you get multiple errors, you need to deal with them in the order they<BR>appear in the error log. If you get an error building a library, you will<BR>also get errors from anything which uses the library.<BR>------------------------------------------------------------------------------------------------------------<BR>Finished compilation: Wed Jan 16 18:37:48 GMT 2008</FONT></P>
<P class=line874></SPAN></FONT><FONT face=Arial><SPAN class=a><FONT size=2><FONT color=#008000><STRONG>QUESTIONS: --------------------------------------------------------------------------------------------------------------------------------------------------------------</STRONG></FONT></P>
<P class=line874>1. those errors are dued to not complete execution of instruction in 6.2.2, or should I recompile GRASS libraries by myself?</P>
<P class=line874>2. to fix errors should I simply re-apply instructions from 6.2.2, or should I detelete something?<BR><FONT color=#008000><STRONG>-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</STRONG></FONT></P>
<DIV>Thanks for all your help,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Marco</FONT></SPAN></FONT></DIV></BODY></HTML>