![]() |
2009-03-19
, 07:26
|
|
Posts: 3,404 |
Thanked: 4,474 times |
Joined on Oct 2005
@ Germany
|
#2
|
![]() |
2009-03-19
, 07:41
|
Posts: 2 |
Thanked: 0 times |
Joined on Mar 2009
|
#3
|
~/apps/MySQL-python-1.2.2 $ python setup.py build
sh: mysql_config: not found
Traceback (most recent call last):
File "setup.py", line 16, in <module>
metadata, options = get_config()
File "/home/user/apps/MySQL-python-1.2.2/setup_posix.py", line 43, in get_config
libs = mysql_config("libs_r")
File "/home/user/apps/MySQL-python-1.2.2/setup_posix.py", line 24, in mysql_config
raise EnvironmentError, "%s not found" % mysql_config.path
EnvironmentError: mysql_config not found
~/apps/MySQL-python-1.2.2 $
![]() |
2009-03-20
, 08:56
|
|
Posts: 3,404 |
Thanked: 4,474 times |
Joined on Oct 2005
@ Germany
|
#4
|
The Following User Says Thank You to pycage For This Useful Post: | ||
![]() |
2010-11-18
, 00:17
|
Posts: 8 |
Thanked: 2 times |
Joined on Feb 2008
|
#5
|
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.
[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
![]() |
2010-11-18
, 00:21
|
Posts: 8 |
Thanked: 2 times |
Joined on Feb 2008
|
#6
|
[sbox-DIABLO_ARMEL: ~/MySQL-python-1.2.3] > python2.5 setup.py install sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented running install sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented sem_post: Function not implemented qemu: uncaught target signal 11 (Segmentation fault) - exiting
I am trying to create an application in Python which will allow me to interface with a remote MySQL database. I tried to install MySQLdb on the N810 but it apparently does not work.
Does anyone have any ideas on this? Any help would be greatly appreciated!
Thanks!!