Dear Mr. Dustman,
Currently we are in the process of installing mysql-python module on
cobalt / MIPS architecture.
We have tried everything:
1. src.rpm --> --rebuild
2. src.rpm --> rpm -i --> rpm -i
/usr/src/RPMS/mips/python-MySQLmodule-1.4.0-7.mips.rpm
3. copy Mysqldb.c into $PYTHON_SOURCE/Modules and do a make (followed
after make install)
4. Build from source distrib (python build.py --> make
install)
all with no success. Above installation methods all 'exit' normally, but
our Zope gives:
Sorry, a Zope error
occurred.<p>
<!--
Traceback (innermost last):
File
/usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 214, in
publish_module
File
/usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 120, in
publish
File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py,
line 259, in get_module_info
File
/home/sites/www.financialtimes.net/users/ftnet/trip6/src/main.py, line 9, in
?
File /home/sites/www.financialtimes.net/users/ftnet/trip6/src/db.py,
line 8, in ?
ImportError: (<class exceptions.ImportError at
100eea30>, 'No module named Mysqldb')
-->
We use:
Cobalt most recent MIPS linux version (continuously
upgraded)
python1.5.2
Zope2.0.1
MySQL-3.22.20a
If you need more info, please contact us... Please help, we so urgently
need a solution/workaround for this issue...
Yours,
Thijs Cobben
Trip6 technology
The following lists our relevant dirs:
[root@ns site-packages]#
pwd
/usr/lib/python1.5/site-packages
[root@ns site-packages]#
ls
Acquisition.so
Missing.so
Sync.so
DateTime
MultiMapping.so
ThreadLock.so
DateTimeMX
MySQL
ZPublisher
DocumentTemplate
MySQL.pth
mxDateTime-1.3.0.tar.gz
ExtensionClass.so
SearchIndex
MethodObject.so
StructuredText
[root@ns site-packages]# ls -l
total
391
-r-xr-xr-x 1 root
root 38981 Jan 6 14:44
Acquisition.so
drwxr-sr-x 5 500
ftp 1024 Jul 2
1999 DateTime
drwxr-sr-x 2 cobben_t
site82 1024 Jan 6 12:37
DateTimeMX
drwxr-sr-x 2 root
site82 2048 Jan 6 13:20
DocumentTemplate
-r-xr-xr-x 1 root
root 128693 Jan 6 14:44
ExtensionClass.so
-r-xr-xr-x 1 root
root 11621 Jan 6 14:44
MethodObject.so
-r-xr-xr-x 1 root
root 17665 Jan 6 14:44
Missing.so
-r-xr-xr-x 1 root
root 16123 Jan 6 14:44
MultiMapping.so
drwxr-xr-x 2 root
root 1024 Jan 6 16:52
MySQL
-rw-r--r-- 1 root
root 6
Jan 6 16:24 MySQL.pth
drwxr-sr-x 2 cobben_t
site82 1024 Jan 6 12:38
SearchIndex
drwxr-sr-x 2 cobben_t
site82 1024 Jan 6 12:38
StructuredText
-r-xr-xr-x 1 root
root 14151 Jan 6 14:44
Sync.so
-r-xr-xr-x 1 root
root 16014 Jan 6 14:44
ThreadLock.so
drwxr-sr-x 2 cobben_t
site82 1024 Jan 6 12:38
ZPublisher
-rw-r--r-- 1 root
site82 136544 Jan 6 15:23
mxDateTime-1.3.0.tar.gz
[root@ns site-packages]# ls -l MySQL
total
155
-rw-r--r-- 1 root
root 144779 Jan 6 16:24
MySQLmodule.so
-rw-r--r-- 1 root
root 7684 Jan 6 16:24
Mysqldb.py
-rw-r--r-- 1 root
root 3211 Jan 6 16:24
mysqlshelve.py
[root@ns site-packages]#