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

swig failed on mix.i #76

Open
edennihy opened this issue Feb 17, 2016 · 3 comments
Open

swig failed on mix.i #76

edennihy opened this issue Feb 17, 2016 · 3 comments

Comments

@edennihy
Copy link

I'm attempting a tractor build on OS X 10.9.5 and ran into an error when swigging the mix.i file to mix_wrap.c with the error log below. Has anybody run into this? Really enjoyed the tractor paper btw, thanks for making this public.

% make /Applications/Xcode.app/Contents/Developer/usr/bin/make -C tractor mix python setup-mix.py build --force --build-base build --build-platlib build/lib running build running build_ext building '_mix' extension swigging mix.i to mix_wrap.c swig -python -o mix_wrap.c mix.i Generating wrappers for Python mix.i : Line 1. Syntax error in input. mix.i : Line 278. Syntax error in input. SWIG : *** Warning. No module name specified. mix.i : Line 290. Syntax error in input. mix.i : Line 417. Syntax error in input. error: command 'swig' failed with exit status 4 make[1]: *** [_mix.so] Error 1 make: *** [mix] Error 2

@edennihy
Copy link
Author

whoops, sorry for the poor formatting, see legible output below

% make
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C tractor mix
python setup-mix.py build --force --build-base build --build-platlib build/lib
running build
running build_ext
building '_mix' extension
swigging mix.i to mix_wrap.c
swig -python -o mix_wrap.c mix.i
Generating wrappers for Python
mix.i : Line 1. Syntax error in input.
mix.i : Line 278. Syntax error in input.
SWIG : *** Warning. No module name specified.
mix.i : Line 290. Syntax error in input.
mix.i : Line 417. Syntax error in input.
error: command 'swig' failed with exit status 4
make[1]: *** [_mix.so] Error 1
make: *** [mix] Error 2

@dstndstn
Copy link
Owner

I've never seen that before. You do need a recent swig version -- 1.x won't work; 3.0.x may be required.

@edennihy
Copy link
Author

Thanks for the quick reply. The error was generated while running swig 3.0.8. I also tried building with a fresh install of swig 3.0.4 and found the same error. I'll keep digging to see if I can find some more useful information.

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