Package Details: python-quantlib 1.15-1

Git Clone URL: https://aur.archlinux.org/python-quantlib.git (read-only)
Package Base: python-quantlib
Description: A Python binding for QuantLib.
Upstream URL: http://quantlib.org
Licenses: BSD
Submitter: qft
Maintainer: qft
Last Packager: qft
Votes: 3
Popularity: 0.000001
First Submitted: 2016-05-27 14:15
Last Updated: 2019-03-08 17:41

Pinned Comments

qft commented on 2019-03-08 17:43

QuantLib has to be compiled without the '-enable-std-classes' and '-enable-std-classes' flags in order to work with this python binding.

Latest Comments

1 2 Next › Last »

qft commented on 2019-03-08 21:22

@JohnRobson, https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=quantlib line 24.

JohnRobson commented on 2019-03-08 21:05

@qft there is no "--enable-std-classes" on the PKGBUILD. I think this should be in the line: "./configure --prefix=/usr", but what command is a NO "--enable-std-classes"? I can't find. I believe that others will have the same problem. https://github.com/lballabio/QuantLib/blob/master/configure.ac

qft commented on 2019-03-08 20:07

@JohnRobson, please see my previous comment. Apparently QuantLib-SWIG still uses boost::shared_ptr and is not fully compatible with std::shared_ptr. Thus you will need to rebuild quantlib with modified PKGBUILD.

JohnRobson commented on 2019-03-08 19:30

@qft, thank you, I tried a clean bash, but still with several errors: https://dpaste.de/Akg4#L9

qft commented on 2019-03-08 17:43

QuantLib has to be compiled without the '-enable-std-classes' and '-enable-std-classes' flags in order to work with this python binding.

JohnRobson commented on 2019-03-08 04:19

_pkgname=QuantLib
pkgver=1.12
source=(https://ayera.dl.sourceforge.net/project/quantlib/QuantLib/old%20releases%20from%201.0%20to%201.12/1.12/QuantLib-1.12.tar.gz)
md5sums=("91fbf984dcf4a315a8ba4ac489412aad")

$ ./configure --prefix=/usr # OK
$ make -C Python
make: *** Python: No such file or directory.  Stop.

jrvarma commented on 2018-07-05 16:00

I made the following changes to install version 1.13 pkgver=1.13 depends=("quantlib>=1.13" "python") source=("$_pkgname-$pkgver.tar.gz::https://bintray.com/quantlib/releases/download_file?file_path=$_pkgname-$pkgver.tar.gz") sha256sums=('0ab99d6a43b2a204d6366fb600aa3cd049ee29e1d0406fefaedcc0f4fd9c65c2')

qft commented on 2016-09-24 01:44

Please note there is no 1.8.1 version for this package. According to the official website, "The SWIG interfaces for QuantLib 1.8 work with QuantLib 1.8.1 as well".

JohnRobson commented on 2016-06-04 04:22

Thank you very much qft, I fixed the problem. I forgot an old version (1.6) inside the "/usr/local/include" folder, maybe an old manual installation.

BTW, this package ask for a LOT of memory to compile and install.

qft commented on 2016-06-04 03:23

HI JohnRobson,

If you read the source of quantlib_wrap.cpp, the relevant part is this:
#if QL_HEX_VERSION < 0x010800f0
#error using an old version of QuantLib, please update
#endif

You will only see this error if your quantlib verions is less than 1.8. Can you check the file /usr/include/ql/version.hpp to see what's the value of QL_HEX_VERSION?