Bug #60901 [Csd->ReO]: Oracle-11.2 is not detected (too new)

From: Date: Mon, 22 Oct 2012 01:29:51 +0000
Subject: Bug #60901 [Csd->ReO]: Oracle-11.2 is not detected (too new)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-174214@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60901&edit=1

 ID:                 60901
 Updated by:         sixd@php.net
 Reported by:        lzsiga at freemail dot c3 dot hu
 Summary:            Oracle-11.2 is not detected (too new)
-Status:             Closed
+Status:             Re-Opened
 Type:               Bug
 Package:            OCI8 related
 Operating System:   AIX 6.1
 PHP Version:        5.3.9
 Assigned To:        sixd
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2012-10-20 10:51:49] rainer dot jung at kippdata dot de

The tail "fix" breaks compilation on Solaris for php version 5.3.18, which worked until
version 5.3.17.

Not all "tail" implementations support "-n1". On Solaris default
"tail" only support "-1".

You could switch to using a variable TAIL and auto detect a working tail implementation
(understanding "-n"), which on Solaris would be the non standard /usr/xpg4/bin/tail. Users
could overwrite with a new --with-tail switch.

------------------------------------------------------------------------
[2012-09-14 08:00:23] lzsiga at freemail dot c3 dot hu

Okay, thank you for your help.

------------------------------------------------------------------------
[2012-09-14 07:20:07] sixd@php.net

I merged the "tail" fix.  I'm closing this bug out.  I understand you'll need to

create a symlink like other platforms.

------------------------------------------------------------------------
[2012-09-14 07:18:13] sixd@php.net

Automatic comment on behalf of sixd
Revision: http://git.php.net/?p=php-src.git;a=commit;h=bbf5978e2641d924c2d4d1c47210756943a28f7b
Log: Fixed bug #60901 (Improve "tail" syntax for AIX installation)

------------------------------------------------------------------------
[2012-09-13 08:16:20] lzsiga at freemail dot c3 dot hu

A new aspect of this problem: an over-zealous version of 'tail' wouldn't accept
syntax 'tail -1' only 'tail -n1'

(in this line in configure:
  OCI8_LCS=ls $OCI8_LCS_BASE.*.1 2> /dev/null | tail -1  # Oracle 10g, 11g etc
)

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


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

    https://bugs.php.net/bug.php?id=60901


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


Thread (15 messages)

« previous php.bugs (#174214) next »