|
From: Dirk E. <ed...@de...> - 2024-10-15 13:28:05
|
I am having an issue with QL-SWIG under 1.36. I updated QL to 1.36 yesterday
for Debian (and my Ubuntu PPA for 24.04; having done so a week earlier for
the RC as well). But now QL-SWIG croaks:
fatal error: src/QuantLib/quantlib_wrap.cpp: No such file or directory
I presume I need to change something (again). Currently we use a two-step of
'setup.py wrap' (no longer recognised -- I likely need to replace it ?) and
'setup.py build', where the latter now fails presumably because the former is
not working:
build-stamp:
dh_testdir
@echo "*** Running on arch $(arch) and cpu $(cpu)"
./autogen.sh
# need to build the Makefile for R (and Ruby ?)
./configure --prefix=/usr \
--build $(arch)
# $(MAKE)
(cd Python && for python in $(PYTHONS); do \
CC="$(cxxcompiler)" \
CXX="$(cxxcompiler)" \
CFLAGS="$(compilerflags)" \
CXXFLAGS="$(compilerflags)" \
$$python setup.py wrap; \
CC="$(cxxcompiler)" \
CXX="$(cxxcompiler)" \
CFLAGS="$(compilerflags)" \
CXXFLAGS="$(compilerflags)" \
$$python setup.py build; \
done )
Thanks in advance for any help!
Cheers, Dirk
--
dirk.eddelbuettel.com | @eddelbuettel | ed...@de...
|