Changing boost libraries

View: New views
5 Messages — Rating Filter:   Alert me  

Changing boost libraries

by James McManus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When configuring mapnik I get the following message:

Exiting... the following required dependencies were not found:
   - boost regex
   - boost iostreams
   - boost thread

I took a look at config.log and it is using my boost libraries in /usr/local/lib.  I would like to try my boost libraries in /usr/lib64.  How do I point to these using scons? I've not found any reference to boost in scons.py --help.

Thanks
Jim

_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

Re: Changing boost libraries

by Richard Ive :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

BOOST_INCLUDES: Search path for boost include files
    default:
    actual: /usr/local/include/boost-1_39


Have your tried that?

2009/9/9 James McManus <jmpmcmanus@...>
When configuring mapnik I get the following message:

Exiting... the following required dependencies were not found:
   - boost regex
   - boost iostreams
   - boost thread

I took a look at config.log and it is using my boost libraries in /usr/local/lib.  I would like to try my boost libraries in /usr/lib64.  How do I point to these using scons? I've not found any reference to boost in scons.py --help.

Thanks
Jim

_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users




--
Regards,
Richard Ive.

_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

Re: Changing boost libraries

by James McManus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That did not work. But I found that if I temporarily hid the boost directory in /usr/local/include, it then finds the boost directory in /usr/include.

I'm not getting the dependency error with boost under /usr.  My build of boost under /usr/local does have regex, iostreams and thread files, but I had some errors compiling it.  That must be the root of my problem.

Jim
On Wed, Sep 9, 2009 at 6:23 AM, Richard Ive <richard@...> wrote:
BOOST_INCLUDES: Search path for boost include files
    default:
    actual: /usr/local/include/boost-1_39


Have your tried that?

2009/9/9 James McManus <jmpmcmanus@...>
When configuring mapnik I get the following message:

Exiting... the following required dependencies were not found:
   - boost regex
   - boost iostreams
   - boost thread

I took a look at config.log and it is using my boost libraries in /usr/local/lib.  I would like to try my boost libraries in /usr/lib64.  How do I point to these using scons? I've not found any reference to boost in scons.py --help.

Thanks
Jim

_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users




--
Regards,
Richard Ive.


_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

Re: Changing boost libraries

by Richard Ive :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Not sure if this is any help, or not, but I did:

$ tar xjd boost_1_39_0.tar.bz2
$ cd boost_1_39_0
$ ./bootstrap.sh --libdir=/usr/local/lib --includedir=/usr/local/include --with-libraries=all
$ su
# ./bjam install



2009/9/9 James McManus <jmpmcmanus@...>
That did not work. But I found that if I temporarily hid the boost directory in /usr/local/include, it then finds the boost directory in /usr/include.

I'm not getting the dependency error with boost under /usr.  My build of boost under /usr/local does have regex, iostreams and thread files, but I had some errors compiling it.  That must be the root of my problem.

Jim

On Wed, Sep 9, 2009 at 6:23 AM, Richard Ive <richard@...> wrote:
BOOST_INCLUDES: Search path for boost include files
    default:
    actual: /usr/local/include/boost-1_39


Have your tried that?

2009/9/9 James McManus <jmpmcmanus@...>
When configuring mapnik I get the following message:

Exiting... the following required dependencies were not found:
   - boost regex
   - boost iostreams
   - boost thread

I took a look at config.log and it is using my boost libraries in /usr/local/lib.  I would like to try my boost libraries in /usr/lib64.  How do I point to these using scons? I've not found any reference to boost in scons.py --help.

Thanks
Jim

_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users




--
Regards,
Richard Ive.




--
Regards,
Richard Ive.

_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

Re: Changing boost libraries

by Dane Springmeyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi James,

If you file a ticket on this I'll look into adding this flexibility to  
our Scons scripts.

Dane


On Sep 8, 2009, at 5:16 PM, James McManus wrote:

> When configuring mapnik I get the following message:
>
> Exiting... the following required dependencies were not found:
>    - boost regex
>    - boost iostreams
>    - boost thread
>
> I took a look at config.log and it is using my boost libraries in /
> usr/local/lib.  I would like to try my boost libraries in /usr/
> lib64.  How do I point to these using scons? I've not found any  
> reference to boost in scons.py --help.
>
> Thanks
> Jim
> _______________________________________________
> Mapnik-users mailing list
> Mapnik-users@...
> https://lists.berlios.de/mailman/listinfo/mapnik-users

_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users