Mailing List Archive

mysql python
redhat es4 update 3

i am having some problem compiling mysql-python, i wonder if someone can
point me to the right direction, i am fairly new to zope/db

********************
2006-07-17T07:32:54 INFO(0) Zope Set effective user to "apache"
/usr/local/Zope-2.7.6-final/Products/Calendar/__init__.py:4:
DeprecationWarning: Non-ASCII character '\xf8' in file
/usr/local/Zope-2.7.6-final/Products/Calendar/CalendarTag.py on line 65,
but no encoding declared; see http://www.python.org/peps/pep-0263.html
for details
import CalendarTag
*** You don't have the (right) mxDateTime binaries installed !
*** Problem importing the eGenix mx Extensions:

Please make sure that you have downloaded and installed
the right eGenix mxODBC Zope DA version for your version
of Zope. Zope comes with its own built-in Python interpreter
and binaries for different versions of the interpreter are
mutually incompatible.

Your Zope installation is using: Python 2.3.4 (#1, Feb 2 2005, 11:44:13)
[GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)]

------
2006-07-17T07:32:54 ERROR(200) Zope Could not import Products.mxODBCZopeDA
Traceback (most recent call last):
File "/usr/local/Zope-2.7.6-final/lib/python/OFS/Application.py", line
673, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File "Products/mxODBCZopeDA/__init__.py", line 7, in ?
# Version 2.0 (ZPL). A copy of the ZPL should accompany this
distribution.
File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ?
ImportError:
/usr/lib/python2.3/site-packages/mx/Tools/mxTools/mxTools.so: cannot
open shared object file: No such file or directory
Traceback (most recent call last):
File "/usr/local/Zope-2.7.6-final/lib/python/Zope/Startup/run.py",
line 50, in ?
run()
File "/usr/local/Zope-2.7.6-final/lib/python/Zope/Startup/run.py",
line 19, in run
start_zope(opts.configroot)
File
"/usr/local/Zope-2.7.6-final/lib/python/Zope/Startup/__init__.py", line
52, in start_zope
starter.startZope()
File
"/usr/local/Zope-2.7.6-final/lib/python/Zope/Startup/__init__.py", line
231, in startZope
Zope.startup()
File "/usr/local/Zope-2.7.6-final/lib/python/Zope/__init__.py", line
47, in startup
_startup()
File "/usr/local/Zope-2.7.6-final/lib/python/Zope/App/startup.py",
line 45, in startup
OFS.Application.import_products()
File "/usr/local/Zope-2.7.6-final/lib/python/OFS/Application.py", line
650, in import_products
import_product(product_dir, product_name, raise_exc=debug_mode)
File "/usr/local/Zope-2.7.6-final/lib/python/OFS/Application.py", line
673, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File
"/usr/local/Zope-2.7.6-final/lib/python/Zope/Startup/__init__.py", line
7, in ?
# Version 2.0 (ZPL). A copy of the ZPL should accompany this
distribution.
File "Products/mxODBCZopeDA/ZopeDA.py", line 48, in ?
ImportError:
/usr/lib/python2.3/site-packages/mx/Tools/mxTools/mxTools.so: cannot
open shared object file: No such file or directory


*****************************

879 cd /usr/local/zope/lib/python/Products/MySQL-python-1.2.1/

896 cd /usr/lib/python2.3/site-packages/mx/Tools/mxTools/

899 ldd mxTools.so


903 export LD_LIBRARY_PATH =
/usr/lib/python2.3/site-packages/mx/Tools/mxTools/
904 export
LD_LIBRARY_PATH=/usr/lib/python2.3/site-packages/mx/Tools/mxTools/

906 cd /usr/local/zope/Products


930 cd lib/python/Products/MySQL-python-1.2.1/

934 less setup.cfg
935 less setup.py
936 /usr/local/bin/python2.3

938 less setup.py

942 vi setup.py

945 /usr/local/bin/python2.3 ./setup.py clean
946 /usr/local/bin/python2.3 ./setup.py build
947 vi setup.py

953 mv MySQL-python-1.2.1/ /root/

956 rpm -i --test MySQL-python-1.0.0-1.RHEL4.1.x86_64.rpm
957 rpm -i --test mysqlclient10-3.23.58-4.RHEL4.1.i386.rpm
958 cd /usr/local/zope/lib/python/Products/MyS
959 cd /usr/local/zope/lib/python/Products/MySQ
960 mv /root/MySQL-python-1.2.1/ /usr/local/zope/lib/python/Products/
961 cd /usr/local/zope/lib/python/Products/MySQL-python-1.2.1/

963 /usr/local/bin/python2.3 ./setup.py build

966 mv MySQL-python-1.2.1/ /root/

972 rpm -e --test mysqlclient
973 rpm -e --test mysqlclient10
974 rpm -e mysqlclient10
975 wget
ftp://fr.rpmfind.net/linux/fedora/core/4/x86_64/os/Fedora/RPMS/mysqlclient10-3.23.58-6.x86_64.rpm
976 wget
https://rhn.redhat.com/network/software/packages/details.pxt?pid=294453
977 wget
https://rhn.redhat.com/network/software/packages/details.pxt?pid=294453
978 wget
https://rhn.redhat.com/network/software/packages/details.pxt?pid=294453
979 wget
https://rhn.redhat.com/network/software/packages/details.pxt?pid=294453
980 wget
https://rhn.redhat.com/network/software/packages/details.pxt?pid=294453
981 wget
http://download.rhn.redhat.com/download/1153142677/fc6a1f1b74cafb51e3a8857a800fcba6bbf94558/942965/0/rhn/public/NULL/mysqlclient10/3.23.58-4.RHEL4.1/ia64/mysqlclient10-3.23.58-4.RHEL4.1.ia64.rpm
982 ls -l
983 rm
ReLogin.do\?url_bounce\=%2Fnetwork%2Fsoftware%2Fpackages%2Fdetails.pxt\?pid\=294453

984 ls -l
985 rpm -i --test mysqlclient10-3.23.58-6.x86_64.rpm
986 rpm -i mysqlclient10-3.23.58-6.x86_64.rpm
987 rpm -i --test MySQL-python-1.0.0-1.RHEL4.1.x86_64.rpm
988 rpm -i MySQL-python-1.0.0-1.RHEL4.1.x86_64.rpm
989 /usr/local/zope/bin/zopectl fg


_______________________________________________
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db