Trying to build mapnik on 10.4.11

I'm running into a problem directing scons.py to find my boost installs.

Can anyone spot what might be going wrong?

-------

spring-2:~/src/mapnik_feb15 spring$ python scons/scons.py  
JPEG_INCLUDES=/Library/Frameworks/UnixImageIO.framework/unix/include  
JPEG_LIBS=/Library/Frameworks/UnixImageIO.framework/unix/lib  
PGSQL_INCLUDES=/usr/local/pgsql/include PGSQL_LIBS=/usr/local/pgsql/ 
lib BOOST_INCLUDES=/opt/local/include/boost-1_34_1 BOOST_LIBS=/opt/ 
local/lib
scons: Reading SConscript files ...
Building on Darwin ...
Checking for C library m... yes
Checking for C library ltdl... yes
Checking for C library png... yes
Checking for C library tiff... yes
Checking for C library z... yes
Checking for C library jpeg... yes
Checking for C library proj... yes
Checking for C library iconv... yes
Checking for C library pq... yes
Checking for C++ library gdal... yes
Checking for C++ library boost_filesystem-mt... no
Could not find header or shared library for boost filesystem, exiting!

-------


I installed boost using MACPORTS which put headers here, for example:

/opt/local/include/boost-1_34_1/boost/filesystem/operations.hpp
/opt/local/include/boost-1_34_1/boost/regex.hpp

and put libraries and symlinks here:

/opt/local/lib...

spring-2:~/src/mapnik_feb15 spring$ ls -l /opt/local/lib/ 
libboost_filesystem*

-rw-r--r--   2 root  admin   81604 Feb 15 12:12 /opt/local/lib/ 
libboost_filesystem-1_34_1.a
-rwxr-xr-x   2 root  admin   66388 Feb 15 12:12 /opt/local/lib/ 
libboost_filesystem-1_34_1.dylib
-rw-r--r--   2 root  admin  410068 Feb 15 12:12 /opt/local/lib/ 
libboost_filesystem-d-1_34_1.a
-rwxr-xr-x   2 root  admin  367408 Feb 15 12:12 /opt/local/lib/ 
libboost_filesystem-d-1_34_1.dylib
lrwxr-xr-x   1 root  admin     165 Feb 15 12:13 /opt/local/lib/ 
libboost_filesystem-d.a -> /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_b 
oost/work/destroot/opt/local/lib/libboost_filesystem-d-1_34_1.a
lrwxr-xr-x   1 root  admin     169 Feb 15 12:13 /opt/local/lib/ 
libboost_filesystem-d.dylib -> /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_b 
oost/work/destroot/opt/local/lib/libboost_filesystem-d-1_34_1.dylib
-rw-r--r--   2 root  admin   81604 Feb 15 12:12 /opt/local/lib/ 
libboost_filesystem-mt-1_34_1.a
-rwxr-xr-x   2 root  admin   66388 Feb 15 12:12 /opt/local/lib/ 
libboost_filesystem-mt-1_34_1.dylib
-rw-r--r--   2 root  admin  410068 Feb 15 12:12 /opt/local/lib/ 
libboost_filesystem-mt-d-1_34_1.a
-rwxr-xr-x   2 root  admin  367408 Feb 15 12:12 /opt/local/lib/ 
libboost_filesystem-mt-d-1_34_1.dylib
lrwxr-xr-x   1 root  admin     168 Feb 15 12:13 /opt/local/lib/ 
libboost_filesystem-mt-d.a -> /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_b 
oost/work/destroot/opt/local/lib/libboost_filesystem-mt-d-1_34_1.a
lrwxr-xr-x   1 root  admin     172 Feb 15 12:13 /opt/local/lib/ 
libboost_filesystem-mt-d.dylib -> /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_b 
oost/work/destroot/opt/local/lib/libboost_filesystem-mt-d-1_34_1.dylib
lrwxr-xr-x   1 root  admin     166 Feb 15 12:13 /opt/local/lib/ 
libboost_filesystem-mt.a -> /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_b 
oost/work/destroot/opt/local/lib/libboost_filesystem-mt-1_34_1.a
lrwxr-xr-x   1 root  admin     170 Feb 15 12:13 /opt/local/lib/ 
libboost_filesystem-mt.dylib -> /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_b 
oost/work/destroot/opt/local/lib/libboost_filesystem-mt-1_34_1.dylib
lrwxr-xr-x   1 root  admin     163 Feb 15 12:13 /opt/local/lib/ 
libboost_filesystem.a -> /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_b 
oost/work/destroot/opt/local/lib/libboost_filesystem-1_34_1.a
lrwxr-xr-x   1 root  admin     167 Feb 15 12:13 /opt/local/lib/ 
libboost_filesystem.dylib -> /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_b 
oost/work/destroot/opt/local/lib/libboost_filesystem-1_34_1.dylib

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

Reply via email to