View Single Post
Posts: 8 | Thanked: 2 times | Joined on Feb 2008
#5
Originally Posted by pycage View Post
This looks like you'd need a mysql-devel package on your system. I think the best would be to get the Scratchbox Maemo SDK installed on your computer, and build the mysql-python-bindings there. You should be able to compile and install the mysql-client source on Scratchbox, which in turn will help with compiling the mysql-python-bindings. Scratchbox can do crosscompiling for ARM, so it will run on your tablet.
Ok, I'm in the same situation as the guy at the top of this thread. I need a working python-mysql package. I have installed the SDK, works fine when it's about compiling the hello world, but I am not able to compile the python-mysql module.

I would be very grateful if you, or somebody could help me.

Here is what I did, maybe I have misunderstood something, so please tell me, where I went wrong:

1. selected the ARMEL target.
2. downloaded http://sourceforge.net/projects/mysq...ar.gz/download
3. tried to compile it with python2.5 setup.py install, it needed setuptools
4. added the repos from the list on my N810 to the scratchbox environment:

Code:
[sbox-DIABLO_ARMEL: ~] > cat /etc/apt/sources.list
deb http://repository.maemo.org/ diablo/sdk free non-free
deb-src http://repository.maemo.org/ diablo/sdk free
deb http://repository.maemo.org/ diablo/tools free non-free
deb-src http://repository.maemo.org/ diablo/tools free

deb http://catalogue.tableteer.nokia.com/certified/ diablo user                                                         
deb http://catalogue.tableteer.nokia.com/non-certified/ diablo user                                                     
deb http://catalogue.tableteer.nokia.com/updates/diablo-2/ ./                                                          
deb http://repository.maemo.org/extras/ diablo free non-free                                                            
deb http://deb.opera.com/maemo diablo non-free                                                                          
deb http://www.web-brewer.co.uk/maemo.repository diablo os2008
5. fakeroot apt-get update
6. fakeroot apt-get install python2.5-setuptools
7. tried again, it look that setuptools works, but then it needs mysql_config. I read that I need the libmysqlclient-dev package, but I can't find it anywhere.

Any suggestions? Where can I go now?