Hi,

I am trying to compile mapnik 0.7.1. I have compiled the ICU & boost
as instructed in the wiki page

http://trac.mapnik.org/wiki/Mapnik2#fromlatestrelease|Mapnik2%27s

the ICU and boost compile properly with boost recognizing and building
with boost.regex support enabled

However when I try to build mapnik I always end up with the error

Checking for C++ library boost_regex... no
Could not find required header or shared library for boost regex

The whole output on the screen is
============================================================================================================
python scons/scons.py configure OPTIMIZATION=3
scons: Reading SConscript files ...
Welcome to Mapnik...
Configuring build environment...
Configuring on Linux in *release mode*...
Checking for freetype-config... yes
Checking for xml2-config... yes
Checking for pkg-config... yes
Checking for cairomm-1.0... no
Sorting lib and inc compiler paths by priority...
internal,other,frameworks,user,system(cached) yes
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 icuuc... yes
Searching for boost libs and headers... (cached)
  *libs found: /usr/local/lib
  *headers found: /usr/local/include
  *no lib naming extension found
Checking for Boost version >= 1.34... yes
Found boost lib version... 1_42
Checking for C++ library boost_system... yes
Found boost lib version... 1_42
Checking for C++ library boost_system... yes
Checking for C++ library boost_filesystem... yes
Checking for C++ library boost_regex... no
Could not find required header or shared library for boost regex
Checking for C++ library boost_iostreams... yes
Checking for C++ library boost_program_options... yes
Checking for C++ library boost_thread... yes
Checking for requested plugins dependencies...
Checking for pg_config... yes
Checking for C++ header file boost/python/detail/config.hpp... yes
Checking for pkg-config... yes
Checking for pycairo... no
Exiting... the following required dependencies were not found:
   - boost regex (more info see:
http://trac.mapnik.org/wiki/MapnikInstallation & http://www.boost.org)
See the 'config.log' for details on possible problems.
Also, these OPTIONAL dependencies were not found:
   - cairo (Cairo C library | configured using pkg-config | try
setting PKG_CONFIG_PATH SCons option)
   - cairomm (Cairomm C++ bindings to Cairo library | configured using
pkg-config | try setting PKG_CONFIG_PATH SCons option)
   - pycairo (Python bindings to Cairo library | configured using
pkg-config | try setting PKG_CONFIG_PATH SCons option)
Set custom paths to these libraries and header files on the
command-line or in a file called 'config.py'
    ie. $ python scons/scons.py BOOST_INCLUDES=/usr/local/include/
BOOST_LIBS=/usr/local/lib
Once all required dependencies are found a local 'config.py' will be
saved and then install:
    $ sudo python scons/scons.py install
To view available path variables:
    $ python scons/scons.py --help or -h
To view overall SCons help options:
    $ python scons/scons.py --help-options or -H
More info: http://trac.mapnik.org/wiki/MapnikInstallation
============================================================================================================

I also read the paragraph which outlines this issue. But where to copy
the libicu* and recompile boost?

Can you please help me to resolve this?
-- 
Thanks & Regards
Prashant N
http://openenter.blogspot.com
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to