Package Details: python-quantlib 1.33-1

Git Clone URL: https://aur.archlinux.org/python-quantlib.git (read-only, click to copy)
Package Base: python-quantlib
Description: QuantLib wrappers to Python
Upstream URL: http://quantlib.org
Licenses: BSD
Submitter: qft
Maintainer: qft (a.kudelin)
Last Packager: a.kudelin
Votes: 5
Popularity: 0.000001
First Submitted: 2016-05-27 14:15 (UTC)
Last Updated: 2024-02-09 19:17 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

j_klee commented on 2020-12-29 18:56 (UTC) (edited on 2020-12-29 19:34 (UTC) by j_klee)

Hi, the package is not building correctly for me. I first install quantlib and remove '-enable-std-classes' and '-enable-std-functions'. Afterwards I install python-quantlib. However, I still get an error without any meaningful error-messag, which you can see below.

gcc: fatal error: Killed signal terminated program cc1plus
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
make[1]: *** [Makefile:438: .build-stamp] Error 1
make[1]: Leaving directory '/home/----/.cache/yay/python-quantlib/src/QuantLib-SWIG-1.20/Python'
make: *** [Makefile:228: all] Error 2
make: Leaving directory '/home/----/.cache/yay/python-quantlib/src/QuantLib-SWIG-1.20/Python'

qft commented on 2019-03-08 21:22 (UTC)

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

JohnRobson commented on 2019-03-08 21:05 (UTC) (edited on 2019-03-08 21:08 (UTC) by JohnRobson)

@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 (UTC)

@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 (UTC)

@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 (UTC)

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 (UTC)

_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 (UTC)

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 (UTC)

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 (UTC)

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.