Greetings, As prebuilt pypy Linux binaries only available for Ubuntu, I'm following this guide (http://pypy.org/download.html) to build pypy-2.0 from source for CentOS 5.8 x64. The translation was successful with pypy-c generated, but subsequent packaging went wrong with following error:
<snip> /root/pypy-2.0-src/lib_pypy/__pycache__/_cffi__gb0f282f4xe752c2be.c: In function ‘_cffi_const_SQLITE_CREATE_VTABLE’: /root/pypy-2.0-src/lib_pypy/__pycache__/_cffi__gb0f282f4xe752c2be.c:499: error: ‘SQLITE_CREATE_VTABLE’ undeclared (first use in this function) /root/pypy-2.0-src/lib_pypy/__pycache__/_cffi__gb0f282f4xe752c2be.c:499: error: (Each undeclared identifier is reported only once /root/pypy-2.0-src/lib_pypy/__pycache__/_cffi__gb0f282f4xe752c2be.c:499: error: for each function it appears in.) /root/pypy-2.0-src/lib_pypy/__pycache__/_cffi__gb0f282f4xe752c2be.c: In function ‘_cffi_const_SQLITE_DROP_VTABLE’: /root/pypy-2.0-src/lib_pypy/__pycache__/_cffi__gb0f282f4xe752c2be.c:577: error: ‘SQLITE_DROP_VTABLE’ undeclared (first use in this function) /root/pypy-2.0-src/lib_pypy/__pycache__/_cffi__gb0f282f4xe752c2be.c: In function ‘_cffi_const_SQLITE_FUNCTION’: /root/pypy-2.0-src/lib_pypy/__pycache__/_cffi__gb0f282f4xe752c2be.c:613: error: ‘SQLITE_FUNCTION’ undeclared (first use in this function) Traceback (most recent call last): File "app_main.py", line 72, in run_toplevel ...omitting some info... File "/root/pypy-2.0-src/lib_pypy/cffi/ffiplatform.py", line 50, in _build raise VerificationError('%s: %s' % (e.__class__.__name__, e)) VerificationError: CompileError: command 'cc' failed with exit status 1 Traceback (most recent call last): File "./package.py", line 185, in <module> package(*args, **kw) File "./package.py", line 69, in package subprocess.check_call([str(pypy_c), '-c', 'import _sqlite3']) File "/usr/local/lib/python2.7/subprocess.py", line 511, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/root/pypy-2.0-src/pypy/goal/pypy-c', '-c', 'import _sqlite3']' returned non-zero exit status 1 <snip> As far as I can tell this has to do with sqlite3 but I already have both sqlite3 and sqlite3-devel packages installed. So what do I miss here? p.s. This might not be the best list for such issues but I don't see any other pypy maillist. Regards -David
_______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev