Package Details: python-quantlib 1.20-1

Git Clone URL: https://aur.archlinux.org/python-quantlib.git (read-only, click to copy)
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.000000
First Submitted: 2016-05-27 14:15
Last Updated: 2020-11-14 06:07

Latest Comments

1 2 Next › Last »

qft commented on 2020-12-29 23:41

you can use pip install instead of this PKGBUILD if you cannot build it from source... sorry...

qft commented on 2020-12-29 22:22

8GB of RAM is definitely not enough, I cannot even build it with 16GB of RAM if I have other programs such as a browser running.

j_klee commented on 2020-12-29 22:12

Thank you for the fast reply. You are indeed right, I could not find an entry in jounalctl, but I had a look at top and it is running out of memory. I have I have 8gb of RAM, is that not enough? I found and issue at GitHub with the same problem that was closed without a solution here: https://github.com/lballabio/QuantLib-SWIG/issues/36

qft commented on 2020-12-29 20:59

With the latest PKGBUILD, '-enable-std-classes' and '-enable-std-functions' flags no longer needs to be removed. And you can directly use the quantlib PKGBUILD without any modification.

If your compilation terminates without any error message, the most likely cause is that you run out of memory. Please check for journalctl to see if you had any "Out of memory" error messages.

j_klee commented on 2020-12-29 18:56

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

@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.