[pypy-dev] problem with svn-checkout pypy
lawful falafel
lawfulfalafel at gmail.com
Mon Aug 4 00:11:08 CEST 2008
I checked out a copy of pypy today and upon trying to run "python
pypy-dist/pypy/bin/py.py" I get this error:
k at k-desktop:~$ python pypy-dist/pypy/bin/py.py
[cbuild:execute] cc -O3 -fomit-frame-pointer -pthread -c gcctest.c -o
gcctest.o
Traceback (most recent call last):
File "pypy-dist/pypy/bin/py.py", line 147, in <module>
sys.exit(main_(sys.argv))
File "pypy-dist/pypy/bin/py.py", line 64, in main_
space = option.make_objspace(config)
File "/home/k/pypy-dist/pypy/tool/option.py", line 48, in make_objspace
space = Space(config)
File "/home/k/pypy-dist/pypy/interpreter/baseobjspace.py", line 237, in
__init__
self.initialize()
File "/home/k/pypy-dist/pypy/objspace/std/objspace.py", line 71, in
initialize
self.model = StdTypeModel(self.config)
File "/home/k/pypy-dist/pypy/objspace/std/model.py", line 88, in __init__
import pypy.objspace.std.marshal_impl # install marshal multimethods
File "/home/k/pypy-dist/pypy/objspace/std/marshal_impl.py", line 21, in
<module>
from pypy.rlib.rstruct import ieee
File "/home/k/pypy-dist/pypy/rlib/rstruct/__init__.py", line 8, in
<module>
from pypy.rlib.rstruct.formatiterator import FormatIterator
File "/home/k/pypy-dist/pypy/rlib/rstruct/formatiterator.py", line 2, in
<module>
from pypy.rlib.rstruct.nativefmttable import native_is_bigendian
File "/home/k/pypy-dist/pypy/rlib/rstruct/nativefmttable.py", line 8, in
<module>
from pypy.rpython.tool import rffi_platform
File "/home/k/pypy-dist/pypy/rpython/tool/rffi_platform.py", line 5, in
<module>
from pypy.rpython.lltypesystem import rffi
File "/home/k/pypy-dist/pypy/rpython/lltypesystem/rffi.py", line 338, in
<module>
NUMBER_TYPES = setup()
File "/home/k/pypy-dist/pypy/rpython/lltypesystem/rffi.py", line 330, in
setup
tp = platform.inttype(name.upper(), c_name, signed)
File "/home/k/pypy-dist/pypy/rpython/tool/rfficache.py", line 49, in
inttype
bits = sizeof_c_type(c_name, **kwds) * 8
File "/home/k/pypy-dist/pypy/rpython/tool/rfficache.py", line 38, in
sizeof_c_type
return int(ask_gcc(question, **kwds))
File "/home/k/pypy-dist/pypy/rpython/tool/rfficache.py", line 34, in
ask_gcc
return build_executable_cache([c_file], eci)
File "/home/k/pypy-dist/pypy/tool/gcc_cache.py", line 23, in
build_executable_cache
result = py.process.cmdexec(build_executable(c_files, eci))
File "/home/k/pypy-dist/pypy/translator/tool/cbuild.py", line 621, in
build_executable
compiler.build(noerr=noerr)
File "/home/k/pypy-dist/pypy/translator/tool/cbuild.py", line 574, in
build
raise CompilationError(data)
pypy.translator.tool.cbuild.CompilationError: gcctest.c:3:20: error:
stdlib.h: No such file or directory
gcctest.c:4:23: error: sys/types.h: No such file or directory
gcctest.c: In function 'main':
gcctest.c:11: warning: incompatible implicit declaration of built-in
function 'printf'
gcctest.c:13:2: warning: no newline at end of file
command 'cc' failed with exit status 1
My gcc -v is this:
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
And my python version is this:
Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Can anyone suggest how I might fix this?
Thanks!
p.s. I know this is a pretty noob question, and I am not sure if a
development mailing list is the right place to post it, but right now it
seems like the only potential place I can find. Am I wrong in this
assumption, and is there another list dedicated to people trying to get into
pypy?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20080803/274357a1/attachment.html>
More information about the Pypy-dev
mailing list