From:             ezdevelop at gmail dot com
Operating system: Redhat AS2.1
PHP version:      5CVS-2005-12-17 (snap)
PHP Bug Type:     PDO related
Bug description:  Can't compile PDO_PGSQL driver

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
[EMAIL PROTECTED] 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


-- 
Edit bug report at http://bugs.php.net/?id=35718&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=35718&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=35718&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=35718&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=35718&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=35718&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=35718&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=35718&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=35718&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=35718&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=35718&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=35718&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=35718&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=35718&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=35718&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=35718&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=35718&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=35718&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=35718&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=35718&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=35718&r=mysqlcfg

Reply via email to