[Zope-DB] ZopeDA error

CY cyhoong at pc.jaring.my
Tue Feb 17 13:19:38 EST 2004


I have encountered a Make error after configure psycopg-1.1.10 and hope 
someone could shed some light.

Mu system config is Zope2.6.2 /Psycopg-1.1.10/ 
egenix-mx-base-2.0.4/Postgresql7.3.4 on SuSE 9.0 Professional.
However, I have tested the same on a different PC using RedHat 8 without 
any issues.
However, I encountered on Fedora Core 1. I found that the mx package in 
Fedora was NOT installed.
Upon installation, the installation was smooth.  When I check on SuSE, 
it comes with a pre-compiled package -
python-egenix-mx-base (version 2.0.4).

Could this be main course of the error? However, I tried uninstalled the 
python-egenix-mx-base, but the error remains.
Have anyone tried this?

Thks in advance.



error message:
==========
stars:/zope/z26/psycopg-1.1.10 # make
gcc -fPIC -g -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 
-I/zope/z26/include/python2.1 -I/zope/z26/lib/python2.1/config 
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_CONFIG_H=1 
-DHAVE_LIBCRYPT=1 -DHAVE_ASPRINTF=1  -I/usr/include/pgsql/server 
-I/zope/z26/lib/python2.1/site-packages/mx/DateTime/mxDateTime 
-DHAVE_PQFREENOTIFY -DVERSION=\"1.1.10\" -DNDEBUG -D_REENTRANT 
-D_GNU_SOURCE  -c ././module.c -o ./module.o
In file included from module.c:35:
module.h:31:22: libpq-fe.h: No such file or directory
In file included from module.c:35:
module.h:124: error: parse error before "PGconn"
module.h:124: warning: no semicolon at end of struct or union
module.h:128: error: parse error before '}' token
module.h:128: warning: data definition has no type or storage class
module.h:180: error: parse error before "connkeeper"
module.h:180: warning: no semicolon at end of struct or union
module.h:181: warning: data definition has no type or storage class
module.h:182: error: parse error before '*' token
module.h:182: warning: data definition has no type or storage class
module.h:188: error: conflicting types for `status'
module.h:127: error: previous declaration of `status'
module.h:191: error: parse error before "last_oid"
module.h:191: warning: data definition has no type or storage class
module.h:201: error: parse error before '}' token
module.h:203: error: parse error before "connkeeper"
module.h:221: error: parse error before '*' token
module.h:221: warning: data definition has no type or storage class
make: *** [module.o] Error 1
stars:/zope/z26/psycopg-1.1.10 #






More information about the Zope-DB mailing list