daler/pybedtools — Issue #50: build failure
Author: jamescasbon
Created: 2012-02-16 09:53:54+00:00
State: open

Just checked out the source and ran python setup.py develop
```
running build_ext
building 'pybedtools.cbedtools' extension
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Isrc/ -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/bedFile.cpp -o build/temp.macosx-10.6-x86_64-2.7/src/bedFile.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Isrc/ -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/fileType.cpp -o build/temp.macosx-10.6-x86_64-2.7/src/fileType.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Isrc/ -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/gzstream.cpp -o build/temp.macosx-10.6-x86_64-2.7/src/gzstream.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Isrc/ -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c pybedtools/cbedtools.cpp -o build/temp.macosx-10.6-x86_64-2.7/pybedtools/cbedtools.o
i686-apple-darwin10-gcc-4.2.1: pybedtools/cbedtools.cpp: No such file or directory
i686-apple-darwin10-gcc-4.2.1: no input files
error: command '/usr/bin/gcc-4.2' failed with exit status 1
```

pybedtools.cpp should be built from pybedtools.pyx ? Doesn't seem to run through cython at the minute. Am | doing it right?