php-install Digest 22 Apr 2001 02:43:27 -0000 Issue 272

Topics (messages 2846 through 2848):

php cvs and oci8 not working.
        2846 by: Timothy Wojtaszek

Re: incompatible version of Apache?
        2847 by: Enrique de las Heras

netscape on netware
        2848 by: Davin Thompson

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


Moving forward in this php experiment I am trying to get oci8 setup but 
when I run make I first off it doesn't like this:
--- oci8.c @ line: 100

#ifdef ZTS
int oci_globals_id;
#else
PHP_OCI_API php_oci_globals oci_globals;
#endif

-- end

tim@powerpuffer:/opt/Project_Yuuto/php_cvs/php4/ext/oci8$ make
make[1]: Entering directory `/opt/Project_Yuuto/php_cvs/php4/ext/oci8'
/bin/sh /opt/Project_Yuuto/php_cvs/php4/libtool --silent --mode=compile 
gcc  -I.
  -I/opt/Project_Yuuto/php_cvs/php4/ext/oci8 
-I/opt/Project_Yuuto/php_cvs/php4/ma
in -I/opt/Project_Yuuto/php_cvs/php4 -I/opt/apache/include 
-I/opt/Project_Yuuto/
php_cvs/php4/Zend -I/opt/u01/app/oracle/product/8.1.7/rdbms/public 
-I/opt/u01/ap
p/oracle/product/8.1.7/rdbms/demo 
-I/opt/Project_Yuuto/php_cvs/php4/ext/xml/expa
t/xmltok -I/opt/Project_Yuuto/php_cvs/php4/ext/xml/expat/xmlparse 
-I/opt/Project
_Yuuto/php_cvs/php4/TSRM  -D_REENTRANT -DSUPPORT_UTF8 
-DXML_BYTE_ORDER=12 -I../T
SRM -g -O2 -pthread  -c oci8.c && touch oci8.slo
oci8.c: In function `php_if_ocicollappend':
oci8.c:4361: `oci_globals' undeclared (first use in this function)
oci8.c:4361: (Each undeclared identifier is reported only once
oci8.c:4361: for each function it appears in.)
oci8.c: In function `php_if_ocicolldategetelem':
oci8.c:4485: `oci_globals' undeclared (first use in this function)
oci8.c: In function `php_if_ocicolldateassignelem':
oci8.c:4595: `oci_globals' undeclared (first use in this function)
oci8.c: In function `php_if_ocicolldateappendelem':
oci8.c:4689: `oci_globals' undeclared (first use in this function)
oci8.c: In function `php_if_ocicollgetelem':
oci8.c:4741: `oci_globals' undeclared (first use in this function)
oci8.c: In function `php_if_ocicollassign':
oci8.c:4828: `oci_globals' undeclared (first use in this function)
oci8.c: In function `php_if_ocicollassignelem':
oci8.c:4889: `oci_globals' undeclared (first use in this function)
oci8.c: In function `php_if_ocicollsize':
oci8.c:4972: `oci_globals' undeclared (first use in this function)
oci8.c: In function `php_if_ocicollmax':
oci8.c:4994: `oci_globals' undeclared (first use in this function)
oci8.c: In function `php_if_ocicolltrim':
oci8.c:5020: `oci_globals' undeclared (first use in this function)
oci8.c: In function `php_if_ocinewcollection':
oci8.c:5062: `oci_globals' undeclared (first use in this function)
make[1]: *** [oci8.slo] Error 1
make[1]: Leaving directory `/opt/Project_Yuuto/php_cvs/php4/ext/oci8'
make: *** [all-recursive] Error 1


however, I was feeling playful so I just defined both and did away with 
the #ifdef construct, but then I get :
....
oci8.c:4904: invalid type argument of `->'
oci8.c:4912: invalid type argument of `->'
...


anyway...has anywone been able to get the php4_cvs and oci8 to compile? 
I have oracle 8.1.7, apache2, Debian 2.2

-tim





I'm afraid that site doesn't tell me anything new. I've repeated the process
following those steps (which where almost the same I had already done) and all
I've got is the same error:

httpd: module "mod_php4.c" is not compatible with this version of Apache.
Please contact the vendor for the correct version.
/usr/local/apache/bin/apachectl start: httpd could not be started.

Has anyone had this error? I'm going a little bit crazy because of this.
Thanks.


Myke Carter wrote:

> Enrique de las Heras wrote:
> >
> > I've tried recompiling Apache and I've repeated the full process at least
> > twice, but the result it's always the same. I've even updated my Apache
> > Server to 1.3.19 (just to assure that wasn't the problem).
> >
> > Anyone can help me?
> >
> > Thanks a lot.
>
> http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/
>
> Myke
>
> --
> 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]





has anyone had any luck compiling php to run with the netscape server on
novell netware?  At any rate, Im going to try to do it.  does anyone
know why excatly the configure script needs to know the locaton of the
netscape server?  (since im not compiling it on the netware box)

Im sure I'll run into many other problems, but this is the first for now

thanks in advance
Davin Thompson



Reply via email to