mapnik-packaging
mapnik-packaging copied to clipboard
various windows issues
reported by mike ladwig on mapnik users list:
With no answer on the .lib question (and seeing that others have asked for it previously) I attempted to build Mapnik for windows using the instructions found in mapnik-packaging. The instructions for building the dependencies are very good (below I listed a few issues I found and overcame). Unfortunately, as has been posted here before there are no instructions on how to build mapnik itself; the build-mapnik.bat file is not complete. Worse, it is unclear how to use the files in mapnik-packaging/windows. Many files are related to dependency building and belong at the dev2 top level, other files and the directories seem to need to be moved or added to the standard mapnik directory, but the instructions don't say.
Has anyone been able to figure this out?
------------ Dependency build notes --------------
- install msysgit to c:\Git (install instruct) or c:\msysgit (env setup script)
- zlib @ version 1.2.7 instead of 1.2.5
- an error comes up in libpq build. ignore?
- inconsistent use of cd %ROOTDIRS%, suggest at top of each new tool build section
- proj4, unzip of grids in packages dir, not dev2 dir
- expat install instructions don't work (bin installer in packages) where to run from
- where to edit name.opt for GDAL? (assume mean nmake.opt)
- curl load command for libsigc++ did not work, had to use browser
compile tiff ,I get error: sed %PATTERN% nmake.opt > nmake.opt.fixed "sed" not internal or external command, also not be operation of the procedure
you need to install sed
I try to modify the nmake.opt directly, tiff can compile successful!