On Mon 17 Mar 2003 19:39, "H.Merijn Brand" <[EMAIL PROTECTED]> wrote:
> HP-UX 11.00, Oracle 8.1.7.4/32, DBI-1.35, perl-5.8.0 (+ defined/or)

Some whitespace, some explanations, feel free to ignore
Also feel free to note that recent perl builds are and will be available on
https://www.beepz.com/personal/merijn/ or http://www.cmve.net/~merijn/ that
include recent precompiled DBI and are prepared for Oracle (-lcl -lpthread)

--- README.hpux.org     2002-08-03 22:03:47.000000000 +0200
+++ README.hpux 2003-03-18 09:57:20.000000000 +0100
@@ -1,10 +1,10 @@
 =head1 INTRODUCTION

 Building a working dynamically linked version of the Oracle DBD driver
-on HP-UX (11.00) has been a challenge for many.  For months after taking a
-new job, where HP-UX was the standard database server environment, I had only been
-able to build a statically linked version of perl and the DBD-Oracle
-module on HP-UX 11.00.
+on HP-UX (11.00) has been a challenge for many.  For months after taking
+a new job, where HP-UX was the standard database server environment, I
+had only been able to build a statically linked version of perl and the
+DBD-Oracle module on HP-UX 11.00.

 Then Roger Foskett posted instructions for what turned out to be dynamic
 build.  Rogers's post got me farther than I had previously gotten.  In fact,
@@ -39,17 +39,25 @@

 HP's default perl is no good (and antique).

-By default, HP-UX 11.00 delivers perl 5.00503.  Others tell me that
-the default is a threaded GNUpro build of 5.6.1.  This is not what I
-found our systems, and it probably depends on which packages you
-install.  In any case, this version of perl delivered by HP will
-in all likelihood not work.
-
-If you are reading this, you
-have probably discovered that something did not work.  To get good
-version of the DBD-Oracle driver, we have to start with a perl that as
-been built with the correct compiler flags and shared libraries.  This
-means that you must build your own version of perl from
+By default, HP-UX 11.00 delivers perl 5.00503 until September 2001.
+Others tell me that the default is a threaded GNUpro build of 5.6.1.
+This is not what I found our systems, and it probably depends on which
+packages you install.  In any case, this version of perl delivered by
+HP will in all likelihood not work. Before you check, be sure to prevent
+perl4 from /usr/contrib/bin to be the first perl version found in your $PATH.
+
+As of application release September 2001, HP-UX 11.00 is shipped with
+perl-5.6.1 in /opt/perl. The first occurrence is on CD 5012-7954. The
+build is a portable hppa-1.1 multithread build that supports large files
+compiled with gcc-2.9-hppa-991112. When you have a modern system with a
+hppa-2.0 architecture (PA8xxx processor) and/or the HP C-ANSI-C compiler
+consider building your own perl, which will for sure outperform this
+version.
+
+If you are reading this, you have probably discovered that something did
+not work.  To get good version of the DBD-Oracle driver, we have to start
+with a perl that as been built with the correct compiler flags and shared
+libraries.  This means that you must build your own version of perl from
 sources.

 See L<Appendix A> for a copy of a makefile used by me to biuld
@@ -94,6 +102,10 @@
 cleanly using the HP softbench compiler, and Oracle 8.0.5 (32bit), and
 Oracle 8.1.6, 8.1.7 (64 bit).  Oracle 8.1.5 will probably work as well.

+Oracle 8.1.7.4 (32bit) with DBI-1.35 and DBD-Oracle-1.13 has been proven
+to work on HP-UX 11.00 (64bit) with perl5.6.1, perl5.8.0, and perl5.9.0,
+using the guidelines in this document for both HP-C-ANSI-C and gcc-3.2.
+
 =head2 gcc Compiler

 For along time many folks have asked, how they could build a DBD-Oracle
@@ -156,8 +168,8 @@
     For example:
     What libraries to use? [-lnsl -lnm -lndbm -lmalloc -ldld -lm -lc -lndir -lcrypt 
-lsec] -lcl -lpthread -lnsl -lnm -lndbm -lmalloc -ldld -lm -lc -lndir -lcrypt -lsec

-H.Merijn Brand notes that the above can be accomplished by adding the following to
-the ./Configure command line:
+H.Merijn Brand notes that the above can be accomplished by adding the
+following to the ./Configure command line:

    -A prepend:libswanted='cl pthread '

@@ -221,7 +233,7 @@
 =head1 Build and Install DBI


-    cd DBI-1.18/
+    cd DBI-1.35/
     perl Makefile.PL
     make
     make test
@@ -1088,7 +1100,7 @@


 Roger also provides a link to some threads containing some of his
-DBD-Oracle and HP-UX11 trials...
+DBD-Oracle and HP-UX 11 trials...
 L<http://www.geocrawler.com/search/?config=183&words=Roger+Foskett>



-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0 & 632 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
     WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.024 &/| DBD-Unify
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/


Reply via email to