I' m trying to compile grass 6.4 on my PC (Windows XP, 32bits) strictly following the instructions provided on: http://trac.osgeo.org/grass/wiki/CompileOnWindows. However I get the following error when running package.sh./ <br /><br />checking for location of External PROJ.4 includes... <br /> checking for proj_api.h... yes<br /> checking External PROJ.4 version... ./configure: line 7173:&nbsp; 6352  Segmentation fault&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (core dumped) ( eval $ac_link ) 2&gt;&amp;5<br /> configure: error: *** Could not determine External PROJ.4 version.<br /><br />Note that I needed to remove opengl to avoid other errors.<br />Thanks in advance for helping on the issue.<br />nesch<br /><br />-----------------------------------------------------------<br />Below is the content of the package.log:<br />-----------------------------------------------------------<br /><br />Wed Jul 20 14:22:12 GTB 2011: STARTING configure<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 7112 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 4612 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 1700 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 6844 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 4192 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 3452 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 5500 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 6864 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 6104 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 2712 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 3456 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 7608 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />checking host system type... i686-pc-mingw32<br />checking for gcc... gcc<br />checking whether the C compiler (gcc&nbsp; ) works... yes<br />checking whether the C compiler (gcc&nbsp; ) is a cross-compiler... no<br />checking whether we are using GNU C... yes<br />checking whether gcc accepts -g... yes<br />checking for Cygwin environment... no<br />checking for mingw32 environment... yes<br />checking for executable suffix... .exe<br />checking for full floating-point support... yes<br />checking for pwd... /bin/pwd<br />checking for source directory... /osgeo4w/usr/src/grass-6.4.2svn<br />checking for build directory... /osgeo4w/usr/src/grass-6.4.2svn<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 7112 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />checking for svnversion... no<br />checking for MacOSX App... no<br />checking for MacOSX architectures... no<br />checking for MacOSX SDK... no<br />checking how to build libraries... shared<br />checking for ranlib... ranlib<br />checking how to run the C preprocessor... ./configure: line 1589:&nbsp; 4612 Segmentation fault&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (core dumped) ( eval $ac_try ) 2&gt;&amp;5<br />grep: conftest.out: No such file or directory<br />gcc -E<br />checking if 64bit support is requested... no<br />checking if 64bit Sparc VIS support is requested... no<br />checking system version (for dynamic loading)... MINGW32_NT-5.1-1.0.11(0.46/3/2)<br />checking for dlopen in -ldl... no<br />checking for ar... ar<br />checking for additional include dirs... <br />checking for additional library dirs... /c/OSGeo4W/lib /osgeo4w/usr/src/grass-6.4.2svn/mswindows/osgeo4w/lib<br />checking for a BSD compatible install... /bin/install -c<br />checking for flex... flex<br />checking for yywrap in -lfl... no<br />checking for bison... bison -y<br />checking for ranlib... ranlib<br />checking for ar... ar<br />checking for env... env<br />checking for perl... no<br />checking for ANSI C header files... yes<br />checking for limits.h... yes<br />checking for termio.h... ./configure: line 4163:&nbsp; 5640 Segmentation fault&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (core dumped) ( eval $ac_try ) 2&gt;&amp;5<br />grep: conftest.out: No such file or directory<br />yes<br />checking for termios.h... no<br />checking for unistd.h... yes<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 4256 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />checking for values.h... yes<br />checking for f2c.h... no<br />checking for g2c.h... no<br />checking for sys/ioctl.h... no<br />checking for sys/mtio.h... no<br />checking for sys/resource.h... no<br />checking for sys/time.h... yes<br />checking for sys/timeb.h... yes<br />checking for sys/types.h... yes<br />checking for sys/utsname.h... no<br />checking for libintl.h... yes<br />checking for iconv.h... yes<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 4260 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />checking for langinfo.h... no<br />checking whether time.h and sys/time.h may both be included... yes<br />checking for off_t... yes<br />checking for uid_t in sys/types.h... no<br />checking return type of signal handlers... void<br />checking for Cygwin environment... no<br />checking for ftime... yes<br />checking for gethostname... no<br />checking for gettimeofday... yes<br />checking for lseek... yes<br />checking for nice... no<br />checking for time... ./configure: line 4524:&nbsp;&nbsp; 412 Segmentation fault&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (core dumped) ( eval $ac_link ) 2&gt;&amp;5<br />no<br />checking for uname... no<br />checking for seteuid... no<br />checking for setpriority... no<br />checking for setreuid... no<br />checking for setruid... no<br />checking for drand48... no<br />checking for putenv... yes<br />checking for setenv... no<br />checking for nanosleep... no<br />checking whether setpgrp takes no argument... ./configure: line 4787:&nbsp; 7112 Segmentation fault&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (core dumped) ( eval $ac_link ) 2&gt;&amp;5<br />yes<br />checking for long long int... yes<br />checking for W11... no<br />checking for X... disabled<br />checking whether to use Curses... yes<br />checking for curses.h... ./configure: line 5924:&nbsp;&nbsp; 196 Segmentation fault&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (core dumped) ( eval $ac_try ) 2&gt;&amp;5<br />grep: conftest.out: No such file or directory<br />yes<br />checking curses.h WINDOW structure component... _maxy<br />checking for initscr in -lncurses...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 5492 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />no<br />checking for initscr in -lcurses... yes<br />checking for keypad in -lncurses... no<br />checking for keypad in -lcurses... yes<br />checking for gtty in -lcompat... no<br />checking for gtty in -lbsd-compat... ./configure: line 6040:&nbsp; 3828 Segmentation fault&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (core dumped) ( eval $ac_link ) 2&gt;&amp;5<br />no<br />checking for gtty in -lbsd...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 4652 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />./configure: line 6040:&nbsp; 4656 Segmentation fault&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (core dumped) ( eval $ac_link ) 2&gt;&amp;5<br />no<br />checking for library containing cuserid... no<br />checking for xdrmem_create... no<br />checking for xdrmem_create in -lsun... no<br />checking for xdrmem_create in -lnsl... no<br />checking for xdrmem_create in -lrpclib... no<br />checking for xdrmem_create in -lxdr... yes<br />checking for asprintf... no<br />checking for atan... yes<br />checking for dlsym... no<br />checking for dlsym in -ldl...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 3556 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />no<br />checking for iconv... no<br />checking for iconv in -liconv... no<br />checking for iconv in -lgiconv...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 464 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />no<br />checking for libiconv... no<br />checking for libiconv in -liconv... yes<br />checking for socket... no<br />checking for socket in -lsocket... no<br />configure: warning: *** Unable to locate socket() function.<br />checking for location of zlib includes... <br />checking for zlib.h...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 [main] sh 4328 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump<br />yes<br />checking for location of zlib library... <br />checking for deflate in -lz... yes<br />checking for location of External PROJ.4 includes... <br />checking for proj_api.h... yes<br />checking External PROJ.4 version... ./configure: line 7173:&nbsp; 6352 Segmentation fault&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (core dumped) ( eval $ac_link ) 2&gt;&amp;5<br />configure: error: *** Could not determine External PROJ.4 version.<br /><br />-----------------------------------------------------------<br />The package.sh I use is:<br />-----------------------------------------------------------<br /><br />#!/c/OSGeo4W/apps/msys/bin/sh<br /><br />set -e<br /><br />PWD=&quot;$(pwd)&quot;<br /><br />if ! [ -d mswindows ]; then<br />&nbsp;&nbsp;&nbsp; echo Start from GRASS toplevel dir<br />&nbsp;&nbsp;&nbsp; exit 1<br />fi<br /><br />if ! [ -d /tmp ]; then <br />&nbsp;&nbsp;&nbsp; mkdir /tmp <br />&nbsp;&nbsp;&nbsp; if ! [ -d /tmp ]; then <br />&nbsp;&nbsp;&nbsp;&nbsp; echo /tmp does not exists <br />&nbsp;&nbsp;&nbsp;&nbsp; exit 1 <br />&nbsp;&nbsp;&nbsp; fi <br />fi <br /><br />export PACKAGE=${1:-1} <br />export OSGEO4W_ROOT_MSYS=&quot;/c/OSGeo4W&quot;<br />export OSGEO4W_ROOT=&quot;C:\\\OSGeo4W&quot;<br />export PATH=.:/c/mingw/bin:/usr/local/bin:/bin:$OSGEO4W_ROOT_MSYS/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/Subversion:$PWD/mswindows/osgeo4w<br /><br />T0=$(date +%s) <br />LT=$T0 <br />CS=&quot;&quot; <br /><br />log() { <br />&nbsp;&nbsp;&nbsp; local D T <br />&nbsp;&nbsp;&nbsp; NOW=$(date) <br />&nbsp;&nbsp;&nbsp; T=$(date +%s) <br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; if [ -n &quot;$CS&quot; ]; then <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; local D H M S <br />&nbsp;&nbsp;&nbsp;&nbsp; (( S=T-$LT )) <br />&nbsp;&nbsp;&nbsp;&nbsp; (( M=S/60 )); (( S=S%60 )) <br />&nbsp;&nbsp;&nbsp;&nbsp; (( H=M/60 )); (( M=M%60 )) <br />&nbsp;&nbsp;&nbsp;&nbsp; (( D=H/24 )); (( H=H%24 )) <br />&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp; echo -n &quot;$NOW: FINISHED $CS AFTER &quot; <br />&nbsp;&nbsp;&nbsp;&nbsp; (( D&gt;0 )) &amp;&amp; echo -n &quot;${D}d&quot; <br />&nbsp;&nbsp;&nbsp;&nbsp; (( H&gt;0 )) &amp;&amp; echo -n &quot;${H}h&quot; <br />&nbsp;&nbsp;&nbsp;&nbsp; (( M&gt;0 )) &amp;&amp; echo -n &quot;${M}m&quot; <br />&nbsp;&nbsp;&nbsp;&nbsp; echo &quot;${S}s&quot; <br />&nbsp;&nbsp;&nbsp; fi <br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; CS=&quot;$@&quot; <br />&nbsp;&nbsp;&nbsp; LT=$T <br />&nbsp;&nbsp;&nbsp; if [ -n &quot;$CS&quot; ]; then <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo $NOW: STARTING $CS <br />&nbsp;&nbsp;&nbsp; elif [ -n &quot;$T0&quot; ]; then <br />&nbsp;&nbsp;&nbsp;&nbsp; CS=&quot;COMPLETE RUN&quot; <br />&nbsp;&nbsp;&nbsp;&nbsp; LT=$T0 <br />&nbsp;&nbsp;&nbsp;&nbsp; T0=&quot;&quot; <br />&nbsp;&nbsp;&nbsp;&nbsp; log <br />&nbsp;&nbsp;&nbsp; fi <br />}<br /><br />exec 3&lt;include/VERSION <br />read MAJOR &lt;&amp;3 <br />read MINOR &lt;&amp;3 <br />read PATCH &lt;&amp;3 <br /><br />export VERSION=$MAJOR.$MINOR.$PATCH <br /><br />export GRASS_PYTHON=&quot;/c/OSGeo4W/bin/python.exe&quot;<br />export PYTHONHOME=&quot;/c/OSGeo4W/apps/Python25&quot;<br /><br />if [ -f mswindows/osgeo4w/package.log ]; then <br />&nbsp;&nbsp;&nbsp; i=0 <br />&nbsp;&nbsp;&nbsp; while [ -f mswindows/osgeo4w/package.log.$i ]; do <br />&nbsp;&nbsp;&nbsp;&nbsp; (( i++ )) <br />&nbsp;&nbsp;&nbsp; done <br />&nbsp;&nbsp;&nbsp; mv mswindows/osgeo4w/package.log mswindows/osgeo4w/package.log.$i <br />fi <br /><br />exec 3&gt;&amp;1 &gt;&gt; mswindows/osgeo4w/package.log 2&gt;&amp;1 <br /><br />[ -d mswindows/osgeo4w/lib ] || mkdir mswindows/osgeo4w/lib <br />cp -uv $OSGEO4W_ROOT_MSYS/lib/sqlite3_i.lib mswindows/osgeo4w/lib/libsqlite3.a <br />cp -uv $OSGEO4W_ROOT_MSYS/lib/proj.lib mswindows/osgeo4w/lib/libproj.a <br />cp -uv $OSGEO4W_ROOT_MSYS/lib/libtiff_i.lib mswindows/osgeo4w/lib/libtiff.a <br />cp -uv $OSGEO4W_ROOT_MSYS/lib/libpq.lib mswindows/osgeo4w/lib/libpq.a <br />cp -uv $OSGEO4W_ROOT_MSYS/lib/jpeg_i.lib mswindows/osgeo4w/lib/libjpeg.a <br />cp -uv $OSGEO4W_ROOT_MSYS/lib/zlib.lib mswindows/osgeo4w/lib/libz.a <br /><br />if ! [ -f mswindows/osgeo4w/configure-stamp ]; then<br /><br />&nbsp;&nbsp;&nbsp; if [ -e include/Make/Grass.make ] ; then<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; log make distclean<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; make distclean<br />&nbsp;&nbsp;&nbsp; fi<br /><br />&nbsp;&nbsp;&nbsp; log configure<br />&nbsp;&nbsp;&nbsp; ./configure \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-libs=&quot;$OSGEO4W_ROOT_MSYS/lib $PWD/mswindows/osgeo4w/lib&quot; \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-includes=$OSGEO4W_ROOT_MSYS/include \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --libexecdir=$OSGEO4W_ROOT_MSYS/bin \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --prefix=$OSGEO4W_ROOT_MSYS/apps/grass \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --bindir=$OSGEO4W_ROOT_MSYS/bin \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --includedir=$OSGEO4W_ROOT_MSYS/include \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --disable-x --without-x \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-cxx \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --enable-shared \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --enable-largefile \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --without-opengl \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-fftw \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-libz \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-freetype \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-proj-share=$OSGEO4W_ROOT_MSYS/share/proj \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-gdal=$PWD/mswindows/osgeo4w/gdal-config \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-geos=$PWD/mswindows/osgeo4w/geos-config \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-tcltk \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-sqlite \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-postgres \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-curses \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-regex \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-nls \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-freetype-includes=$OSGEO4W_ROOT_MSYS/include/freetype2 \<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-odbc<br /><br />&nbsp;&nbsp;&nbsp; touch mswindows/osgeo4w/configure-stamp<br />fi<br /><br />log make <br />make -k || ( cat error.log &gt;&amp;3 &amp;&amp; false ) <br /><br />log make install<br />make install<br /><br />log cleanup<br />mv $OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/include/grass/config.h \<br />&nbsp;&nbsp;&nbsp; $OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/include/grass/config.h.mingw<br />cp mswindows/osgeo4w/config.h.switch $OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/include/grass/config.h<br />cp mswindows/osgeo4w/config.h.vc $OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/include/grass<br />sed -e &quot;s#@VERSION@#$VERSION#g&quot; -e &quot;s#@osgeo4w@#$OSGEO4W_ROOT#g&quot; \<br />&nbsp;&nbsp;&nbsp; mswindows/osgeo4w/grass.bat.tmpl &gt;$OSGEO4W_ROOT_MSYS/bin/grass$MAJOR$MINOR.bat<br />sed -e &quot;s#@VERSION@#$VERSION#g&quot; -e &quot;s#@OSGEO4W_ROOT_MSYS@#$OSGEO4W_ROOT#g&quot; \<br />&nbsp;&nbsp;&nbsp; mswindows/osgeo4w/env.bat.tmpl &gt;$OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/etc/env.bat<br />sed -e &quot;s#@VERSION@#$VERSION#g&quot; -e &quot;s#@POSTFIX@#$MAJOR$MINOR#g&quot; \<br />&nbsp;&nbsp;&nbsp; mswindows/osgeo4w/postinstall.bat &gt;$OSGEO4W_ROOT_MSYS/etc/postinstall/grass$MAJOR$MINOR.bat <br />sed -e &quot;s#@VERSION@#$VERSION#g&quot; -e &quot;s#@POSTFIX@#$MAJOR$MINOR#g&quot; \<br />&nbsp;&nbsp;&nbsp; mswindows/osgeo4w/preremove.bat &gt;$OSGEO4W_ROOT_MSYS/etc/preremove/grass$MAJOR$MINOR.bat <br /><br />if [ -f /c/mingw/bin/libgnurx-0.dll ]; then<br />&nbsp;&nbsp;&nbsp; cp /c/mingw/bin/libgnurx-0.dll $OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/bin <br />&nbsp;&nbsp;&nbsp; cp /c/mingw/bin/libiconv-2.dll $OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/bin <br />&nbsp;&nbsp;&nbsp; cp /c/mingw/bin/libintl-8.dll $OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/bin<br />fi<br /><br /># P=&quot;$(pwd -W)&quot;<br /># P=&quot;${P//\//\\\\}\\\\dist.i686-pc-mingw32&quot;<br /><br /># sed -e &quot;s#$P#@osgeo4w@#g&quot; $OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/etc/fontcap &gt;$OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/etc/fontcap.tmpl<br /># rm &quot;$OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/etc/fontcap&quot;<br /><br />if [ -n &quot;$1&quot; ]; then<br />&nbsp;&nbsp;&nbsp; PACKAGE=&quot;$1&quot;<br />&nbsp;&nbsp;&nbsp; log building vc libraries <br />&nbsp;&nbsp;&nbsp; sh mswindows/osgeo4w/mklibs.sh $OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/lib/*.$VERSION.dll <br />&nbsp;&nbsp;&nbsp; mv mswindows/osgeo4w/vc/grass*.lib $OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/lib<br />&nbsp;&nbsp;&nbsp; # rm $OSGEO4W_ROOT_MSYS/apps/grass/grass-$VERSION/lib/*.dll<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; # log BUILDING GDAL GRASS plugins <br />&nbsp;&nbsp;&nbsp; # $COMSPEC /c &quot;mswindows\\osgeo4w\\gdalplugins.cmd $VERSION&quot; <br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; log CREATING PACKAGES <br />&nbsp;&nbsp;&nbsp; mkdir -p package/grass$MAJOR$MINOR <br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; PDIR=$PWD/package<br />&nbsp;&nbsp;&nbsp; SRC=$PWD<br />&nbsp;&nbsp;&nbsp; cd $OSGEO4W_ROOT_MSYS <br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; sed -e &quot;s#GISBASE_VALUE#@osgeo4w@\\\apps\\\grass\\\grass-$VERSION#g&quot; \<br />&nbsp;&nbsp;&nbsp; $SRC/lib/init/grass.src &gt;$OSGEO4W_ROOT_MSYS/bin/grass$MAJOR$MINOR.tmpl<br />&nbsp;&nbsp;&nbsp; sed -e &quot;s#@VERSION@#$VERSION#g&quot; \<br />&nbsp;&nbsp;&nbsp; $SRC/mswindows/osgeo4w/grass.bat.tmpl &gt;$OSGEO4W_ROOT_MSYS/bin/grass$MAJOR$MINOR.bat.tmpl<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; tar -cjf $PDIR/grass$MAJOR$MINOR/grass-$VERSION-$PACKAGE.tar.bz2 \<br />&nbsp;&nbsp;&nbsp; apps/grass/grass-$VERSION \<br />&nbsp;&nbsp;&nbsp; bin/grass$MAJOR$MINOR.bat.tmpl \<br />&nbsp;&nbsp;&nbsp; bin/grass$MAJOR$MINOR.tmpl \<br />&nbsp;&nbsp;&nbsp; bin/libintl3.dll \<br />&nbsp;&nbsp;&nbsp; bin/libiconv2.dll \<br />&nbsp;&nbsp;&nbsp; bin/regex2.dll \<br />&nbsp;&nbsp;&nbsp; etc/postinstall/grass$MAJOR$MINOR.bat \<br />&nbsp;&nbsp;&nbsp; etc/preremove/grass$MAJOR$MINOR.bat<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; rm bin/grass$MAJOR$MINOR.tmpl<br />&nbsp;&nbsp;&nbsp; rm bin/grass$MAJOR$MINOR.bat.tmpl<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; cd $PDIR/.. <br />&nbsp;&nbsp;&nbsp; svn diff &gt;/tmp/grass-$VERSION.diff<br />&nbsp;&nbsp;&nbsp; tar -C /tmp -cjf $PDIR/grass$MAJOR$MINOR/grass-$VERSION-$PACKAGE-src.tar.bz2 grass-$VERSION.diff <br />fi<br /><br />log <br /><br />exit 0<br /></br><br><br><br><hr>Vous &ecirc;tes c&eacute;libataires ? D&eacute;couvrez nos 10 destinations de vacances tendances sur&nbsp;<a href="http://actu.voila.fr/evenementiel/VacancesEte2011/vacances-pour-celibataires/grece-corfou-la-romantique_226870.html#photo" target="_blank">Voila.fr</a>