All, I have been wrestling with compiling/installing 0.3.7 for the better part of two days. The "configure" script runs for about 25 minutes with everything looking ok, and then dies, declaring that it can't find the Boost components. I previously installed the latest Boost version according to their instructions in a directory $HOME/boost_1_32_0. I am using Cygwin (to emulate Linux) under Windows XT with gcc 3.3.3 (Cygwin special). I have played with various environment settings, and experimented with carving up the huge "configure" script, to no avail so far. I am completely new to Boost and QuantLib. My immediate goal is to play around with basic code using the QuantLib classes, in order to familiarize myself with them. So I don't need any special performance or threading or whatever doo-dah options that might be provided. Can anyone suggest a simple cookbook procedure (what env settings to use, basic commands to use) for installing (the basics of) Boost and QuantLib? (The directions, unless I'm missing something, don't work for me.) If using an earlier version than 0.3.7 would be considerably easier, that would be ok too. If there's something inherently fishy about Cygwin, I can switch to a Sun Solaris 9 environment with gcc. Any suggestions here would be much appreciated. Thanks in advance,
|
On 2004.11.30 16:51, Harold Teichman wrote:
> I have been wrestling with compiling/installing 0.3.7 for the better part > of two days. The "configure" script runs for about 25 minutes with > everything looking ok, and then dies, declaring that it can't find the > Boost components. Harold, 25 minutes is an awful lot of time. It's more like a couple of minutes on my box. What kind of machine are you using? Secondly: when configure aborts, you should have a config.log file in the same directory with more details about the failure. May you have a look at it and see why the check fails? It might give you hints about missing include paths and such. > Can anyone suggest a simple cookbook procedure (what env settings to use, > basic commands to use) for installing (the basics of) Boost and QuantLib? As for Boost, the directions at <http://www.boost.org/more/getting_started.html> should work. As for QuantLib under Cygwin, there was a related thread on this mailing list a while ago. Let me look for it... here it is: <http://sourceforge.net/mailarchive/forum.php?thread_id=5233521&forum_id=4299> Let me know if this helps. Later, Luigi P.S. Release 0.3.8 (out shortly) will include support for Dev-C++ and MinGW, which might be a viable alternative to Cygwin on Windows systems. |
In reply to this post by Harold Teichman
Luigi, many thanks for your help here. I have now successfully compiled and installed the package. The missing link for me was the env assignments (leaving other env variables as they were): LDFLAGS=-L/usr/local/lib
I hadn't realized that /usr/local/lib was the location of the Boost libraries. I'm running Windows XP Professional 2002 SP 2 on a Pentium 4 at 2.66 GHz with 0.5 GB RAM. Each phase of the installation process, for both Boost and QuantLib (configure, make, make install and the like) took between about 30 and 120 minutes with Cygwin gcc. |
Free forum by Nabble | Edit this page |