[Zope] Openflow_ZPygresqlDA_products_broken_on_ZMI
Smita Kamdar
SK0054916 at TechMahindra.com
Thu Dec 16 05:47:54 EST 2010
Hi,
I am sorry to start new threads for just a single issue. Now I will stick to only this thread (with subject: Openflow_ZPygresqlDA_products_broken_on_ZMI) for
my issue.
Thanks all for your suggestions.
I have already started installing new products (of the same version as on live) from scratch (as suggested by lennart) on development env. I have already finished installing Zope-2.6.2, python-2.1.3, Openflow-engine-1.1.0, postgresql-7.4.13. Now I am in the process of installing ZPygresqlDA-0.0.3 & for its installation I followed the below steps -
1) I downloaded & untared ZPygresqlDA-0.0.3 in zope's Products dir i.e. (lib/python/Products)
2) I added the below line to Setup file in ZPygresqlDA/src directory -
-----------------------------------------------------------------------------------------------------------------------------------------------------
*shared*
_pg pgmodule.c -I/home/test/Python/2.1.3/lib/python2.1 -I/usr/local/pgsql/include -I/usr/local/pgsql/include/server -L/usr/local/pgsql/lib -lpq -lcrypt
------------------------------------------------------------------------------------------------------------------------------------------------------
Where python is installed at /home/test/Python/2.1.3
Postgresql is installed at /usr/local/pgsql
Zope is installed at /opt/zope
3) I copied pg.py to /home/test/Python/2.1.3/lib/python2.1
4) make -f Makefile.pre.in boot
5) make & make install
Upto 4th step it worked fine. But in the 5th step (i.e. make & make install) it shows the below error -
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
gcc -fPIC -g -O2 -Wall -Wstrict-prototypes -I/home/test/Python/2.1.3/include/python2.1 -I/home/test/Python/2.1.3/include/python2.1 -DHAVE_CONFIG_H -I/home/test/Python/2.1.3/lib/python2.1 -I/usr/local/pgsql/include -I/usr/local/pgsql/include/server -c ././pgmodule.c -o ./pgmodule.o
././pgmodule.c: In function âpgconnectâ:
././pgmodule.c:694: warning: passing argument 4 of âPyArg_ParseTupleAndKeywordsâ from incompatible pointer type
/home/test/Python/2.1.3/include/python2.1/modsupport.h:14: note: expected âchar **â but argument is of type âconst char **â
././pgmodule.c:2128:5: warning: missing terminating " character
././pgmodule.c: In function âpgsetdefpasswdâ:
././pgmodule.c:2128: error: missing terminating " character
././pgmodule.c:2129: error: âNoneâ undeclared (first use in this function)
././pgmodule.c:2129: error: (Each undeclared identifier is reported only once
././pgmodule.c:2129: error: for each function it appears in.)
././pgmodule.c:2129:7: warning: missing terminating " character
././pgmodule.c:2129: error: missing terminating " character
././pgmodule.c:2130: error: expected identifier before âreturnâ
make: *** [pgmodule.o] Error 1
------------------------------------------------------------------------------------------------------------------------------------------------------------------
I am not able to solve this. Am I missing any step?? Please help.
Thanks & Regards,
Smita Kamdar
============================================================================================================================Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20101216/b055aca8/attachment.html
More information about the Zope
mailing list