#744: package.sh for compiling on windows
-------------------------------+--------------------------------------------
Reporter: hellik | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: Compiling | Version: svn-develbranch6
Keywords: Compiling, MS Win | Platform: MSWindows Vista
Cpu: Unspecified |
-------------------------------+--------------------------------------------
taken from http://lists.osgeo.org/pipermail/grass-user/2009-
September/052261.html:
hi
i've looked at package.sh at rev39042 for develbranch65:
#744: package.sh for compiling on windows
------------------------------+---------------------------------------------
Reporter: hellik | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: Compiling | Version: svn-develbranch6
Resolution: | Keywords: wingrass
Platform: MSWindows Vista | Cpu: Unspecified
------------------------------+---------------------------------------------
Comment (by cnielsen):
I've updated the CompileOnWindows wiki page to reflect recent updates to
package.sh. Look at the GRASS-6.4.0 section and adapt the line numbers for
develbranch_6.
The default paths were from Jurgen, but as hamish noted in a comment in
r39046, these should probably be changed to be more general.
%PROGRAMFILES% wouldn't be so good because of continuing issues with
paths-with-spaces, but maybe it should be changed to /c/osgeo4w/ to
reflect the suggested path in CompileOnWindows?
I added instructions to remove the {{{-j4}}} from the make command because
I got errors, similarly with the bottom half of the script which is
designed to build osgeo4w packages (using VC) and isn't needed for normal
builds... but maybe I'm missing something.
#744: package.sh for compiling on windows
------------------------------+---------------------------------------------
Reporter: hellik | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: Compiling | Version: svn-develbranch6
Resolution: | Keywords: wingrass
Platform: MSWindows Vista | Cpu: Unspecified
------------------------------+---------------------------------------------
Comment (by hellik):
thanks for updating the wiki!
{{{
And comment out (by adding a # to the start of the line) to lines 83-85,
e.g.: #cp /c/mingw/bin/libgnurx-0.dll $OSGEO_ROOT_MSYS/bin #cp /c/mingw/bin/libiconv-2.dll $OSGEO_ROOT_MSYS/bin #cp /c/mingw/bin/libintl-8.dll $OSGEO_ROOT_MSYS/bin
}}}
Replying to [comment:3 hellik]:
> thanks for updating the wiki!
>
> {{{
> And comment out (by adding a # to the start of the line) to lines 83-85,
e.g.:
> #cp /c/mingw/bin/libgnurx-0.dll $OSGEO_ROOT_MSYS/bin
> #cp /c/mingw/bin/libiconv-2.dll $OSGEO_ROOT_MSYS/bin
> #cp /c/mingw/bin/libintl-8.dll $OSGEO_ROOT_MSYS/bin
> }}}
>
> shouldn't this lines 87-89?
> http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/mswindows/osgeo4w/package.sh#L87