Closed djbard closed 10 years ago
Hmm, did the previous "make" command work? mix_wrap.c is generated by running the "swig" program on mix.i
What happens if you "make" (in the tractor directory)?
ah - 'make' does indeed produce that file. Now the installation runs fine. There is no mention of 'make' in the README.md. This should be added.
ah - I see the problem. I checked out the repository via git clone, not via the wget pipe into bash. I suspect others will also clone without thinking (that's the default thing to do with github), so perhaps that could be accommodated in the documentation.
thanks, done, I think. Feel free to push improved text!
If I check out the package and try to install using the instructions given I get an error because of a missing file tractor/mix_wrap.c:
[djbard@ki-ls07 tractor]$ python setup.py install --prefix=$PWD/install/ running install running build running build_py running build_ext building 'tractor._mix' extension C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC
compile options: '-UNDEBUG -I/afs/slac/g/ki/software/python/2.5.4/lib/python2.5/site-packages/numpy/core/include -I/afs/slac/g/ki/software/python/2.5.4/include/python2.5 -c' gcc: tractor/mix_wrap.c gcc: tractor/mix_wrap.c: No such file or directory gcc: no input files gcc: tractor/mix_wrap.c: No such file or directory gcc: no input files error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -UNDEBUG -I/afs/slac/g/ki/software/python/2.5.4/lib/python2.5/site-packages/numpy/core/include -I/afs/slac/g/ki/software/python/2.5.4/include/python2.5 -c tractor/mix_wrap.c -o build/temp.linux-x86_64-2.5/tractor/mix_wrap.o" failed with exit status 1
Indeed, tractor/mix_wrap.c is missing.