Re: installation is failing on cygwin
Posted by
Max-118 on
Jan 25, 2008; 1:48am
URL: http://quantlib.414.s1.nabble.com/installation-is-failing-on-cygwin-tp11632p11639.html
Hi Luigi,
On Jan 25, 2008 12:13 AM, Luigi Ballabio <
[hidden email]> wrote:
On Thu, 2008-01-24 at 17:30 +0800, Max wrote:
> It seems that this problem can be fixed by inserting "LDLIBS =
> -lQuantLib" in the Makefile (maybe need to alter the "configure"
> script).
Strange. Makefile.am in the Examples directories already specifies
BermudanSwaption_LDADD = ../../ql/libQuantLib.la
which should have the same effect.
It seems the Makefile ignores "BermudanSwaption_LDADD"
> BTW, I spot another error: "swapvaluation.cpp" should be renamed to
> "SwapValuation.cpp". Otherwise, "make examples" will fail on unix
> platform (
e.g. cygwin).
No, it works fine on unix (I'm writing this from a Linux machine
myself.) Makefile.am includes the correct dependency, namely,
SwapValuation_SOURCES =
swapvaluation.cpp
and the make rules are (well, should be) generated accordingly. Can you
send me a copy of your generated Makefile for the swap example?
Attached is the Makefile under "Examples/Swap". Again, it seems the Makefile ignores "SwapValuation_SOURCES"
See the command-line interaction below:
$ cd QuantLib-0.9.0/Examples/Swap
$ make examples
make: *** No rule to make target `SwapValuation', needed by `examples'. Stop.
$ make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i686-pc-cygwin
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev