Re: [Zope-DB] MySQL-python and MAC OS X

2007-03-12 Thread Andreas Jung



--On 12. März 2007 14:52:34 +0100 vw393 <[EMAIL PROTECTED]> wrote:



Hi all,

I'm having troubles in installing MySQL-python 1.2.2 on MAC OS X


"troubles" means? If you have a particular problem, tell us about the
problem :-)

-aj

pgpMTvFDmLz47.pgp
Description: PGP signature
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db


[Zope-DB] MySQL-python and MAC OS X

2007-03-12 Thread vw393

Hi all,

I'm having troubles in installing MySQL-python 1.2.2 on MAC OS X
I need it in order to install ZMySQLDA 2.0.8

Could anyone out there point me to a reliable source of information?

Thanks in advance


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


Re: [Zope-DB] MySQL-python on solaris 10: installation problems

2007-03-08 Thread Charlie Clark
Am 08.03.2007, 10:23 Uhr, schrieb Comunian Alessandro  
<[EMAIL PROTECTED]>:



I think that maybe the problem is that MySQL is compiled whith a compiler
different than gcc... and the problem could be solved installing MySQL  
from

sources, but I not yet been able to do it.
Somebody have some suggestion?


You're probably right. If MySQL has been built with a different toolchain  
than the one you're using to build the driver you should expect problems.  
However, this has nothing to do with Zope. You're probably better posting  
to the Mysqldb list or a Solaris list.


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


[Zope-DB] MySQL-python on solaris 10: installation problems

2007-03-08 Thread Comunian Alessandro
Hello,
I am trying again to install MySQL-python-1.2.2 on a Solaris10 machine, but I 
have some installation problems when I 
"# /opt/Plone-2.5.2/Python-2.4.4/bin/python setup.py build":



running build
running build_py
copying MySQLdb/release.py -> build/lib.solaris-2.10-sun4u-2.4/MySQLdb
running build_ext
building '_mysql' extension
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC 
-Dversion_info=(1,2,2,'final',0) -D__version__=1.2.2 
-I/usr/local/mysql-max-5.0.27-solaris10-sparc-64bit/include 
-I/opt/Plone-2.5.2/Python-2.4.4/include/python2.4 -c _mysql.c -o 
build/temp.solaris-2.10-sun4u-2.4/_mysql.o -mt -D_FORTEC_ -xarch=v9
gcc: warning: `-x arch=v9' after last input file has no effect
cc1: error: invalid option `t'
error: command 'gcc' failed with exit status 1



On my pc I have:

- MySQL 5.0.27 (From the binaries for solaris 10 
mysql-max-5.0.27-solaris10-sparc-64bit.tar.gz provided in the mysql site. I 
have not been able to install from sources or with pkg).

- Python 2.4.4 (from the Plone 2.5.2 package)

- gcc 3.4.6

I think that maybe the problem is that MySQL is compiled whith a compiler 
different than gcc... and the problem could be solved installing MySQL from 
sources, but I not yet been able to do it.
Somebody have some suggestion?
Thank you in advance!

Alessandro






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


[Zope-DB] mysql-python

2006-07-17 Thread john
redhat es4 update 3, zope 276,  did someone run into this, i am not 
having the same problem with fc4, same software


**


2006-07-17T09:10:58 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/local/Zope-2.7.6-final/lib/python/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/local/Zope-2.7.6-final/lib/python/mx/Tools/mxTools/mxTools.so: 
cannot open shared object file: No such file or directory


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


[Zope-DB] mysql python

2006-07-17 Thread john

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