[ quantlib-Bugs-1603024 ] ./configure fails on Mac OS X 10.4

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ quantlib-Bugs-1603024 ] ./configure fails on Mac OS X 10.4

SourceForge.net
Bugs item #1603024, was opened at 2006-11-25 22:45
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=1603024&group_id=12740

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: ./configure fails on Mac OS X 10.4

Initial Comment:
It is my first time to install Boost and Quantlib on my Mac OS X, but it is not successfull yet, so I wish I could get some help.

I have installed boost_1_33_1 in a directory:
~/Study/Programming/Boost/boost_1_33_1/
, which includes both /boost and /libs directories.

In the Quantlib directory (I'm using QuantLib-0.3.14), if I run
sh -x ./configure
then, a file 'config.log' is generated. Inside the log file, some of the error messages read
===========================================
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
conftest.cpp:21:28: error: ac_nonexistent.h: No such file or directory
configure; failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "QuantLib"
...
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
...
conftest.cpp:25: error: 'M_SQRT_2' was not declared in this scope
conftest.cpp:26: error: 'M_SQRTPI' was not declared in this scope
...
conftest.cpp:24:29: error: boost/version.hpp No such file or directory
conftest.cpp:25:37: error: boost/shared_ptr.hpp: No such file or directory
conftest.cpp:26:33: error: boost/assert.hpp: No such file or directlry
conftest.cpp:27:43: error: boost/current_function.hpp: No such file or directory
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "QuantLib"
...
| /* end confdefs.h. */
| #include < boost/version.hpp >
| #include < boost/shared_ptr.hpp >
| #include < boost/assert.hpp >
| #include < boost/current_function.hpp >
...
configure:20272: result: no
configure:20274: error: Boost development files not found
===========================================

Currently, my .hpp files such as version.hpp etc. are located in ~/Study/Programming/Boost/boost_1_33_1/libs. I assume that the errors occurs owing to the incorrect PATH, but I do not know how to fix it. I will appreciate much if anybody help me out.

Many thanks.





----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2007-10-03 12:48

Message:
Logged In: NO

Hi, I compiled and installed both boost and quantlib on my macbook:
Download sources, un-tar.gz into directory, ./configure, make, sudo make
install. Boost installed itself into /usr/local/include/boost-1_34_1/boost.
 I linked it to /usr/local/include/boost so that quantlib could find it.
Then ./configure etc. for ql. Cheers Christian

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=1603024&group_id=12740

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev