And I also try to build it in python
I download RPi.GPIO-0.4.2a.tar.gz from pypi.python.org
(and also RPi.GPIO-0.4.1a.tar.gz, the same as 0.4.2a)
After wget and tar it, I run:
(Installed openssl-1.0.0.tcz, compile-essentials.tcz ,python-dev.tcz and gcc.tcz)
cd ./RPi.GPIO-0.4.2a
tce-load -i python-dev.tcz
...
sudo su
python setup.py install
When building "RPi.GPIO" extension, I get :
In file included from /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/armv6l-unknown-linux-gnueabi/4.6.3/include-fixed/syslimits.h:7:0,
from /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/armv6l-unknown-linux-gnueabi/4.6.3/include-fixed/limits.h:34,
from /usr/local/include/python2.7/Python.h:19,
from source/py_gpio.c:23:
/tmp/tcloop/gcc/usr/local/bin/../lib/gcc/armv6l-unknown-linux-gnueabi/4.6.3/include-fixed/limits.h:169:61: fatal error: limits.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
I guess I was missing a "limits.h" file , how can i get it?
miss a *-dev.tcz ?
And I test 0.4.1a.tar.gz , the same.
python.tcz version 2.7.3 (default Dec 26 2012 , 17:02:32)
[GCC 4.6.3] on linux 2
uname -a
Linux box 3.2.27 #2 Sat Sep 15 04:44:32 PDT 2012 armv6l GNU/Linux