hi,

I was able to resolve this issue. There were 2 versions of libicu and
i removed the older one through the rpm -qa process and viola... i was
able to compile libicu, boost-1.4.2 and mapnik2

However I end up with some other error.

Thanks for all your help on the IRC channel as well as in this mailing list

Regards
Shann

On Wed, Apr 7, 2010 at 11:33 PM, Prashant N <[email protected]> wrote:
> hi,
>
> I was able to resolve this issue. There were 2 versions of libicu and
> i removed the older one through the rpm -qa process and viola... i was
> able to compile libicu, boost-1.4.2 and mapnik2
>
> However I end up with some other error.
>
> Thanks for all your help on the IRC channel as well as in this mailing list
>
> Regards
> Shann
>
> On Wed, Apr 7, 2010 at 7:40 PM, Waldemar Quevedo
> <[email protected]> wrote:
>> Hi!
>>
>> This is probably caused because you have a previous ICU in your system. You
>> could try
>>
>> ldd /usr/local/lib/libboost_regex.so
>>
>> to see if your new version of boost is linking to the proper version of
>> libicu. If it is not, then try to remove that older version.
>> (I'm also new at this so please feel free to correct me if I'm wrong)
>>
>> So one way to do it would be to check out what is on your /usr/lib/ and
>> /usr/local/lib directories.
>> The new libicu will most likely be installed on /usr/local/lib but when you
>> compile boost, it is linking to what you have on /usr/lib, so if there is an
>> older version of libicu there, you will get this message.
>> Tell me if you still have any problems.
>> - Waldemar
>> On Apr 7, 2010, at 8:17 AM, Prashant N <[email protected]> wrote:
>>
>> 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
>>
>
>
>
> --
> Thanks & Regards
> Prashant N
> http://openenter.blogspot.com
>



-- 
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