Hi Claire,
I am able to complete the Getting Started tutorial without error (Any
more tutorials out there?).
I built and installed proj4 version 4.6.0 but installed mapnik 0.5.1
as a download, not from the svn trunk. Not sure if that would have
anything to do with it?
Sorry I am so new to this I'm not sure I am much help..
-c
On Apr 21, 2008, at 2:18 PM, Claire McLister wrote:
Hi Collin,
Glad to know it works for you. Are you able to get a map of the
world-borders as in the 'Getting Started' page?
I am still getting a bad Envelope value when it reads the shapefile
for the world_borders.shp.
Envelope
(4.157518931977256e
-317,4.15549523909189e
-317,4.157455691574588e-317,-1.62334203800658e-118)
Was wondering if it could be the proj4 version. I've tried with
versions 4.4.9 and 4.6.0 and didn't seem to matter.
I did a complete clean and rebuilt specifically according to
Justin's instructions below (with boost 1.35, mapnik r694 + patch)
and am still having the same issue ...
Claire
On Apr 21, 2008, at 6:53 AM, Collin Olan wrote:
Perfect, thank you! That worked for me as far as my installation
issue Re: OS X build issues.
-c
On Apr 18, 2008, at 11:22 AM, Justin Bronn wrote:
I just rebuilt both a debug build and non-debug build using r694.
I had
no problems running the demo with both builds using Boost 1.34.1.
However, I ran into problems with the recently released Boost 1.35
and I've created a ticket with a patch that fixes these issues:
http://trac.mapnik.org/ticket/90
I've found that removing all previous attempted mapnik installs
prior to
attempting a recompile is essential. Thus, _before_ you
instantiate scons, clean up all your previous install attempts.
Attached is the shell script I use (modify accordingly).
When building Boost in OSX I've found that it is best to use their
`bjam` tool rather than their `configure` script. Note that if
you have a dual-core system you can add the `-j2` flag to both
`bjam` and `scons` to take advantage of both cores:
$ tar xjvf boost_1_35_0.tar.bz2
$ cd boost_1_35_0
$ export BOOST=`pwd`
$ cd tools/jam/src
$ ./build.sh darwin
$ cd bin.macosxx86/
$ export PATH=`pwd`:$PATH
$ cd $BOOST
$ bjam --toolset=darwin \
--with-thread --with-filesystem --with-iostreams \
--with-regex --with-program_options --with-python \
--with-system stage
$ sudo bjam --toolset=darwin \
--with-thread --with-filesystem --with-iostreams \
--with-regex --with-program_options --with-python \
--with-system install
After applying the patch from ticket #90 (assuming in Mapnik
source directory):
$ python scons/scons.py PREFIX=/usr/local BOOST_INCLUDES=/usr/
local/include/boost-1_35 BOOST_TOOLKIT=1_35
$ sudo python scons/scons.py PREFIX=/usr/local BOOST_INCLUDES=/usr/
local/include/boost-1_35 BOOST_TOOLKIT=1_35 install
-Justin
#!/bin/sh
PREFIX=/usr/local
PYTHON_PREFIX=/Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages
# Uninstalling Python `mapnik` module.
rm -fr $PYTHON_PREFIX/mapnik
# Uninstalling mapnik
rm -fr $PREFIX/include/mapnik
rm -fr $PREFIX/lib/mapnik
rm -f $PREFIX/lib/libmapnik.*
rm $PREFIX/bin/shapeindex
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users