Quantlib Configuration Is Not Finding Boost

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Quantlib Configuration Is Not Finding Boost

Peter C. Stockman
Quantlib Configuration Is Not Finding Boost I am on a MacBook Pro running OS 10.5.6.

I have built (successfully, I think) the Boost libraries.  When I try to configure (./configure) quantlib  I get the following message:


checking for M_1_SQRTPI... no
checking for Boost development files... no
configure: error: Boost development files not found

I think that subdirectory containing the Boost files it is looking for is not in the PATH.

Which subdirectory is this and how do I add it to the PATH definition.  (Probably 20 years since I last used Unix).

Peter


--
Peter C. Stockman
+1 860 663 1810 (Office & Voicemail)
+1 917 968 7406 (Cell)
peter.c.stockman@...
www.deeprivergroup.com

------ End of Forwarded Message

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Quantlib Configuration Is Not Finding Boost

tamasrs (Bugzilla)
Hello Peter,

where is your boost libraries and headers? Have you used sudo make  
install with boost? If so, then boost headers should be located in /
usr/local/include but by default boost creates a directory here called  
boost-* (* is your version, eg 1.38, on my mac: /usr/local/include/
boost-1_38)

so you may want to do

sudo ln -s /usr/local/include/boost-1_38/boost /usr/local/include/boost

then re-run configure

or use:

../configure --with-boost-include=Where_is_your_boost_heathers  --with-
boost-lib=where_the_boost_libs_are

so in my case:

../configure --with-boost-include=/usr/local/include/boost-1_38  --with-
boost-lib=/usr/local/lib

Best,

TRS


On 22 Feb 2009, at 00:16, Peter C. Stockman wrote:

> I am on a MacBook Pro running OS 10.5.6.
>
> I have built (successfully, I think) the Boost libraries.  When I  
> try to configure (./configure) quantlib  I get the following message:
>
>
> checking for M_1_SQRTPI... no
> checking for Boost development files... no
> configure: error: Boost development files not found
>
> I think that subdirectory containing the Boost files it is looking  
> for is not in the PATH.
>
> Which subdirectory is this and how do I add it to the PATH  
> definition.  (Probably 20 years since I last used Unix).
>
> Peter
>
>
> --
> Peter C. Stockman
> +1 860 663 1810 (Office & Voicemail)
> +1 917 968 7406 (Cell)
> [hidden email]
> www.deeprivergroup.com
>
> ------ End of Forwarded Message
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San  
> Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the  
> Enterprise
> -Strategies to boost innovation and cut costs with open source  
> participation
> -Receive a $600 discount off the registration fee with the source  
> code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users