Bug 756150

Summary: ROOT built without oracle support
Product: [Fedora] Fedora Reporter: william hanlon <whanlon>
Component: rootAssignee: Mattias Ellert <mattias.ellert>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: mattias.ellert, steve.traylen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-23 12:16:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description william hanlon 2011-11-22 20:17:28 UTC
Description of problem:
Programs built with ROOT can not access oracle databases because the package compiled in the rpm is built with the --disable-oracle flag.


Version-Release number of selected component (if applicable):
root-5.30.03-1.fc16.i686

How reproducible:
always

Steps to Reproduce:
1. Start a CINT session via command line: root
2. Try accessing an oracle database. For example: TSQLServer *db = TSQLServer::Connect("oracle://hostname/database", "uid", "pw")
  
Actual results:
The value returned in db is a NULL pointer meaning the command failed to connec to the database.

Expected results:
db should point to a TSQLServer object, allowing further operations to be performed on the remote database.


Additional info:
There may be other config options as well that may be useful to others wanting to use the ROOT package. Perhaps more of them should be enabled. These are the config flags that are set:

ROOT ./configure options:
--prefix=/usr --libdir=/usr/lib/root --etcdir=/usr/share/root --docdir=/usr/share/doc/root-5.30.03 --elispdir=/usr/share/emacs/site-lisp/root --disable-builtin-afterimage --disable-builtin-ftgl --disable-builtin-freetype --disable-builtin-glew --disable-builtin-lzma --disable-builtin-pcre --disable-builtin-zlib --enable-asimage --enable-astiff --enable-bonjour --enable-clarens --enable-dcache --enable-exceptions --enable-explicitlink --enable-fftw3 --enable-fitsio --enable-gdml --enable-genvector --enable-globus --enable-gsl-shared --enable-gviz --enable-krb5 --enable-ldap --enable-mathmore --enable-memstat --enable-minuit2 --enable-mysql --enable-odbc --enable-opengl --enable-peac --enable-pgsql --enable-python --enable-qt --enable-qtgsi --enable-reflex --enable-rfio --with-rfio-incdir=/usr/include/dpm --with-rfio-libdir=/usr/lib --enable-roofit --enable-ruby --enable-soversion --enable-shadowpw --enable-shared --enable-ssl --enable-table --enable-tmva --enable-unuran --enable-x11 --enable-xml --enable-xft --enable-xrootd --with-xrootd-incdir=/usr/include/xrootd --with-xrootd-libdir=/usr/lib --enable-cintex --disable-afdsmgrd --disable-afs --disable-alien --disable-alloc --disable-castor --disable-chirp --disable-cling --disable-gfal --disable-glite --disable-hdfs --disable-monalisa --disable-oracle --disable-pythia6 --disable-pythia8 --disable-rpath --disable-sapdb --disable-srp --fail-on-missing

Comment 1 Mattias Ellert 2011-11-23 12:16:35 UTC
Building the oracle support in root requires libocci and occi.h from the Oracle Instant Client. This is non-free software that is not allowed in Fedora. This means that the oracle support for root can not be built and distributed as part of the Fedora distribution.

Comment 2 william hanlon 2011-11-23 16:36:16 UTC
(In reply to comment #1)
> Building the oracle support in root requires libocci and occi.h from the Oracle
> Instant Client. This is non-free software that is not allowed in Fedora. This
> means that the oracle support for root can not be built and distributed as part
> of the Fedora distribution.

Then how about a non-free version on rpmfusion? I would have contacted the rpm maintainer directly, but it wasn't clear who that is. I can't be the only one that would like to see this.