I'm in the same boat with you.  Unfortunately there are many open bugs with 
others having the same problem (core_globals when compiling --with-sybase).  
The only solution I've heard was to go back to php 4.03pl1.  I have not yet 
had the opportunity to go back and try this but there ya go.  Good Luck!

            Take Care,

             Eric G. Grant

In a message dated 5/24/2001 2:47:08 AM Eastern Daylight Time, 
[EMAIL PROTECTED] writes:


> When I use PHP(4.0.4pl1)+Sybase ASE(11.9.2)+Apache(1.3.17) 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:
> ./configure \
> --with-nsapi=/user1/web1/server-home \
> --with-sybase=/opt/sybase \
> --prefix=/usr/local/bin \
> --with-config-file-path=/usr/local/bin \
> --exec-prefix=/usr/local/bin \
> --enable-memory-limit=yes \
> --enable-debug=no \
> --enable-trans-sid \
> --enable-track-vars \
> --enable-magic-quotes \
> --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:
> 
> Making all in sybase 
> make[2]: Entering directory `/user1/php-4.0.4pl1/ext/sybase' 
> make[3]: Entering directory `/user1/php-4.0.4pl1/ext/sybase' 
> /bin/sh /user1/php-4.0.4pl1/libtool --silent --mode=compile gcc -I.
> -I/user1/ph 
> p-4.0.4pl1/ext/sybase -I/user1/php-4.0.4pl1/main -I/user1/php-4.0.4pl1
> -I/user1/ 
> web1/server-home/plugins/include -I/user1/php-4.0.4pl1/Zend
> -I/user1/php-4.0.4pl 
> 1/ext/mysql/libmysql -I/opt/sybase/include
> -I/user1/php-4.0.4pl1/ext/xml/expat/x 
> mltok -I/user1/php-4.0.4pl1/ext/xml/expat/xmlparse
> -I/user1/php-4.0.4pl1/TSRM - 
> D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
> -DXML_BYTE_ORD 
> ER=21 -I../TSRM -DTHREAD=1 -g -O2 -pthreads -c php_sybase_db.c 
> php_sybase_db.c: In function `php_if_sybase_query': 
> php_sybase_db.c:781: `core_globals' undeclared (first use in this
> function) 
> php_sybase_db.c:781: (Each undeclared identifier is reported only once 
> php_sybase_db.c:781: for each function it appears in.) 
> make[3]: *** [php_sybase_db.lo] Error 1 
> make[3]: Leaving directory `/user1/php-4.0.4pl1/ext/sybase' 
> make[2]: *** [all-recursive] Error 1 
> make[2]: Leaving directory `/user1/php-4.0.4pl1/ext/sybase' 
> make[1]: *** [all-recursive] Error 1 
> make[1]: Leaving directory `/user1/php-4.0.4pl1/ext' 
> make: *** [all-recursive] Error 1 
> 
> 
>                 Thanks
> 
> -- 
> PHP Install 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]


    Take Care,

    Eric G. Grant

Reply via email to