On Thu, Dec 29, 2005 at 12:11:50PM +0100, Honza Pazdziora wrote: > On Wed, Dec 28, 2005 at 11:11:31PM +0000, Tim Bunce wrote: > > http://www.data-plan.com/public/DBD-Oracle-1.17.tar.gz > > > > =head1 Changes in DBD-Oracle 1.17 (svn rev 2334) > > [...] > > > Changed "Binding Cursors" docs, clarifying examples thanks to Charles > > Jardine. > > Changed Makefile.PL to avoid risk of sqlplus hanging thanks to Mark > > Dedlow. > > Changed Makefile.PL to prefer ~/rdbms/public over other ~/rdbms/* for .h > > files. > > Changed Makefile.PL to improve build rule detection. > > Changed Makefile.PL to Instant Client build support thanks to Hilmar Lapp. > > Hello Tim, > > I have a Fedore Core 4 installation with the following .rpms installed > > oracle-instantclient-basic-10.2.0.1-1 > oracle-instantclient-sqlplus-10.2.0.1-1 > oracle-instantclient-devel-10.2.0.1-1 > > The -basic .rpm puts its .so's and .jar's into > > /usr/lib/oracle/10.2.0.1/client/lib > > the -deve .rpm uses > > /usr/include/oracle/10.2.0.1/client > > for .h files, > > /usr/lib/oracle/10.2.0.1/client/lib > > to make two .so symlinks, and /usr/share/oracle/10.2.0.1/client for > > /usr/share/oracle/10.2.0.1/client/cdemo81.c > /usr/share/oracle/10.2.0.1/client/demo.mk > /usr/share/oracle/10.2.0.1/client/occidemo.sql > /usr/share/oracle/10.2.0.1/client/occidemod.sql > /usr/share/oracle/10.2.0.1/client/occidml.cpp
[Sigh] > Running > > ORACLE_HOME=/usr/lib/oracle/10.2.0.1/client/lib perl Makefile.PL -m > /usr/share/oracle/10.2.0.1/client/demo.mk > > seems to go well for the Makefile.PL, but make is not able to find > the header files. So it seems that some more tweaking will be needed > for .rpm instalations of Instant Client where the only common path of > the installation is /usr. I've added /usr/include/oracle/$client_version_full/client to the list of directories searched for header files[1], and added an option to explicitly add an extra directory to the front of that list. Tim. [1] $client_version_full is extracted from sqlplus and always contains four components. I'd bet that for versions with a final .0 that .0 would be missing from the install directory. Guess I'll go write more code to compensate for that. Isn't life fun...
