PHP 4.0 Bug #4867: make install fails - sybase
| From: | myers_40 at yahoo dot com | Date: | Wed, 07 Jun 2000 13:42:41 +0000 |
| Subject: | PHP 4.0 Bug #4867: make install fails - sybase | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-20466@lists.php.net to get a copy of this message | ||
From: myers_40@yahoo.com
Operating system: RedHat 6.2 Intel
PHP version: 4.0.0 Release
PHP Bug Type: Compile Failure
Bug description: make install fails - sybase
Running RedHat 6.2 Intel, using included apache rpms.
Installed sybase-common and sybase-openclient rpms (11.9.2)
Trying to compile PHP 4.0.0 as an apache module with the following flags:
./configure --prefix=/usr \
--with-apxs=/usr/sbin/apxs \
--with-config-file-path=/etc/httpd \
--enable-safe-mode \
--with-exec-dir=/usr/bin \
--with-system-regex \
--disable-debug \
--with-zlib \
--enable-debugger \
--enable-magic-quotes \
--enable-track-vars \
--with-gdbm \
--enable-sysvsem \
--enable-sysvshm \
--with-xml \
--with-ftp \
--with-mysql=/usr \
--with-sybase=/opt/sybase-11.9.2 \
--with-sybase-ct=/opt/sybase-11.9.2
./configure step runs fine -
but make install fails. Here is the tail of the make install output:
<snip>
/bin/sh /home/jmyers/temp/php-4.0.0/libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/home/jmyers/temp/php-4.0.0/ -I/home/jmyers/temp/php-4.0.0 -I/usr/include/apache
-I/home/jmyers/temp/php-4.0.0/Zend -I/home/jmyers/temp/php-4.0.0 -I/usr/include/freetype
-I/usr/include/mysql -I/opt/sybase-11.9.2/include -I/home/jmyers/temp/php-4.0.0/ext/xml/expat/xmltok
-I/home/jmyers/temp/php-4.0.0/ext/xml/expat/xmlparse -DEAPI=1 -DXML_BYTE_ORDER=12 -g -O2 -c main.c
/bin/sh /home/jmyers/temp/php-4.0.0/libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/home/jmyers/temp/php-4.0.0/ -I/home/jmyers/temp/php-4.0.0 -I/usr/include/apache
-I/home/jmyers/temp/php-4.0.0/Zend -I/home/jmyers/temp/php-4.0.0 -I/usr/include/freetype
-I/usr/include/mysql -I/opt/sybase-11.9.2/include -I/home/jmyers/temp/php-4.0.0/ext/xml/expat/xmltok
-I/home/jmyers/temp/php-4.0.0/ext/xml/expat/xmlparse -DEAPI=1 -DXML_BYTE_ORDER=12 -g -O2 -c
internal_functions.c
In file included from internal_functions.c:37:
ext/sybase/php_sybase.h:95: conflicting types for `sybase_link'
ext/sybase_ct/php_sybase_ct.h:97: previous declaration of `sybase_link'
ext/sybase/php_sybase.h:122: conflicting types for `sybase_field'
ext/sybase_ct/php_sybase_ct.h:105: previous declaration of `sybase_field'
ext/sybase/php_sybase.h:130: conflicting types for `sybase_result'
ext/sybase_ct/php_sybase_ct.h:113: previous declaration of `sybase_result'
make[1]: *** [internal_functions.lo] Error 1
make[1]: Leaving directory `/home/jmyers/temp/php-4.0.0'
make: *** [install-recursive] Error 1
TIA--James