php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35718 Can't compile PDO_PGSQL driver
Submitted: 2005-12-17 09:41 UTC Modified: 2005-12-25 01:00 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: ezdevelop at gmail dot com Assigned:
Status: No Feedback Package: PDO related
PHP Version: 5CVS-2005-12-17 (snap) OS: Redhat AS2.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ezdevelop at gmail dot com
New email:
PHP Version: OS:

 

 [2005-12-17 09:41 UTC] ezdevelop at gmail dot com
Description:
------------
#./configure --with-php-config=/usr/local/php/bin/php-config --with-pdo-pgsql=/usr/local/pgsql
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for PHP prefix... /usr/local/php
checking for PHP includes... -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend
checking for PHP extension directory... /usr/local/php/lib/php/extensions/no-debug-zts-20041030
checking for re2c... exit 0;
checking for gawk... gawk
checking for PostgreSQL support for PDO... yes, shared
checking for pg_config... /usr/local/pgsql/bin/pg_config
checking for openssl dependencies... yes
checking for PQescapeString in -lpq... yes
checking for PQsetnonblocking in -lpq... yes
checking for PQcmdTuples in -lpq... yes
checking for PQoidValue in -lpq... yes
checking for PQclientEncoding in -lpq... yes
checking for PQparameterStatus in -lpq... yes
checking for PQprotocolVersion in -lpq... yes
checking for PQtransactionStatus in -lpq... yes
checking for PQunescapeBytea in -lpq... yes
checking for PQExecParams in -lpq... no
checking for PQresultErrorField in -lpq... yes
checking for pg_encoding_to_char in -lpq... yes
checking for PQprepare in -lpq... yes
checking for PDO includes... checking for PDO includes... /usr/local/php/include/php/ext
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
[root@localhost PDO_PGSQL-1.0.1]# make
/bin/sh /usr/local/src/PDO_PGSQL-1.0.1/libtool --mode=compile gcc -I/usr/local/php/include/php/ext -I/usr/kerberos/include   -I. -I/usr/local/src/PDO_PGSQL-1.0.1 -DPHP_ATOM_INC -I/usr/local/src/PDO_PGSQL-1.0.1/include -I/usr/local/src/PDO_PGSQL-1.0.1/main -I/usr/local/src/PDO_PGSQL-1.0.1 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/pgsql/include  -DHAVE_CONFIG_H  -g -O2   -c /usr/local/src/PDO_PGSQL-1.0.1/pdo_pgsql.c -o pdo_pgsql.lo 
gcc -I/usr/local/php/include/php/ext -I/usr/kerberos/include -I. -I/usr/local/src/PDO_PGSQL-1.0.1 -DPHP_ATOM_INC -I/usr/local/src/PDO_PGSQL-1.0.1/include -I/usr/local/src/PDO_PGSQL-1.0.1/main -I/usr/local/src/PDO_PGSQL-1.0.1 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/pgsql/include -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/PDO_PGSQL-1.0.1/pdo_pgsql.c  -fPIC -DPIC -o pdo_pgsql.lo
/bin/sh /usr/local/src/PDO_PGSQL-1.0.1/libtool --mode=compile gcc -I/usr/local/php/include/php/ext -I/usr/kerberos/include   -I. -I/usr/local/src/PDO_PGSQL-1.0.1 -DPHP_ATOM_INC -I/usr/local/src/PDO_PGSQL-1.0.1/include -I/usr/local/src/PDO_PGSQL-1.0.1/main -I/usr/local/src/PDO_PGSQL-1.0.1 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/pgsql/include  -DHAVE_CONFIG_H  -g -O2   -c /usr/local/src/PDO_PGSQL-1.0.1/pgsql_driver.c -o pgsql_driver.lo 
gcc -I/usr/local/php/include/php/ext -I/usr/kerberos/include -I. -I/usr/local/src/PDO_PGSQL-1.0.1 -DPHP_ATOM_INC -I/usr/local/src/PDO_PGSQL-1.0.1/include -I/usr/local/src/PDO_PGSQL-1.0.1/main -I/usr/local/src/PDO_PGSQL-1.0.1 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/pgsql/include -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/PDO_PGSQL-1.0.1/pgsql_driver.c  -fPIC -DPIC -o pgsql_driver.lo
In file included from /usr/local/src/PDO_PGSQL-1.0.1/pgsql_driver.c:33:
/usr/local/pgsql/include/pg_config.h:580:1: warning: "PACKAGE_BUGREPORT" redefined
In file included from /usr/local/src/PDO_PGSQL-1.0.1/pgsql_driver.c:24:
/usr/local/src/PDO_PGSQL-1.0.1/config.h:86:1: warning: this is the location of the previous definition
In file included from /usr/local/src/PDO_PGSQL-1.0.1/pgsql_driver.c:33:
/usr/local/pgsql/include/pg_config.h:583:1: warning: "PACKAGE_NAME" redefined
In file included from /usr/local/src/PDO_PGSQL-1.0.1/pgsql_driver.c:24:
/usr/local/src/PDO_PGSQL-1.0.1/config.h:89:1: warning: this is the location of the previous definition
In file included from /usr/local/src/PDO_PGSQL-1.0.1/pgsql_driver.c:33:
/usr/local/pgsql/include/pg_config.h:586:1: warning: "PACKAGE_STRING" redefined
In file included from /usr/local/src/PDO_PGSQL-1.0.1/pgsql_driver.c:24:
/usr/local/src/PDO_PGSQL-1.0.1/config.h:92:1: warning: this is the location of the previous definition
In file included from /usr/local/src/PDO_PGSQL-1.0.1/pgsql_driver.c:33:
/usr/local/pgsql/include/pg_config.h:589:1: warning: "PACKAGE_TARNAME" redefined
In file included from /usr/local/src/PDO_PGSQL-1.0.1/pgsql_driver.c:24:
/usr/local/src/PDO_PGSQL-1.0.1/config.h:95:1: warning: this is the location of the previous definition
In file included from /usr/local/src/PDO_PGSQL-1.0.1/pgsql_driver.c:33:
/usr/local/pgsql/include/pg_config.h:592:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/local/src/PDO_PGSQL-1.0.1/pgsql_driver.c:24:
/usr/local/src/PDO_PGSQL-1.0.1/config.h:98:1: warning: this is the location of the previous definition
/usr/local/src/PDO_PGSQL-1.0.1/pgsql_driver.c: In function `pgsql_lob_close':
/usr/local/src/PDO_PGSQL-1.0.1/pgsql_driver.c:135: error: syntax error before "void"
make: *** [pgsql_driver.lo] ???? 1


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-17 09:47 UTC] ezdevelop at gmail dot com
PHP version: 5.0.5
PostgreSQL version: 8.1.1
 [2005-12-17 19:42 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip


 [2005-12-25 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 04:01:38 2024 UTC