<div dir="ltr">I checked out a copy of pypy today and upon trying to run &quot;python pypy-dist/pypy/bin/py.py&quot; I get this error:<br><br>k@k-desktop:~$ python pypy-dist/pypy/bin/py.py<br>[cbuild:execute] cc -O3 -fomit-frame-pointer -pthread -c gcctest.c -o gcctest.o<br>
Traceback (most recent call last):<br>&nbsp; File &quot;pypy-dist/pypy/bin/py.py&quot;, line 147, in &lt;module&gt;<br>&nbsp;&nbsp;&nbsp; sys.exit(main_(sys.argv))<br>&nbsp; File &quot;pypy-dist/pypy/bin/py.py&quot;, line 64, in main_<br>&nbsp;&nbsp;&nbsp; space = option.make_objspace(config)<br>
&nbsp; File &quot;/home/k/pypy-dist/pypy/tool/option.py&quot;, line 48, in make_objspace<br>&nbsp;&nbsp;&nbsp; space = Space(config)<br>&nbsp; File &quot;/home/k/pypy-dist/pypy/interpreter/baseobjspace.py&quot;, line 237, in __init__<br>&nbsp;&nbsp;&nbsp; self.initialize()<br>
&nbsp; File &quot;/home/k/pypy-dist/pypy/objspace/std/objspace.py&quot;, line 71, in initialize<br>&nbsp;&nbsp;&nbsp; self.model = StdTypeModel(self.config)<br>&nbsp; File &quot;/home/k/pypy-dist/pypy/objspace/std/model.py&quot;, line 88, in __init__<br>
&nbsp;&nbsp;&nbsp; import pypy.objspace.std.marshal_impl # install marshal multimethods<br>&nbsp; File &quot;/home/k/pypy-dist/pypy/objspace/std/marshal_impl.py&quot;, line 21, in &lt;module&gt;<br>&nbsp;&nbsp;&nbsp; from pypy.rlib.rstruct import ieee<br>&nbsp; File &quot;/home/k/pypy-dist/pypy/rlib/rstruct/__init__.py&quot;, line 8, in &lt;module&gt;<br>
&nbsp;&nbsp;&nbsp; from pypy.rlib.rstruct.formatiterator import FormatIterator<br>&nbsp; File &quot;/home/k/pypy-dist/pypy/rlib/rstruct/formatiterator.py&quot;, line 2, in &lt;module&gt;<br>&nbsp;&nbsp;&nbsp; from pypy.rlib.rstruct.nativefmttable import native_is_bigendian<br>
&nbsp; File &quot;/home/k/pypy-dist/pypy/rlib/rstruct/nativefmttable.py&quot;, line 8, in &lt;module&gt;<br>&nbsp;&nbsp;&nbsp; from pypy.rpython.tool import rffi_platform<br>&nbsp; File &quot;/home/k/pypy-dist/pypy/rpython/tool/rffi_platform.py&quot;, line 5, in &lt;module&gt;<br>
&nbsp;&nbsp;&nbsp; from pypy.rpython.lltypesystem import rffi<br>&nbsp; File &quot;/home/k/pypy-dist/pypy/rpython/lltypesystem/rffi.py&quot;, line 338, in &lt;module&gt;<br>&nbsp;&nbsp;&nbsp; NUMBER_TYPES = setup()<br>&nbsp; File &quot;/home/k/pypy-dist/pypy/rpython/lltypesystem/rffi.py&quot;, line 330, in setup<br>
&nbsp;&nbsp;&nbsp; tp = platform.inttype(name.upper(), c_name, signed)<br>&nbsp; File &quot;/home/k/pypy-dist/pypy/rpython/tool/rfficache.py&quot;, line 49, in inttype<br>&nbsp;&nbsp;&nbsp; bits = sizeof_c_type(c_name, **kwds) * 8<br>&nbsp; File &quot;/home/k/pypy-dist/pypy/rpython/tool/rfficache.py&quot;, line 38, in sizeof_c_type<br>
&nbsp;&nbsp;&nbsp; return int(ask_gcc(question, **kwds))<br>&nbsp; File &quot;/home/k/pypy-dist/pypy/rpython/tool/rfficache.py&quot;, line 34, in ask_gcc<br>&nbsp;&nbsp;&nbsp; return build_executable_cache([c_file], eci)<br>&nbsp; File &quot;/home/k/pypy-dist/pypy/tool/gcc_cache.py&quot;, line 23, in build_executable_cache<br>
&nbsp;&nbsp;&nbsp; result = py.process.cmdexec(build_executable(c_files, eci))<br>&nbsp; File &quot;/home/k/pypy-dist/pypy/translator/tool/cbuild.py&quot;, line 621, in build_executable<br>&nbsp;&nbsp;&nbsp; compiler.build(noerr=noerr)<br>&nbsp; File &quot;/home/k/pypy-dist/pypy/translator/tool/cbuild.py&quot;, line 574, in build<br>
&nbsp;&nbsp;&nbsp; raise CompilationError(data)<br>pypy.translator.tool.cbuild.CompilationError: gcctest.c:3:20: error: stdlib.h: No such file or directory<br>gcctest.c:4:23: error: sys/types.h: No such file or directory<br>gcctest.c: In function 'main':<br>
gcctest.c:11: warning: incompatible implicit declaration of built-in function 'printf'<br>gcctest.c:13:2: warning: no newline at end of file<br>command &#39;cc&#39; failed with exit status 1<br><br>My gcc -v is this:<br>gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)<br>
<br>And my python version is this:<br>Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) <br>[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2<br><br>Can anyone suggest how I might fix this?<br><br>Thanks!<br><br>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?<br>
</div>