Re: [PHP-DEV] [PATCH] #18640: compilation with Oracle fails on Tru64

2002-09-09 Thread Dan Kalowsky

Commited.

On Mon, 9 Sep 2002, Michael Mauch wrote:

> Hi,
>
>  describes the problem that some
> Oracle versions (patch levels) on Tru64 seem to have some OCILob*
> functions in the libocijdbc8 library instead of in the usual libclntsh.
>
> This makes the PHP build fail with unresolved symbols.
>
>  also seems to be related.
>
> Although this seems to be all Oracle's fault, I suggest to link against
> libocijdbc8 if it is available.
>
> I tested the patch below with Oracle 8.1.7 and 9.0.1 on Tru64 5.1,
> Oracle 8.1.6 on Tru64 4.0f, Oracle 8.1.7 on Solaris 7, and with Oracle
> 8.1.6 on Linux/ix86. Only the Oracle 8.1.x on Tru64 needed the patch,
> but I wanted to make sure that the additional library does no harm to
> the others.
>
> The patch also applies cleanly against 4.2.3, and against the current
> CVS version (HEAD) if you use --ignore-whitespace (GNU patch).
>
> Can somebody please add this? If this is not the right way to send a
> patch, please tell me.
>
> Regards...
>  Michael
>
> --- php4-STABLE-200209050900/ext/oci8/config.m4.orig  Fri Nov 30 19:59:46 2001
> +++ php4-STABLE-200209050900/ext/oci8/config.m4   Fri Sep  6 16:23:01 2002
> @@ -68,6 +68,9 @@
>
>   8.1|9.0)
> PHP_ADD_LIBRARY(clntsh, 1, OCI8_SHARED_LIBADD)
> +   if test -f $OCI8_DIR/lib/libocijdbc8.so ; then
> + PHP_ADD_LIBRARY(ocijdbc8, 1, OCI8_SHARED_LIBADD)
> +   fi
> PHP_ADD_LIBPATH($OCI8_DIR/lib, OCI8_SHARED_LIBADD)
> AC_DEFINE(HAVE_OCI8_TEMP_LOB,1,[ ])
> ;;
>
>
>
>
>
>

>---<
Dan Kalowsky"I'll walk a thousand miles just
http://www.deadmime.org/~dankto slip this skin."
[EMAIL PROTECTED]- "Streets of Philadelphia",
[EMAIL PROTECTED]Bruce Springstreen


-- 
PHP Development Mailing List 
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] [PATCH] #18640: compilation with Oracle fails on Tru64

2002-09-09 Thread Thies C. Arntzen

On Mon, Sep 09, 2002 at 07:46:00PM +0200, Sebastian Nohn wrote:
> > -Original Message-
> > From: Michael Mauch [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 09, 2002 6:52 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-DEV] [PATCH] #18640: compilation with Oracle fails on
> > Tru64
> > 
> > Can somebody please add this? If this is not the right way to send a
> > patch, please tell me.
> 
> +1 on adding this to cvs. Thies, what's your opinion on this one?
go ahead - if you have the karma, else ask again and i'll
commit.

tc
 

-- 
Thies C. Arntzen   -   Looking for all sorts of freelance work  -   just ask..
Whishlist:  http://www.amazon.de/exec/obidos/wishlist/AB9DY62QWDSZ

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-DEV] [PATCH] #18640: compilation with Oracle fails on Tru64

2002-09-09 Thread Sebastian Nohn

> -Original Message-
> From: Michael Mauch [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 09, 2002 6:52 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DEV] [PATCH] #18640: compilation with Oracle fails on
> Tru64
> 
> Can somebody please add this? If this is not the right way to send a
> patch, please tell me.

+1 on adding this to cvs. Thies, what's your opinion on this one?

Regards,
   Sebastian Nohn
-- 
+49 170 471 8105 - [EMAIL PROTECTED] - http://www.nohn.net/
PGP Key Available - Did I help you? Consider a gift:
http://www.amazon.de/exec/obidos/wishlist/3HYH6NR8ZI0WI/

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] [PATCH] #18640: compilation with Oracle fails on Tru64

2002-09-09 Thread Michael Mauch

Hi,

 describes the problem that some
Oracle versions (patch levels) on Tru64 seem to have some OCILob*
functions in the libocijdbc8 library instead of in the usual libclntsh.

This makes the PHP build fail with unresolved symbols.

 also seems to be related. 

Although this seems to be all Oracle's fault, I suggest to link against
libocijdbc8 if it is available.

I tested the patch below with Oracle 8.1.7 and 9.0.1 on Tru64 5.1,
Oracle 8.1.6 on Tru64 4.0f, Oracle 8.1.7 on Solaris 7, and with Oracle
8.1.6 on Linux/ix86. Only the Oracle 8.1.x on Tru64 needed the patch,
but I wanted to make sure that the additional library does no harm to
the others.

The patch also applies cleanly against 4.2.3, and against the current
CVS version (HEAD) if you use --ignore-whitespace (GNU patch).

Can somebody please add this? If this is not the right way to send a
patch, please tell me.

Regards...
   Michael

--- php4-STABLE-200209050900/ext/oci8/config.m4.origFri Nov 30 19:59:46 2001
+++ php4-STABLE-200209050900/ext/oci8/config.m4 Fri Sep  6 16:23:01 2002
@@ -68,6 +68,9 @@
 
8.1|9.0)
  PHP_ADD_LIBRARY(clntsh, 1, OCI8_SHARED_LIBADD)
+ if test -f $OCI8_DIR/lib/libocijdbc8.so ; then
+   PHP_ADD_LIBRARY(ocijdbc8, 1, OCI8_SHARED_LIBADD)
+ fi
  PHP_ADD_LIBPATH($OCI8_DIR/lib, OCI8_SHARED_LIBADD)
  AC_DEFINE(HAVE_OCI8_TEMP_LOB,1,[ ])
  ;;





-- 
PHP Development Mailing List 
To unsubscribe, visit: http://www.php.net/unsub.php