Hi everyone, I’m looking at using quantlib for some of my work, but
am having a little trouble with compiling/installing. I’m using cygwin on
windows XP. Following the instructions at http://quantlib.org/reference/install.html
, I *believe* step 1 and 2 “./configure”
and “make” worked successfully, but step 3 (“make install”
) generates the following error (after chugging along smoothly for a while): make install-exec-hook make[4]: Entering directory
`/cygdrive/p/c_libs/QuantLib-0.8.1/ql' mv //usr/local/lib/libQuantLib.a
//usr/local/lib/libQuantLib-0.8.1.a mv: cannot stat `//usr/local/lib/libQuantLib.a': No such
file or directory make[4]: *** [install-exec-hook] Error 1 make[4]: Leaving directory
`/cygdrive/p/c_libs/QuantLib-0.8.1/ql' make[3]: *** [install-exec-am] Error 2 make[3]: Leaving directory `/cygdrive/p/c_libs/QuantLib-0.8.1/ql' make[2]: *** [install-am] Error 2 make[2]: Leaving directory
`/cygdrive/p/c_libs/QuantLib-0.8.1/ql' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory
`/cygdrive/p/c_libs/QuantLib-0.8.1/ql' make: *** [install-recursive] Error 1 I have only used cygwin in the past for compiling relatively
simple python C extensions, so I am not too familiar with the details of a “complicated”
build process like this. My end goal is to get the Python SWIG wrappers working
so I can use quantlib in combination with scipy/numpy, and I suspect I will
encounter one or two more hurdles before I finally get to that stage. I am
probably missing something obvious here. Any help would be greatly appreciated.
If more details are needed please let me know and I will be happy to provide as
much info as I can. Thanks, - Matt ******************** NOTICE OF CONFIDENTIALITY This communication including any information transmitted with it is intended only for the use of the addressees and is confidential. If you are not an intended recipient or responsible for delivering the message to an intended recipient, any review, disclosure, conversion to hard copy, dissemination, reproduction or other use of any part of this communication is strictly prohibited, as is the taking or omitting of any action in reliance upon this communication. If you receive this communication in error or without authorization please notify us immediately by return e-mail or otherwise and permanently delete the entire communication from any computer, disk drive, or other storage medium. If the above disclaimer is not properly readable, it can be found at www.td.com/legal AVERTISSEMENT DE CONFIDENTIALITE Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement aux destinataires susmentionnés, est confidentiel. Si vous nêtes pas le destinataire prévu ou un agent responsable de la livraison de ce courriel, tout examen, divulgation, copie, impression, reproduction, distribution, ou autre utilisation dune partie de ce courriel est strictement interdit de même que toute intervention ou abstraction à cet égard. Si vous avez reçu ce message par erreur ou sans autorisation, veuillez en aviser immédiatement lexpéditeur par retour de courriel ou par un autre moyen et supprimer immédiatement cette communication entière de tout système électronique. Si l'avis de non-responsabilité ci-dessus n'est pas lisible, vous pouvez le consulter à www.td.com/francais/legale ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Hi Matt,
I had the same problem. Cygwin seems to have a problem with the double slash at the beginning of the pathname //usr/local/lib/libQuantLib.a. I solved it by manually removing occurrences of "$(DESTDIR)/" from the install-exec-hook and install-data-hook rules in ql/Makefile. If you then re-run "make install", I think you'll find that it goes through. The other problem I encountered is that "make examples" doesn't seem to work properly. I compiled the example programs manually i.e. g++ -g -O2 -Wall -I/usr/local/include/ql -I/usr/include/boost-1_33_1/ -L/usr/local/lib BermudanSwaption.cpp -lQuantlib -o BermudanSwaption Regards, Andy -----Original Message----- From: [hidden email] [mailto:[hidden email]]On Behalf Of Knox, Matt Sent: Thursday, June 21, 2007 11:53 AM To: [hidden email] Subject: [Quantlib-users] compiling/installing quantlib with cygwin Hi everyone, I'm looking at using quantlib for some of my work, but am having a little trouble with compiling/installing. I'm using cygwin on windows XP. Following the instructions at http://quantlib.org/reference/install.html , I *believe* step 1 and 2 "./configure" and "make" worked successfully, but step 3 ("make install" ) generates the following error (after chugging along smoothly for a while): make install-exec-hook make[4]: Entering directory `/cygdrive/p/c_libs/QuantLib-0.8.1/ql' mv //usr/local/lib/libQuantLib.a //usr/local/lib/libQuantLib-0.8.1.a mv: cannot stat `//usr/local/lib/libQuantLib.a': No such file or directory make[4]: *** [install-exec-hook] Error 1 make[4]: Leaving directory `/cygdrive/p/c_libs/QuantLib-0.8.1/ql' make[3]: *** [install-exec-am] Error 2 make[3]: Leaving directory `/cygdrive/p/c_libs/QuantLib-0.8.1/ql' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/cygdrive/p/c_libs/QuantLib-0.8.1/ql' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/cygdrive/p/c_libs/QuantLib-0.8.1/ql' make: *** [install-recursive] Error 1 I have only used cygwin in the past for compiling relatively simple python C extensions, so I am not too familiar with the details of a "complicated" build process like this. My end goal is to get the Python SWIG wrappers working so I can use quantlib in combination with scipy/numpy, and I suspect I will encounter one or two more hurdles before I finally get to that stage. I am probably missing something obvious here. Any help would be greatly appreciated. If more details are needed please let me know and I will be happy to provide as much info as I can. Thanks, - Matt ******************** NOTICE OF CONFIDENTIALITY This communication including any information transmitted with it is intended only for the use of the addressees and is confidential. If you are not an intended recipient or responsible for delivering the message to an intended recipient, any review, disclosure, conversion to hard copy, dissemination, reproduction or other use of any part of this communication is strictly prohibited, as is the taking or omitting of any action in reliance upon this communication. If you receive this communication in error or without authorization please notify us immediately by return e-mail or otherwise and permanently delete the entire communication from any computer, disk drive, or other storage medium. If the above disclaimer is not properly readable, it can be found at www.td.com/legal AVERTISSEMENT DE CONFIDENTIALITE Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement aux destinataires susmentionnés, est confidentiel. Si vous n'êtes pas le destinataire prévu ou un agent responsable de la livraison de ce courriel, tout examen, divulgation, copie, impression, reproduction, distribution, ou autre utilisation d'une partie de ce courriel est strictement interdit de même que toute intervention ou abstraction à cet égard. Si vous avez reçu ce message par erreur ou sans autorisation, veuillez en aviser immédiatement l'expéditeur par retour de courriel ou par un autre moyen et supprimer immédiatement cette communication entière de tout système électronique. Si l'avis de non-responsabilité ci-dessus n'est pas lisible, vous pouvez le consulter à www.td.com/francais/legale ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
> Cygwin seems to have a problem with the double slash at the beginning of the
> pathname //usr/local/lib/libQuantLib.a. I solved it by manually removing occurrences of > "$(DESTDIR)/" from the install-exec-hook and install-data-hook rules in ql/Makefile. If > you then re-run "make install", I think you'll find that it goes through. Thanks Andy. That seems to have done the trick as far as I can tell. To the developers... is their any chance a generic work around for this problem can be included in the main distribution? If so, that would greatly appreciated. Now to see if I can get the python bindings working... stay tuned ;) - Matt |
In reply to this post by Brown, Andrew
Hello Andrew
I built Quantlib using MinGW and Msys and encountered the same problem you solution also helped me to get through the process. The only question for me is not able to build test suite...I got following at the end of make install Making install in test-suite make[1]: Entering directory `/home/QuantLib-0.8.0/test-suite' make[1]: *** No rule to make target `install'. Stop. make[1]: Leaving directory `/home/QuantLib-0.8.0/test-suite' make: *** [install-recursive] Error 1 How do I build test-suite manually and How do I run it once I get the exe file Best Regards, Jing "Brown, Andrew" <[hidden email]> wrote: Hi Matt,
Don't get soaked. Take a quick peak at the forecast with theYahoo! Search weather shortcut. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
In reply to this post by Knox, Matt
On Jun 21, 2007, at 8:08 PM, mattknox_ca wrote: >> Cygwin seems to have a problem with the double slash at the beginning >> of > the >> pathname //usr/local/lib/libQuantLib.a. I solved it by manually >> removing >> occurrences of >> "$(DESTDIR)/" from the install-exec-hook and install-data-hook rules >> in >> ql/Makefile. If >> you then re-run "make install", I think you'll find that it goes >> through. > > To the developers... is their any chance a generic work around for this > problem can be included in the main distribution? If so, that would > greatly > appreciated. I'll have to see if I find a make functions that normalizes the path---or at least that replaces double slashes with single ones. I'll try and fix it for next release. Later, Luigi ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
In reply to this post by jing lu
On Jun 23, 2007, at 8:51 PM, jing lu wrote: > I built Quantlib using MinGW and Msys and encountered the same problem > you solution also helped me to get through the process. The only > question > for me is not able to build test suite...I got following at the end > of make install > > Making install in test-suite > make[1]: Entering directory `/home/QuantLib-0.8.0/test-suite' > make[1]: *** No rule to make target `install'. Stop. > make[1]: Leaving directory `/home/QuantLib-0.8.0/test-suite' > make: *** [install-recursive] Error 1 Jing, what happens when you run 'make'? Does it enter the test-suite directory? And what does it do? Later, Luigi ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Hello everyone,
when trying to compile quantlib + test-suite with cygwin I'm getting the following error:
quantlibbenchmark.cpp:201: error: `testFdGreeks' is not a member of `EuropeanOptionTest'
which seems to be true. So I'm puzzled why I did not get any errors compiling with Visual Studio... Georgy ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |