0.3.9 test tarballs

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

0.3.9 test tarballs

Luigi Ballabio
Hi all,
        I've just uploaded preliminary tarballs of the 0.3.9 branch in  
<http://quantlib.org/prerelease/>. Please play with them and see whether  
there are any showstoppers.

Later,
        Luigi

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

There's no sense in being precise when you don't even know what you're
talking about.
-- John von Neumann




Reply | Threaded
Open this post in threaded view
|

Re: 0.3.9 test tarballs

Dirk Eddelbuettel
Luigi,

On 9 March 2005 at 14:08, Luigi Ballabio wrote:
|
| Hi all,
| I've just uploaded preliminary tarballs of the 0.3.9 branch in =20
| <http://quantlib.org/prerelease/>. Please play with them and see whether =20
| there are any showstoppers.

I get as far as

[ ... snipping about 3300 lines of logged output ... ]
Making install in test-suite
make[3]: Entering directory `/tmp/buildd/quantlib-0.3.8.rc.20050309/test-suite'
if g++ -DHAVE_CONFIG_H -I. -I. -I../ql  -I.. -I../functions -I..   -O2 -D_REENTRANT -MT bonds.o -MD -MP -MF ".deps/bonds.Tpo" -c -o bonds.o bonds.cpp; \
then mv -f ".deps/bonds.Tpo" ".deps/bonds.Po"; else rm -f ".deps/bonds.Tpo"; exit 1; fi
bonds.cpp: In static member function `static void BondTest::testCached()':
bonds.cpp:271: error: no match for 'operator<<' in 'boost::operator<< [with
   CharT = char, T =
   char[35]]((+(&wrap_stringstream())->boost::basic_wrap_stringstream<CharT>::ref
   [with CharT = char]()), "failed to reproduce cached price:\n") << std::fixed
   '
../ql/currency.hpp:108: error: candidates are: std::ostream&
   QuantLib::operator<<(std::ostream&, const QuantLib::Currency&)
../ql/interestrate.hpp:184: error:                 std::ostream&
   QuantLib::operator<<(std::ostream&, const QuantLib::InterestRate&)
../ql/option.hpp:116: error:                 std::ostream&
   QuantLib::operator<<(std::ostream&, QuantLib::Option::Type)
../ql/date.hpp:361: error:                 std::ostream&
   QuantLib::operator<<(std::ostream&, const QuantLib::Date&)
../ql/date.hpp:202: error:                 std::ostream&
   QuantLib::operator<<(std::ostream&, const QuantLib::Period&)
../ql/date.hpp:158: error:                 std::ostream&
   QuantLib::operator<<(std::ostream&, QuantLib::Frequency)
../ql/date.hpp:130: error:                 std::ostream&
   QuantLib::operator<<(std::ostream&, QuantLib::Month)
../ql/date.hpp:60: error:                 std::ostream&
   QuantLib::operator<<(std::ostream&, const QuantLib::Weekday&)

That is on vanilla Debian unstable, in a pbuilder chroot. Boost packages were
installed the requirement

  Build-Depends: debhelper (>= 3.0), autoconf, automake1.7, texinfo, g++ (>= 3.2.2), libboost-dev, libboost-regex-dev, libboost-test-dev

and what we got was

  Selecting previously deselected package libboost-dev.
  Unpacking libboost-dev (from .../libboost-dev_1.32.0-2_i386.deb) ...
  Selecting previously deselected package libboost-regex1.32.0.
  Unpacking libboost-regex1.32.0 (from .../libboost-regex1.32.0_1.32.0-2_i386.deb) ...
  Selecting previously deselected package libboost-regex-dev.
  Unpacking libboost-regex-dev (from .../libboost-regex-dev_1.32.0-2_i386.deb) ...
  Selecting previously deselected package libboost-test1.32.0.
  Unpacking libboost-test1.32.0 (from .../libboost-test1.32.0_1.32.0-2_i386.deb) ...
  Selecting previously deselected package libboost-test-dev.
  Unpacking libboost-test-dev (from .../libboost-test-dev_1.32.0-2_i386.deb) ...

As I recall, you are you also developing under Debian. Did you use a local
(newer ?) copy of boost or the gcc toolchain?

Cheers, Dirk

--
Better to have an approximate answer to the right question than a precise
answer to the wrong question.  --  John Tukey as quoted by John Chambers