OK.

I installed Cairo and GDAL frameworks from William's site.

However, Mapnik can see properly the installed cairo.

William did a mistake in his documentation, Readme

export PATH=/Library/Frameworks/cairo/Programs:$PATH

It is actually installed in cairo.framework.

So I did this.

export PATH=/Library/Frameworks/cairo.framework/Programs:$PATH

Did not work.

I even do this:

./configure --with-cairo PATH=/Library/Frameworks/cairo.framework/

Still I got this logs.

Checking for name of ogr library... gdal
Checking for pg_config... yes
Checking for C library sqlite3... yes
Checking for pkg-config... yes
Checking for cairo... no
Checking for C++ header file boost/python/detail/config.hpp... yes
Checking for pkg-config... yes
Checking for pycairo... no

######################
I even did this as well

sudo ln -sfh [ver] /Library/Frameworks/cairo.framework/Versions/Current

How do you hack this configure to include cairo?

Noli




On 10/12/11, Dane Springmeyer <[email protected]> wrote:
>
> On Oct 11, 2011, at 8:20 PM, Noli Sicad wrote:
>
>> I managed to compile Mapnk2.
>>
>> Before making the install.
>>
>> No gdal org, no cairo and no pycairo.
>
> TileMill does not use the python bindings (so pycairo is not needed and it
> is optional anyway with the python bindings)
>
> TileMill detects cairo support and enables PDF/SVG output if it is present
> but it does not need to be
>
> TileMill will work just fine without gdal support, but loading raster images
> will not work.
>
>>
>> I am intending to use with TileMill.
>>
>> Is this fine / OK?
>
>
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to