benob / py-leveldb

Automatically exported from code.google.com/p/py-leveldb
Other
0 stars 0 forks source link

Can't compile on Centos 5.5 + python2.6.6 #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
# python setup.py build
running build
running build_py
package init file '__init__.py' not found (or not a regular file)
package init file '__init__.py' not found (or not a regular file)
running build_ext
building 'leveldb' extension
creating build
creating build/temp.linux-x86_64-2.6
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall 
-Wstrict-prototypes -fPIC -I/usr/local/include/python2.6 -c leveldb_ext.cc -o 
build/temp.linux-x86_64-2.6/leveldb_ext.o -I./leveldb-read-only/include -fPIC 
--std=c++0x -pedantic -Wall -g2 -D_GNU_SOURCE -O2 -DNDEBUG
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for 
Ada/C/ObjC but not for C++
cc1plus: error: unrecognized command line option "-std=c++0x"
error: command 'gcc' failed with exit status 1

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

from SVN

Please provide any additional information below.

Original issue reported on code.google.com by simon-zzm@163.com on 6 Sep 2011 at 9:56

GoogleCodeExporter commented 9 years ago
I removed the option in quest, it wasn't necessary, but removing it does 
introduce some warnings for the Python header files.

Please re-open if this doesn't fix it.

Original comment by arnim...@gmail.com on 6 Sep 2011 at 1:19