[Zope] Postgres with Zope.
Rajeev Sharma
rajeev at netcore.co.in
Thu Oct 23 13:09:05 EDT 2003
Hi,
Now i compiled Zope 2.6.2 source with python 2.1.
And tryied to install psycopg 1.1.9 with following command.
I am trying to install it since two days and getting in the mess..
Is postgres support is not easily avalable with zope..?
[root at thickserver psycopg-1.1.9]# ./configure
--with-postgres-includes=/usr/local/pgsql/include/
--with-mxdatetime-includes=/usr/local/zope/egenix-mx-base-2.0.5/mx/DateTime/mxDateTime/
--with-postgres-libraries=/usr/local/pgsql/lib/
--with-python=/usr/local/bin/python2.1 --with-zope=/usr/local/zope/Zope-2.6.2-src
and added ZpsycopgDA in the Zope Products directory and restarted zope ..got the
following error..
Traceback (innermost last):
File /usr/local/zope/Zope-2.6.2-src/z2.py, line 585, in ?
File /usr/local/zope/Zope-2.6.2-src/lib/python/Zope/__init__.py, line 46, in
startup
(Object: startup)
File /usr/local/zope/Zope-2.6.2-src/lib/python/Zope/App/startup.py, line 45,
in startup
File /usr/local/zope/Zope-2.6.2-src/lib/python/OFS/Application.py, line 500,
in import_products
File /usr/local/zope/Zope-2.6.2-src/lib/python/OFS/Application.py, line 522,
in import_product
File
/usr/local/zope/Zope-2.6.2-src/lib/python/Products/ZPsycopgDA/__init__.py, line
92, in ?
File /usr/local/zope/Zope-2.6.2-src/lib/python/Products/ZPsycopgDA/DA.py, line
94, in ?
File /usr/local/zope/Zope-2.6.2-src/lib/python/Products/ZPsycopgDA/db.py, line
99, in ?
ImportError: libpq.so.3: cannot open shared object file: No such file or directory
And same with Popy and ZPopyDA ..
With following errors..
[root at thickserver PoPy-2.0.8]# ./configure
--with-postgres-includes=/usr/local/pgsql/include/
--with-mxdatetime-headers=/usr/local/zope/egenix-mx-base-2.0.5/mx/DateTime/mxDateTime/
--with-postgres-libraries=/usr/local/pgsql/lib/ --with-python=/usr/bin/python2.1
--with-zope=/usr/local/zope/Zope-2.6.2-src
And after copying ZPopyDA to Zope Products directory restarted Zope ..got the
following error
Traceback (innermost last):
File /usr/local/zope/Zope-2.6.2-src/z2.py, line 585, in ?
File /usr/local/zope/Zope-2.6.2-src/lib/python/Zope/__init__.py, line 46, in
startup
(Object: startup)
File /usr/local/zope/Zope-2.6.2-src/lib/python/Zope/App/startup.py, line 45,
in startup
File /usr/local/zope/Zope-2.6.2-src/lib/python/OFS/Application.py, line 500,
in import_products
File /usr/local/zope/Zope-2.6.2-src/lib/python/OFS/Application.py, line 522,
in import_product
File /usr/local/zope/Zope-2.6.2-src/lib/python/Products/zpopyda/__init__.py,
line 23, in ?
File
/usr/local/zope/Zope-2.6.2-src/lib/python/Products/zpopyda/PoPy_browser.py, line
67, in ?
File /usr/local/zope/Zope-2.6.2-src/lib/python/Products/zpopyda/PoPy_DA.py,
line 25, in ?
File /usr/local/zope/Zope-2.6.2-src/lib/python/Products/zpopyda/PoPy_db.py,
line 26, in ?
The PoPy module is not installed
--
=======================================================
----------------
"Linux drives you from creativity to innovation"
-------------------------
====================
Rajeev Sharma
Netcore Solutions Pvt. Ltd
402,Peninsula chambers
Morarjee Mills Comp
Ganpatrao Kadam Marg
Mumbai 400 013
India.
Tel:+91(22)56628000 EXT-128
----------------------------------------------------------------
NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134
MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP
Fleximail: Mail Storage, Management and Relaying
http://netcore.co.in
Emergic Freedom: Linux-based Thin Client-Thick Server Computing
http://www.emergic.com
BlogStreet: Blog Profiles, RSS Ecosystem, Blog Tops, Search
http://www.blogstreet.com
Rajesh Jain's Weblog on Technology: http://www.emergic.org
----------------------------------------------------------------
More information about the Zope
mailing list