[Zope] Zope to PostgreSQL Connection?

2000-09-16 Thread Cesar A. K. Grossmann

Hi

I'm with some troubles to connect a freshly installed Zope 2.2.1 on a
Conectiva Linux 5.0 (glibc-2.1.2, the rest is the same as Red Hat 6.x)
to a PostgreSQL 7.0.2 database. The ZPyGreSQLDA
(http://www.zope.org/Members/reedstrm/ZPyGreSQLDA-rjr) "is broken".

I tried to get the PoPyDA working, but cannot compile the PoPy module
(it complains about libcrypt - that is already installed). Can someone
point's me to a useful documentation about what is needed to get PoPy
compiled, or another way to connect a Zope 2.2.1 to a PostgreSQL
database.

Trying to compile PoPy 1.3.6:

[root@bit PoPy-1.3.6]# ./configure 
loading cache ./config.cache
checking for python... /usr/bin/python
checking python version... 1.5
checking python installation prefix... /usr
checking python installation exec_prefix... /usr
checking definitions in Python library makefile... done
checking location of python library...
$(prefix)/lib/python1.5/site-packages
checking location of python shared modules...
$(exec_prefix)/lib/python1.5/site-packages
checking for main in -lcrypt... no
Warning: next test can fail because of a missing libcrypt
checking for PQconnectStart in -lpq... no
configure: error: can't build without PostgreSQL libraries

Do we have a crypt library somewhere?

[root@bit PoPy-1.3.6]# locate lib/libcryp
/lib/libcrypt-2.1.2.so
/lib/libcrypt.so.1
/usr/lib/libcrypto.so
/usr/lib/libcrypto.so.0
/usr/lib/libcrypto.so.0.9.4
/usr/lib/libcrypt.a
/usr/lib/libcrypt.so
/usr/lib/libcrypto.a

Who owns that files?

[root@bit PoPy-1.3.6]# locate lib/libcryp | xargs rpm -qf | sort | uniq
glibc-2.1.2-11cl
glibc-devel-2.1.2-11cl
openssl-0.9.4-4cl
openssl-devel-0.9.4-4cl

[]s
-- 
César A. K. Grossmann [EMAIL PROTECTED] http://members.xoom.com/ckant/
http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope to PostgreSQL Connection?

2000-09-16 Thread Dieter Maurer

Cesar A. K. Grossmann writes:
  I'm with some troubles to connect 
  to a PostgreSQL 7.0.2 database. The ZPyGreSQLDA
  (http://www.zope.org/Members/reedstrm/ZPyGreSQLDA-rjr) "is broken".
  
  Trying to compile PoPy 1.3.6:
  [root@bit PoPy-1.3.6]# ./configure 
  
  Warning: next test can fail because of a missing libcrypt
  checking for PQconnectStart in -lpq... no
  configure: error: can't build without PostgreSQL libraries
The problem seems to be that "configure" does not find
the "PostgreSQL libraries".

The "libcrypt" reference is probably only a warning.

You may look at the various "config.*" files to obtain
more information about the configuration process
and why it failed.


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )