From:             [EMAIL PROTECTED]
Operating system: solaris 2.6
PHP version:      4.0.6
PHP Bug Type:     Compile Failure
Bug description:  PHP+sybase+iplanet 4

When I use PHP(4.0.6)+Sybase ASE(11.9.2)+Apache(1.3.19) on SUN Solaris(2.6)
is very perfect.
Recently I must replace Apache by iPlanet(4.1).It is no error when i config
this setup,
but when I make this,I get some error message.
(I have installed
package:gcc(2.95.2),perl(5.005.03),bison(1.25),authconf(2.13),automake(1.4)
in my system)
./configure \
--with-nsapi=/user1/web1/server-home \
--with-sybase=/opt/sybase \
--without-mysql \
--enable-memory-limit=yes \
--enable-debug=no \
--enable-trans-sid \
--enable-track-vars \
--enable-magic-quotes \
--prefix=/usr/local/bin \
--with-config-file-path=/usr/local/bin \
--exec-prefix=/usr/local/bin \
--enable-libgcc \

if PHP and iPlanet Compiled together,have no problem,but add --with-sybase
argument then have error message.
if PHP and Sybase Compiled together,have no problem,but add --with-nsapi
argument then have error message.

error message:
make[1]: Entering directory `/user/src/php-4.0.6/ext/sybase'
/bin/sh /user/src/php-4.0.6/libtool --silent --mode=compile gcc  -I.
-I/user/src
/php-4.0.6/ext/sybase -I/user/src/php-4.0.6/main -I/user/src/php-4.0.6
-I/user1/
web1/server-home/plugins/include -I/user/src/php-4.0.6/Zend
-I/opt/sybase/includ
e -I/user/src/php-4.0.6/ext/xml/expat/xmltok
-I/user/src/php-4.0.6/ext/xml/expat
/xmlparse -I/user/src/php-4.0.6/TSRM  -D_POSIX_PTHREAD_SEMANTICS
-D_POSIX_PTHREA
D_SEMANTICS -D_REENTRANT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -I../TSRM -g
-O2 -pt
hreads  -c php_sybase_db.c
php_sybase_db.c: In function `php_if_sybase_query':
php_sybase_db.c:787: `core_globals' undeclared (first use in this
function)
php_sybase_db.c:787: (Each undeclared identifier is reported only once
php_sybase_db.c:787: for each function it appears in.)
make[1]: *** [php_sybase_db.lo] Error 1
make[1]: Leaving directory `/user/src/php-4.0.6/ext/sybase'
make: *** [all-recursive] Error 1

-- 
Edit bug report at: http://bugs.php.net/?id=13410&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to