How to Install Google Data API on the Nokia N800 Internet Tablet
The article is believed to be still valid for the original topic scope.
Article Metadata
Overview
Installing the Python library of Google Data API [1] using distutils package [2] is a straightforward proccess on a PC. However, the Python installation on N800 maemo is different than on PC. This raises an error when you try install the API on N800 using distutils:
distutils.errors.DistutilsPlatformError:
invalid Python installation:
unable to open /usr/lib/python2.5/config/Makefile (No such file or directory)
To solve this problem connect as superuser via ssh into N800 and execute the following commands:
apt-get install python2.5 python2.5-dev python2.5-xml
mkdir /usr/lib/python2.5/config/
echo "" > /usr/lib/python2.5/config/Makefile
mkdir /usr/include/python2.5
echo "" > /usr/include/python2.5/pyconfig.h
tar xvzf gdata.py-1.2.4.tar.gz
cd gdata.py-1.2.4
./setup.py install
./tests/run_data_tests.py
...
Ran 16 tests in 0.922s
OK
Running all tests in module gdata_tests.blogger_test
......
----------------------------------------------------------------------
Ran 6 tests in 0.095s
OK
Running all tests in module gdata_tests.webmastertools_test
.............................
----------------------------------------------------------------------
Ran 29 tests in 0.623s
OK
Now you are ready to implement N800 applications using the Python library of Google Data API.
You may find more posts about this topic at: http://mobility4you-en.blogspot.com.


(no comments yet)