|
From: Luigi B. <lui...@gm...> - 2020-10-02 08:44:56
|
Hello Jack,
may you post the full output from running configure?
Luigi
On Thu, Oct 1, 2020 at 4:03 AM Jack G <jac...@gm...> wrote:
> Dear QuantLib Users,
>
> I'm trying to install QuantLib-SWIG version 1.19 to add some additional
> interfaces into the C++ QuantLib functionality for use in Python, using the
> instructions here: https://www.quantlib.org/install/linux-python.shtml,
> and facing two problems.
>
> I'm developing inside a ubuntu docker container on a windows machine, and
> built QuantLib from source in the Dockerfile (it causes my image to be
> 17GB, not sure if this is expected?). I'm quite experienced with Python but
> not very experienced building C++.
>
> First I tried to compile from the git repo, I cloned down a version and
> ran ./autogen.sh, followed by ./configure, which gives the following error:
> [image: image.png]
>
> If I instead download the binary here
> https://bintray.com/quantlib/releases/download_file?file_path=QuantLib-SWIG-1.19.tar.gz
> and unzip, I can successfully run the ./configure step (note that as far as
> I can see, these two configure files are identical - compared via git).
> However I run into some trouble a little later. When I first run "make -C
> Python" or any step featuring "make", it tells me there is nothing to do.
> I'm able to fix this with "make clean" and then "make -C Python", then I
> have to "make clean" again but I get the following error again when I try
> to run "sudo make -C Python install", which (I think) builds/links the C++
> code but is saying it doesn't want to install the python:
> [image: image.png]
>
> Am I doing something obviously wrong? My preference would be to install
> from the repo as I plan to test some code changes, but I'm not having much
> luck with it. If I instead unpack the binaries (in which I can see the code
> as text in .i files in the SWIG directory), modify the code, and then
> build, will that see and compile my changes?
>
> Thanks
> Jack
> _______________________________________________
> QuantLib-users mailing list
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>
|