On Dec 15, 2009, at 4:35 AM, Anisha Kaul wrote:

> Therefore now for mapnick to find cairo I issued the following  
> command combined with the boost one :
>
> python scons/scons.py CAIRO_INCLUDES=/usr/include/cairo/ CAIRO_LIBS=/ 
> usr/lib/libcairo.so.1.0
>
> But mapnick couldn't find cairo files and again showed the above  
> message !!
>
>

First, the INCLUDES/LIBS directives expect a directory like /usr/ 
include or /usr/lib not the actual library name.

Also, in the specific case of Cairo, pkg-config is actually required  
to locate it and Scons will not use the options you have sent.

For Cairo you need to make sure pkg-config is found on your system and  
it is able to locate Cairo.

On my system I can test the command:

$ /opt/local/bin/pkg-config --libs cairo
-L/opt/local/lib -lcairo -lpixman-1 -lfontconfig -lexpat -lfreetype - 
liconv -lpng12 -lz

But, in general the Cairo dependency is optional, so I would focus on  
trying to satisfy the other requirements it appears you are  
missing.... proj4, icu, and boost filesystem.

See also for more info:

http://trac.mapnik.org/wiki/UsingScons

Dane

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

Reply via email to