Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159285 - dev-db/tora-1.3.21-r1 compile error with Oracle 10g R2
Summary: dev-db/tora-1.3.21-r1 compile error with Oracle 10g R2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Tobias Scherbaum (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-28 08:03 UTC by muell
Modified: 2006-12-29 02:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description muell 2006-12-28 08:03:42 UTC
i want emerge tora-1.3.21-r1 but the configure doesent find the Oracle Installation

I have installed an Oracle 10g Enterprise Edition (And NO Instant Client Client  )


Installtion: 
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if STL implementation is SGI like... yes
checking for oracle... ls: cannot access /usr/lib/oracle/: No such file or directory
checking oci works... configure: error: Couldn't compile and run a simpile OCI app.
      Try setting ORACLE_HOME or check config.log.
      Otherwise, make sure ORACLE_HOME/lib is in /etc/ld.so.conf or LD_LIBRARY_PATH

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/dev-db/tora-1.3.21-r1/work/tora-1.3.21/config.log

!!! ERROR: dev-db/tora-1.3.21-r1 failed.
Call stack:
  ebuild.sh, line 1580:   Called dyn_compile
  ebuild.sh, line 945:   Called src_compile
  tora-1.3.21-r1.ebuild, line 73:   Called econf '--without-kde' '--without-instant-client' '--with          -xinerama' '--with-qt-dir=/usr/qt/3'
  ebuild.sh, line 541:   Called die



i have set all related Oracle Variables like ORACLE_BASE / ORACLE_HOME / LD_LIBRARY Path etc. 

if i uncomment the 
 #  myconf="${myconf} $(use_with oci8-instant-client instant-client)"

in the ebuild tora compiles/runs fine 

it seems like that the tora configure overrides some ENV Variables / Check for Oracle if the "instant-client" Parameter is used but sorry i have no time to check that.
Comment 1 Tobias Scherbaum (RETIRED) gentoo-dev 2006-12-28 18:37:23 UTC
(In reply to comment #0)
> it seems like that the tora configure overrides some ENV Variables / Check for
> Oracle if the "instant-client" Parameter is used but sorry i have no time to
> check that.

That's it. Not using "--without-instant-client" with USE="oracle -oci8-instant-client" works for me, so fixed in CVS. Please run "emerge --sync" and check again. 

Comment 2 muell 2006-12-29 02:01:51 UTC
hello , 
now it works.