axiak/pyre2 — Issue #10: Problems building
Author: thegoleffect
Created: 2011-12-07 19:22:35+00:00
State: open

I'm trying to install pyre2 from source. I have re2 installed w/o errors. I'm on Ubuntu 10.04. Here is the output from trying to build or install:

$ sudo python setup.py build -v
running build
running build_ext
building 're2' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include -I/usr/include/python2.6 -c src/re2.cpp -o build/temp.linux-x86_64-2.6/src/re2.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
src/re2.cpp:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
error: command 'gcc' failed with exit status 1