Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python build fails: error: command 'swig' failed with exit status 1 #42

Closed
yurivict opened this issue Jul 23, 2021 · 2 comments
Closed

Comments

@yurivict
Copy link

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.

OS: FreeBSD 13
clang-11

@awalther1
Copy link
Contributor

thanks a lot for this hint, I will be on holiday for two weeks after that I will take care of this

@awalther1
Copy link
Contributor

awalther1 commented Jan 28, 2024

This issue will be continued in

Support for python 3 #25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants