ID:               39312
 Updated by:       [EMAIL PROTECTED]
 Reported By:      andrew dot nagy at villanova dot edu
-Status:           Assigned
+Status:           Open
 Bug Type:         PDO related
 Operating System: Linux
 PHP Version:      5.2.4
 Assigned To:      tony2001
 New Comment:

Yeah, but I never maintained PDO_OCI.


Previous Comments:
------------------------------------------------------------------------

[2007-09-25 09:53:13] [EMAIL PROTECTED]

Tony, I wasn't sure to whom to assign this but you're one of the oci8
maintainers AFAIK. :)

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

[2007-09-24 21:20:56] andrew dot nagy at villanova dot edu

I just did an install of php 5.2.4 on a brand new RHEL server.  The
only way I could get this to work is by using the zip files provided by
Oracle, not the RPMs.  Both the Basic and SDK are need (well I am
assuming the Basic is needed).  Once I unzip the files, I needed to
create 2 symbolic links -- both libclntsh.so and libocci.so.

Could this be fixed in the configure script to look for the original
files instead of the renamed files?

For now - I have created a patch that makes the language a bit more
intuitive if this helps at all.  It is diff'ed against the 5.2.4
release.

1305,1306c1305,1306
<                             Use
--with-pdo-oci=instantclient,/path/to/instantclient,version
<                             for an Oracle Instant Client SDK
install.
---
>                             Use
--with-pdo-oci=instantclient,prefix,version
>                             for an Oracle Instant Client SDK.
73096c73096
<       { echo "configure: error: I'm too dumb to figure out where the
include dir is in your Instant Client install" 1>&2; exit 1; }
---
>       { echo "configure: error: Cannot find the Instant Client SDK in
your Instant Client install" 1>&2; exit 1; }
73105c73105
<       { echo "configure: error: I'm too dumb to figure out where the
libraries are in your Instant Client install" 1>&2; exit 1; }
---
>       { echo "configure: error: Cannot find the libclntsh.so file. 
Try making a symbolic link in your Instant Client SDK install" 1>&2;
exit 1; }

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

[2006-11-08 21:37:15] [EMAIL PROTECTED]

If you know how exactly to make it more verbose and clear - we would
gladly accept your patch for ext/pdo_oci/config.m4.
See here:
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_oci/config.m4?revision=1.14.2.5&view=markup

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

[2006-11-08 21:21:48] andrew dot nagy at villanova dot edu

I guess I am saying that the error checking should be more verbose. 
Instead of reporting "Im too dumb to find your missing files".

The most important part is adding the installation procedure to the doc
page for PDO_OCI, but that hasn't been written yet it appears.

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

[2006-11-08 20:39:51] [EMAIL PROTECTED]

>Is their anyway this checking can be added to the configure script?

What do you mean?

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/39312

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

Reply via email to