[HPADM] Perl 5.6.1 on HP-UX 11i

From: Paul van Westerlaak (Paul.van.Westerlaak@rivm.nl)
Date: Wed Aug 21 2002 - 12:07:46 EDT


Hi Admins,

Here's my question about Perl warned you about.

When attempting to install an new(er) version of Perl, I found the
following problem

The Perl 5.6.1 version HP supplies is built using the GNU C compiler and is
"threaded". Perl threads seem to be buggy (fixed in 5.8?) and when I tried
to install the DBI (database interface module) I got a warning stating that
threads aren't to be used on production systems.
Perl 5.6.1 from the HP-UX Software and Porting Archive is built using the
HP ANSI C compiler ans is "unthreaded" so I replaced the HP version.
I've installed some extra modules, including DBI, without any problems, but
when I want to add the DBD::Ingres module I get the following error:

/usr/ccs/bin/ld: Unsatisfied symbols:
   isinf (code)
*** Error exit code 1

FIY, this is on HP-UX 11.11, Perl 5.1.6, DBI 1.30, DBD::Ingres 0.34

As I'm not a C programmer (and don't want to become one :-) I'm stuck.

I've found that "isinf" is a macro defined in math.h which should be
included in the source and that the math library should be specified when
linking. As far as I can see the library is specified ( -lm on the
commandline) and I can't find any reference to "isinf" or math.h in the
sourcecode.
An extended search on the net for a solution turned up zilch.

Any ideas?
The current Perl version (Perl 5.004, DBI 1.06, DBD::Ingres 0.16) works OK.
Maybe I could try these versions?

TIA,

Paul

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:18 EDT