Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505346 - =dev-db/opendbx-1.4.6 - configure: error: oracle header (oci.h) not found
Summary: =dev-db/opendbx-1.4.6 - configure: error: oracle header (oci.h) not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Alice Ferrazzi
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-03-22 10:49 UTC by Alice Ferrazzi
Modified: 2021-04-23 06:53 UTC (History)
1 user (show)

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


Attachments
proposed patch to properly locate oracle sdk (0001-dev-db-opendbx-properly-locate-oracle-sdk.patch,5.18 KB, patch)
2019-09-12 10:53 UTC, Michael Haubenwallner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2014-03-22 10:49:39 UTC
with use flag oracle it output this error:
configure: error: oracle header (oci.h) not found

resolved with

export C_INCLUDE_PATH="/usr/lib64/oracle/11.2.0.3/client/include" 

Reproducible: Always
Comment 1 Michael Haubenwallner (RETIRED) gentoo-dev 2019-09-12 10:53:49 UTC
Created attachment 589730 [details, diff]
proposed patch to properly locate oracle sdk

Looking for reverse dependencies to prepare for stabilization of dev-db/oracle-instantclient to subsequently replace dev-db/oracle-instantclient-basic I've come across this problem.

While providing traditional ORACLE_HOME/rdbms/public/, it turns out that current stable dev-db/oracle-instantclient-basic fails to provide ORACLE_HOME/sdk/include/, but does provides ORACLE_HOME/include/ only.

This patch should work with any oracle client variant I've discovered so far:
- dev-db/oracle-instantclient-basic (missing sdk/include/ bug)
- dev-db/oracle-instantclient (provides rdbms/public/ for compatibility)
- user provided instantclient (no more rdbms/public/)
- user provided full client (provides <ociver.h> in rdbms/public/ only)

Thoughts?
Comment 2 Jonas Stein gentoo-dev 2020-10-19 21:00:07 UTC
Alice, does the patch work for you? 
I could not see any commit to this package by users alicef since we use git for the gentoo tree.
Do you still use/maintain this package?
Comment 3 Larry the Git Cow gentoo-dev 2021-04-23 06:53:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f76b5b4746403b8e673f440ef70c2031696694ef

commit f76b5b4746403b8e673f440ef70c2031696694ef
Author:     Michael Haubenwallner <haubi@gentoo.org>
AuthorDate: 2019-09-12 09:02:42 +0000
Commit:     Michael Haubenwallner <haubi@gentoo.org>
CommitDate: 2021-04-23 06:45:46 +0000

    dev-db/opendbx: properly locate oracle sdk
    
    Closes: https://bugs.gentoo.org/505346
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>

 dev-db/opendbx/opendbx-1.4.5-r1.ebuild | 16 +++++++++++++++-
 dev-db/opendbx/opendbx-1.4.6-r2.ebuild | 16 +++++++++++++++-
 dev-db/opendbx/opendbx-1.4.6-r3.ebuild | 16 +++++++++++++++-
 dev-db/opendbx/opendbx-1.5.0-r2.ebuild | 16 +++++++++++++++-
 4 files changed, 60 insertions(+), 4 deletions(-)