Re: How to build the test-suite executables?

Posted by Dirk Eddelbuettel on
URL: http://quantlib.414.s1.nabble.com/How-to-build-the-test-suite-executables-tp4837p4844.html


On 8 June 2006 at 20:44, Moreton, Peter wrote:
| Hi,
|  
| I'm new to Quantlib, and need some advice on how to build the Test-Suite executables. I'm running Ubuntu 6.06, and have built the boost libraries, and Quantlib, and have been able to compile up the examples (Swap, BermudanSwaption, ConvertibleBonds etc) and execute and benchmark these just fine.
|  
| Now I'd like to get the EuropeanOption code working, and I can see an example of this under test-suite, and I see a EuropeanOption.cpp and the .o file, but no executable? Should I be able to build a standalone .exe?
|  
| Could someone pls put me out of my misery, and tell me what I'm doing wrong? - thanks.

You could download the source package of my Debian packages and look at what
they do.  But to cut through the suspense it is mostly just 'configure;
make; make install'.  That seems to build the examples for me too.

Or just install the binaries... On my Ubuntu 5.10 box I see
edd@joe:~$ apt-cache search quantlib
libquantlib-0.3.9c2 - Quantitative Finance Library -- development package
libquantlib0-dev - Quantitative Finance Library -- library package
quantlib-examples - Quantitative Finance Library -- example binaries
quantlib-python - Python bindings for the Quantlib Quantitative Finance library
quantlib-refman - Quantitative Finance Library -- reference manual
quantlib-refman-html - Quantitative Finance Library -- reference manual in html
quantlib-ruby - Ruby bindings for the Quantlib Quantitative Finance library
r-cran-rquantlib - GNU R package interfacing the QuantLib finance library

The net has quite a few tutorials about (locally re-)building Debian (and
hence Ubuntu) packages -- so this may be an alternative to you.

Hope this helps,  Dirk

--
Hell, there are no rules here - we're trying to accomplish something.
                                                  -- Thomas A. Edison