installing ZPyGreSQLDA
I am trying to get "ZPyGreSQLDA 0.03" connection working, and have a few questions about installation. I can connect to the database, but am unable to run any queries against it. I was reading some of the archived mail, and Bruce Elrick states that you just have to install the product in the /lib/python/products directory, and restart Zope. This is supposed to work. In the README.txt file you have to do what Bruce says, and compile some code: make -f Makefile.pre.in boot make then copy the file _pgmodule.so from the src to the ../src Which is right? I have RH 6.1, Zope RPMs from Jeff, + all the Postgres RPMs from RedHat. thanks, Geoff Nordli
On Fri, 29 Oct 1999, Geoff Nordli wrote:
I am trying to get "ZPyGreSQLDA 0.03" connection working, and have a few questions about installation. I can connect to the database, but am unable to run any queries against it.
I was reading some of the archived mail, and Bruce Elrick states that you just have to install the product in the /lib/python/products directory, and restart Zope. This is supposed to work.
In the README.txt file you have to do what Bruce says, and compile some code:
make -f Makefile.pre.in boot make
then copy the file _pgmodule.so from the src to the ../src
Which is right?
I have RH 6.1, Zope RPMs from Jeff, + all the Postgres RPMs from RedHat.
Can you connect from Python to Postgres outside of Zope? I.e., do you have PyGreSQL installed? If yes, you need just unpack DA. If no, you need second step (make and copy)... Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
Thanks for the clarification. I got it working. geoff nordli
-----Original Message----- From: Oleg Broytmann [mailto:phd@phd.russ.ru] Sent: Friday, October 29, 1999 9:48 AM To: Geoff Nordli Cc: Zope List (E-mail) Subject: Re: [Zope] installing ZPyGreSQLDA
On Fri, 29 Oct 1999, Geoff Nordli wrote:
I am trying to get "ZPyGreSQLDA 0.03" connection working, and have a few questions about installation. I can connect to the database, but am unable to run any queries against it.
I was reading some of the archived mail, and Bruce Elrick states that you just have to install the product in the /lib/python/products directory, and restart Zope. This is supposed to work.
In the README.txt file you have to do what Bruce says, and compile some code:
make -f Makefile.pre.in boot make
then copy the file _pgmodule.so from the src to the ../src
Which is right?
I have RH 6.1, Zope RPMs from Jeff, + all the Postgres RPMs from RedHat.
Can you connect from Python to Postgres outside of Zope? I.e., do you have PyGreSQL installed? If yes, you need just unpack DA. If no, you need second step (make and copy)...
Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
Geoff Nordli wrote:
I am trying to get "ZPyGreSQLDA 0.03" connection working, and have a few questions about installation. I can connect to the database, but am unable to run any queries against it.
I was reading some of the archived mail, and Bruce Elrick states that you just have to install the product in the /lib/python/products directory, and restart Zope. This is supposed to work.
In the README.txt file you have to do what Bruce says, and compile some code:
make -f Makefile.pre.in boot make
then copy the file _pgmodule.so from the src to the ../src
Which is right?
I have RH 6.1, Zope RPMs from Jeff, + all the Postgres RPMs from RedHat.
thanks,
Geoff Nordli
Both...in the message you found, I forgot to include the step about compiling. I think there was an exchange about that subsequantly, but it may have been direct e-mail only. Sorry. Cheers... Bruce -- Bruce Elrick, Ph.D. Saltus Technology Consulting Group Personal: belrick@home.com IBM Certified Specialist Business: belrick@saltus.ab.ca ADSM, AIX Support, RS/6000 SP, HACMP
participants (3)
-
Bruce Elrick -
Geoff Nordli -
Oleg Broytmann