install problem

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

install problem

taiko vic
i still have the same problem for installing QuantlibAddin-0.3.12 release , even after reinstalling  Quantlib-0.3.12 and log4cxx-0.9.7 and Objecthandler -0.1.3. i ve got sources from sourceforge.net QuantlibAddin-0.3.12.tar.gz. i have tried with QuantlibAddin-0.3.11 release and it does not work.any suggetions to have QuantlibAddin installed.please
Reply | Threaded
Open this post in threaded view
|

Re: install problem

eric ehlers
Hello,

On 5/9/06, taiko vic <[hidden email]> wrote:
>
> i still have the same problem for installing QuantlibAddin-0.3.12 release ,

OK.

> even after reinstalling  Quantlib-0.3.12 and log4cxx-0.9.7 and Objecthandler
> -0.1.3. i ve got sources from sourceforge.net QuantlibAddin-0.3.12.tar.gz.

That all sounds good.

> i have tried with QuantlibAddin-0.3.11 release and it does not work.

That won't work.  You can't mix and match different versions of the
software.  Just to confirm, you need:
- QuantLib 0.3.12
- ObjectHandler 0.1.3
- log4cxx 0.9.7 from the ObjectHandler section of the QuantLib downloads page
- QuantLibAddin 0.3.12

So you're saying that with the four packages listed above, when you do
'make' for QuantLibAddin, you get the errors you reported earlier e.g.

>  ../../qla/.libs/libQuantLibAddin.so: undefined reference
> to `QuantLib::Canada::Canada()'

As I said before I'm confused because the identifiers mentioned in
those error messages were added in the QuantLibAddin development
environment (CVS) after version 0.3.12 was released.

Please could you have a look in file enumregistry.cpp.  Based on the
paths listed in the output you sent previously, I think you will find
this file at /home/pop/work/quantlib/install/QuantLibAddin-0.3.12/qla/enumregistry.cpp.
 In the section where calendars are defined, you should see something
like

        REG_ENUM(QuantLib::Calendar,
            MAP("BEIJING", QuantLib::Beijing());
            MAP("BRATISLAVA", QuantLib::Bratislava());
            MAP("BUDAPEST", QuantLib::Budapest());
            MAP("COPENHAGEN", QuantLib::Copenhagen());
            MAP("GERMANY", QuantLib::Germany());

The calendars are listed in alphabetical order, and the calendars
which are causing your error messages, e.g. Canada, do not appear in
the file.  Is that what you see?

Another question, have you at any time acquired a copy of
QuantLibAddin from CVS?  If so I wonder whether files from that build
could be lingering around somewhere and causing these problems.

Thanks,
Eric