First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 132791
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Tobias Scherbaum <dertobi123@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Hans-Gunther Borrmann <hans-gunther.borrmann@rz.uni-freiburg.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 132791 depends on: Show dependency tree
Bug 132791 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-09 07:20 0000
The emerge stops with:

checking for Oracle (OCI8) support using Oracle Instant Client... yes
checking Oracle Instant Client directory... tail: `-1' option is obsolete; use
`-n 1' since this will be removed in the future
/usr/lib/oracle/current/client/lib
checking Oracle Instant Client SDK header directory... configure: error: Oracle
Instant Client SDK header files not found

The reason lies in the configure script of php which sets:
  OCISDKZIPINC=$PHP_OCI8_INSTANT_CLIENT/sdk/include
but $PHP_OCI8_INSTANT_CLIENT/sdk/ does not exist

Installed Oracle Client:
eix -e dev-db/oracle-instantclient-basic
* dev-db/oracle-instantclient-basic 
     Available versions:  !10.1.0.2_p1 !10.1.0.2_p1-r1 !10.1.0.3 !10.1.0.4
!10.2.0.1 10.2.0.1-r1 10.2.0.2
     Installed:           10.2.0.1-r1

------- Comment #1 From Tobias Scherbaum 2006-05-22 08:04:12 0000 -------
checking for Oracle (OCI8) support using ORACLE_HOME installation... no
checking for Oracle (OCI8) support using Oracle Instant Client... yes
checking Oracle Instant Client directory... /usr/lib/oracle/10.1.0.4/client/lib
checking Oracle Instant Client SDK header directory...
/usr/include/oracle/10.1.0.4/client
checking Oracle Instant Client version... 10.1

Kind of "worksforme", also with the 10.2.0.1-r1 version you are using.

Please post the USE flags you're using with php, the output of 'emerge --info'
and the contents of $ORACLE_HOME, $LDPATH and $C_INCLUDE_PATH.

------- Comment #2 From Hans-Gunther Borrmann 2006-05-23 00:58:01 0000 -------
> Please post the USE flags you're using with php

emerge -pv dev-lang/php

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] dev-lang/php-4.4.2-r2  (-adabas) -apache -apache2 +bcmath
+berkdb (-birdstep) +bzip2 +calendar +cdb +cgi -cjk +cli +crypt +ctype +curl
-db2 -dbase (-dbmaker) -dbx -debug -discard-path -doc (-empress) (-empress-bcs)
(-esoob) +exif +expat -fastbuild (-fdftk) (-filepro) (-firebird) -flatfile
-force-cgi-redirect (-frontbase) -ftp +gd -gd-external +gdbm -gmp -hardenedphp
-hyperwave-api +iconv -imap (-informix) -inifile -interbase -iodbc +ipv6
-java-external -java-internal -kerberos +ldap -libedit -mcal -mcve -memlimit
+mhash -ming -mnogosearch -msql -mssql +mysql +ncurses +nls -oci8
+oci8-instant-client -odbc -oracle7 +overload -ovrimos +pcntl +pcre (-pfpro)
-pic +posix -postgres +readline -recode -sapdb +session -sharedext +sharedmem
-snmp +sockets (-solid) +spell -sqlite +ssl (-sybase) (-sybase-ct) +sysvipc
-threads +tokenizer +truetype +wddx +xml +xmlrpc +xpm +xsl -yaz -zip +zlib

> the output of 'emerge --info'

 emerge --info
Portage 2.0.54 (default-linux/amd64/2005.0, gcc-3.4.5, glibc-2.3.5-r2,
2.6.15-gentoo-r7-1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7-1 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.6.14
ccache version 2.3 [disabled]
dev-lang/python:     2.2.3, 2.3.4-r1, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acl alsa avi berkdb bitmap-fonts bzip2 cdb cli crypt cups curl dri
eds emboss encode expat f77 foomaticdb fortran gd gdbm gif glut gnome gpm
gstreamer gtk gtk2 imagemagick imlib ipv6 isdnlog java jpeg kde ldap lzw
lzw-tiff mhash motif mp3 mpeg mysql ncurses nls opengl pam pcre pdflib perl php
png pppd python qt quicktime readline reflection sdl session slang spell spl
ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb xml2 xorg xpm xv
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS

> and the contents of $ORACLE_HOME, $LDPATH and $C_INCLUDE_PATH.
echo $ORACLE_HOME; echo $LDPATH; echo $C_INCLUDE_PATH
/usr/lib/oracle/10.2.0.1/client

/usr/lib/oracle/10.2.0.1/client/include



------- Comment #3 From Luca Longinotti 2006-07-14 09:00:20 0000 -------
A fix to ext/oci8's configure was added to dev-lang/php-4.4.2-r6, please try
that release as soon as it appears on the mirrors in a couple of hours. I'm not
exactly sure it will help, because I never was able to reproduce this problem
either.
Best regards, CHTEKK.

------- Comment #4 From Hans-Gunther Borrmann 2006-07-21 02:38:26 0000 -------
(In reply to comment #3)
> A fix to ext/oci8's configure was added to dev-lang/php-4.4.2-r6, please try
> that release as soon as it appears on the mirrors in a couple of hours. I'm not
> exactly sure it will help, because I never was able to reproduce this problem
> either.
> Best regards, CHTEKK.
> 

The problem still persists The reason seems to be the contents of
/usr/lib/oracle:

 ls l /usr/lib/oracle 
total 28
drwxr-xr-x   3 root root  4096 Jan 31 11:24 10.2.0.1
lrwxrwxrwx   1 root root     8 Mar 30 14:53 current ->10.2.0.1

So configure determines /usr/lib/oracle/current/client/lib as
PHP_OCI8_INSTANT_CLIENT. But /usr/include/oracle does not contain the "current"
link:

ls l /usr/include/oracle
total 16
drwxr-xr-x   2 root root 4096 May  9 15:41 10.2.0.1

So the test test -f "$OCISDKRPMINC/oci.h" fails which would otherwise succeed.
And the test test -f "$OCISDKZIPINC/oci.h" fails because
$PHP_OCI8_INSTANT_CLIENT/sdk does not exist on my machine. So the problem seems
to be the "current" link mentioned above. May be the problem is in the
oracle-instantclient-basic ebuild.

------- Comment #5 From Tobias Scherbaum 2007-03-25 17:30:21 0000 -------
Please test again and report back using php-4.4.6 and/or 5.2.1 and
instantclient-10.2.0.3. Neither CHTEKK nor I are able to reproduce this
problem.

------- Comment #6 From Hans-Gunther Borrmann 2007-03-26 10:12:02 0000 -------
(In reply to comment #5)
> Please test again and report back using php-4.4.6 and/or 5.2.1 and
> instantclient-10.2.0.3. Neither CHTEKK nor I are able to reproduce this
> problem.
> 

instantclient-10.2.0.3. is ok. You can close the bug. Thanks!

------- Comment #7 From Jakub Moc (RETIRED) 2007-03-26 10:18:57 0000 -------
(In reply to comment #6)
> instantclient-10.2.0.3. is ok. You can close the bug. Thanks!

Tobias, can we get this stabilized on x86?

------- Comment #8 From Tobias Scherbaum 2007-03-26 18:22:58 0000 -------
(In reply to comment #7)
> (In reply to comment #6)
> > instantclient-10.2.0.3. is ok. You can close the bug. Thanks!
> 
> Tobias, can we get this stabilized on x86?

Sure, we can.

@x86: please mark instantclient-basic-10.2.0.3 stable (and if you'd like to
also oracle-instantclient-jdbc and oracle-instantclient-sqlplus).

------- Comment #9 From Christian Faulhammer 2007-03-27 06:18:54 0000 -------
x86 stable and closing (basic only)

------- Comment #10 From Chris Gianelloni (RETIRED) 2007-03-27 13:28:28 0000 -------
I went ahead and marked JDBC and SQL*Plus stable, too.  I have a friend at work
who says they work fine.

First Last Prev Next    No search results available      Search page      Enter new bug