Closed yurivict closed 10 months ago
building '_adolc' extension swigging adolc-python.i to adolc-python_wrap.cpp swig -python -c++ -dirvtable -o adolc-python_wrap.cpp adolc-python.i error: command 'swig' failed with exit status 1 gmake[6]: *** [Makefile:492: install] Error 1 gmake[6]: Leaving directory '/disk-samsung/freebsd-ports/math/adol-c/work/ADOL-C-2.7.2/ADOL-C/swig' gmake[5]: *** [Makefile:560: install-recursive] Error 1 gmake[5]: Leaving directory '/disk-samsung/freebsd-ports/math/adol-c/work/ADOL-C-2.7.2/ADOL-C' gmake[4]: *** [Makefile:720: install] Error 2 gmake[4]: Leaving directory '/disk-samsung/freebsd-ports/math/adol-c/work/ADOL-C-2.7.2/ADOL-C' gmake[3]: *** [Makefile:538: install-recursive] Error 1 gmake[3]: Leaving directory '/disk-samsung/freebsd-ports/math/adol-c/work/ADOL-C-2.7.2' gmake[2]: *** [Makefile:851: install-strip] Error 2 gmake[2]: Leaving directory '/disk-samsung/freebsd-ports/math/adol-c/work/ADOL-C-2.7.2'
The command swig -python -c++ -dirvtable -o adolc-python_wrap.cpp adolc-python.i runs fine standalone in the directory /disk-samsung/freebsd-ports/math/adol-c/work/ADOL-C-2.7.2/ADOL-C/swig.
swig -python -c++ -dirvtable -o adolc-python_wrap.cpp adolc-python.i
/disk-samsung/freebsd-ports/math/adol-c/work/ADOL-C-2.7.2/ADOL-C/swig
OS: FreeBSD 13 clang-11
thanks a lot for this hint, I will be on holiday for two weeks after that I will take care of this
This issue will be continued in
Support for python 3 https://github.com/coin-or/ADOL-C/issues/25
The command
swig -python -c++ -dirvtable -o adolc-python_wrap.cpp adolc-python.i
runs fine standalone in the directory/disk-samsung/freebsd-ports/math/adol-c/work/ADOL-C-2.7.2/ADOL-C/swig
.OS: FreeBSD 13 clang-11