php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13410 PHP+sybase+iplanet 4
Submitted: 2001-09-24 02:45 UTC Modified: 2001-10-23 10:42 UTC
From: chenfou at ms34 dot hinet dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.6 OS: solaris 2.6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: chenfou at ms34 dot hinet dot net
New email:
PHP Version: OS:

 

 [2001-09-24 02:45 UTC] chenfou at ms34 dot hinet dot net
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-23 10:42 UTC] sniper@php.net
This should be fixed in CVS. Please try the latest snapshot
from http://snaps.php.net/ to verify this.
Reopen if you still get the same problem.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 21:01:30 2025 UTC