I had repeated the SuSE 9 installation. The problem remains.
I suspect that the error comes from the different default packages
installation
but I am unable to determine the exactly which package is missing.
Would this error log helps you to give me a clue?
Thks again.
Configure log
==========
amphora:/zope/z26/psycopg-1.1.10 # ls -l
total 518
drwxr-xr-x 7 zadmin zope 1256 Feb 18 10:45 .
drwxrwxr-x 15 zadmin zope 784 Feb 18 10:45 ..
-rw-r--r-- 1 zadmin zope 231 Feb 18 10:45 AUTHORS
-rw-r--r-- 1 zadmin zope 17982 Feb 18 10:45 COPYING
-rw-r--r-- 1 zadmin zope 1498 Feb 18 10:45 CREDITS
-rw-r--r-- 1 zadmin zope 58619 Feb 18 10:45 ChangeLog
-rw-r--r-- 1 zadmin zope 1084 Feb 18 10:45 ChangeLog.win32
-rw-r--r-- 1 zadmin zope 6301 Feb 18 10:45 FAQ
drwxr-xr-x 4 zadmin zope 376 Feb 18 10:45 GeoTypes
-rw-r--r-- 1 zadmin zope 7934 Feb 18 10:45 INSTALL
-rw-r--r-- 1 zadmin zope 4478 Feb 18 10:45 Makefile.msvc
-rw-r--r-- 1 zadmin zope 8163 Feb 18 10:45 Makefile.pre.in
-rw-r--r-- 1 zadmin zope 8864 Feb 18 10:45 NEWS
-rw-r--r-- 1 zadmin zope 7820 Feb 18 10:45 README
-rw-r--r-- 1 zadmin zope 2763 Feb 18 10:45 README.win32
-rw-r--r-- 1 zadmin zope 2014 Feb 18 10:45 RELEASE-1.0
-rw-r--r-- 1 zadmin zope 4189 Feb 18 10:45 SUCCESS
-rw-r--r-- 1 zadmin zope 172 Feb 18 10:45 Setup.in
-rw-r--r-- 1 zadmin zope 1314 Feb 18 10:45 TODO
-rw-r--r-- 1 zadmin zope 7 Feb 18 10:45 VERSION
-rw-r--r-- 1 zadmin zope 16 Feb 18 10:45 VERSION.msvc.pre
drwxr-xr-x 3 zadmin zope 328 Feb 18 10:45 ZPsycopgDA
-rw-r--r-- 1 zadmin zope 10080 Feb 18 10:45 aclocal.m4
-rw-r--r-- 1 zadmin zope 2234 Feb 18 10:45 asprintf.c
-rwxr-xr-x 1 zadmin zope 823 Feb 18 10:45 autogen.sh
-rw-r--r-- 1 zadmin zope 3327 Feb 18 10:45 buildtypes.py
-rw-r--r-- 1 zadmin zope 209 Feb 18 10:45 config.h.in
-rw-r--r-- 1 zadmin zope 4969 Feb 18 10:45 config32.h
-rwxr-xr-x 1 zadmin zope 131894 Feb 18 10:45 configure
-rw-r--r-- 1 zadmin zope 3532 Feb 18 10:45 configure.in
-rw-r--r-- 1 zadmin zope 16779 Feb 18 10:45 connection.c
-rw-r--r-- 1 zadmin zope 67268 Feb 18 10:45 cursor.c
drwxr-xr-x 2 zadmin zope 400 Feb 18 10:45 debian
drwxr-xr-x 3 zadmin zope 136 Feb 18 10:45 doc
-rw-r--r-- 1 zadmin zope 9057 Feb 18 10:45 module.c
-rw-r--r-- 1 zadmin zope 7732 Feb 18 10:45 module.h
-rw-r--r-- 1 zadmin zope 1345 Feb 18 10:45 pgtypes.h
-rw-r--r-- 1 zadmin zope 2092 Feb 18 10:45 psycopg.spec
drwxr-xr-x 3 zadmin zope 144 Feb 18 10:45 tests
-rw-r--r-- 1 zadmin zope 18440 Feb 18 10:45 typemod.c
-rw-r--r-- 1 zadmin zope 3153 Feb 18 10:45 typemod.h
-rw-r--r-- 1 zadmin zope 19664 Feb 18 10:45 typeobj.c
-rw-r--r-- 1 zadmin zope 2545 Feb 18 10:45 typeobj.h
-rw-r--r-- 1 zadmin zope 1514 Feb 18 10:45 typeobj_builtins.c
amphora:/zope/z26/psycopg-1.1.10 # ./configure --with-zope=/zope/z26 \
>
--with-mxdatetime-includes=/zope/z26/lib/python2.1/site-packages/mx/DateTime/mxDateTime
\
> --with-postgres-includes=/usr/include/pgsql/server \
> --with-postgres-libraries=/usr/lib/pgsql \
> --with-python-version=2.1 \
> --with-python=/zope/z26/bin/python
checking for python... /zope/z26/bin/python
checking python version... 2.1
checking python installation prefix... /zope/z26
checking python installation exec_prefix... /zope/z26
checking definitions in Python library makefile... done
checking for install... /usr/bin/install
checking location of python library... $(prefix)/lib/python2.1/site-packages
checking location of python shared modules...
$(exec_prefix)/lib/python2.1/site-packages
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... no
checking for inline... inline
checking PostgreSQL version...
checking PostgreSQL type catalog...
/usr/include/pgsql/server/catalog/pg_type.h
checking for mxDateTime.h... yes
checking for main in -lcrypt... yes
checking for PQconnectStart in -lpq... yes
checking for PQfreeNotify in -lpq... yes
checking for asprintf... yes
configure: creating ./config.status
config.status: creating Setup
config.status: creating config.h
config.status: creating Makefile.pre
config.status: executing default commands
creating Makefile
amphora:/zope/z26/psycopg-1.1.10 #
Make error
========
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 #
Federico Di Gregorio wrote:
Il mar, 2004-02-17 alle 19:14, CY ha scritto:
module.h:31:22: libpq-fe.h: No such file or directory
it seems you don't have all the postgresql headers installed. how you
were able to ./configure is still a mistery to me, though.
------------------------------------------------------------------------
_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/+sw@xxxxxxxxxxxxxxxx
http://lists.initd.org/mailman/listinfo/psycopg
|