Hi Chris,

Great progress, I think you are pretty much there.

Comments below.

On Jan 3, 2010, at 8:13 AM, owntheweb wrote:

>
> Sorry to keep posting on this. I made significant progress and am  
> hung up on
> something else now. Almost there! :)
>
> I installed icu:
> (OK): sudo port install icu
>
> Then ran the following:
> (OK): sudo bjam  --with-regex   toolset=darwin   -sHAVE_ICU=1
> -sICU_PATH=/opt/local   -a install
>

Okay, looks good. Note that Mapnik does need ICU but compiling boost  
with ICU support is optional.


> Then this:
> (OK): python scons/scons.py configure DEBUG=True INPUT_PLUGINS='all'
>
> Here's where the problem occurred:
> (FAIL): python scons/scons.py install DEBUG=y
>
> ...
> local/lib/postgresql83 -lagg -lfreetype -lltdl -lpng -ltiff -lz -ljpeg
> -lproj -licuuc -lboost_filesystem -lboost_regex -lcairomm-1.0 - 
> lcairo -lxml2
> -lboost_thread -lboost_system
> Install file: "src/libmapnik.dylib" as "/usr/local/lib/ 
> libmapnik.dylib"
> scons: *** [/usr/local/lib/libmapnik.dylib] /usr/local/lib/ 
> libmapnik.dylib:
> Permission denied
> scons: building terminated because of errors.
>

You need 'sudo' to put things into /usr/local on a mac, so do:

sudo python scons/scons.py install


> I didn't see the file there, so could there be a folder permissions  
> issue?
> Also, I will try to install the following optional dependencies:
>
> ...
> Note: will build without these optional dependencies:
>   - ociei
>   - rasterlite
>   - pycairo

Ah, I see you are building from trunk, since rasterlite is listed there.

I would recommend building from the 0.7 branch:

svn co http://svn.mapnik.org/branches/0.7

As far the other optional items missing there, I doubt you need  
'ociei' that is the oracle database plugin that has oracle dependencies.

And compiling without pycairo is fine too at first. I would recommend  
getting Mapnik running then,recompiling if you need cairo support (for  
PDF/SVG output).

Dane

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to