RE: Perl DBI Question

  • From: "Nelson, Allan" <anelson@xxxxxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Fri, 6 Aug 2004 07:10:56 -0500

Your problem is that you are compiling with the default HP c compiler
which is not ansi c compliant.  If you have ansi C on your system it
will be located in /opt.  Look there and if it is there do something
like export PATH=3D/opt/ansic/bin:$PATH and retry your make.  Otherwise,
you can send HP some money and get their ansi C compiler or you can get
gcc and compile it with that.  You can get gcc for HP from
http://hpux.cs.utah.edu/

Hope this helps
Allan

-----Original Message-----
=46rom: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Vergara, Michael
(TEM)
Sent: Thursday, August 05, 2004 5:46 PM
To: Oracle-L (E-mail)
Subject: Perl DBI Question


I am a newbie at trying to use Perl.  I wanted to get the DBI/DBD
modules installed on a HP-UX 11i machine, but...well... I'm getting
compile errors from the 'make' step, and I'm not a 'c' programmer,
and I have no idea what's wrong.

Does anybody have either a cookbook on how to install Perl DBI
on HP-UX, or an already-compiled distro of same=3F  I'm using
(ok...pretending to use) Perl v5.8.2 (from HP) on HP-UX 11i.

Thanks,
Mike

P.S.  This is the last error I got:
[mike@gvdb90 DBI-1.43]# make
        cc -c    -D_POSIX_C_SOURCE=3D3D199506L -D_REENTRANT -Ae =3D
-D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE
=3D
-D_FILE_OFFSET_BITS=3D3D64 -fast +Onolimit +Opromote_indirect_calls =3D
+DAportable +DS2.0    -DVERSION=3D3D\"1.43\"  -DXS_VERSION=3D3D\"1.43\" +Z =
=3D
"-I/opt/perl/lib/5.8.2/PA-RISC1.1-thread-multi/CORE"   Perl.c
(Bundled) cc: warning 480: The -A option is available only with the =3D
C/ANSI C product; ignored.
(Bundled) cc: warning 422: Unknown option "f" ignored.
(Bundled) cc: warning 480: The +Onolimit option is available only with =3D
the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Opromote_indirect_calls option is =3D
available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Z option is available only with the =3D
C/ANSI C product; ignored.
cpp: "/opt/perl/lib/5.8.2/PA-RISC1.1-thread-multi/CORE/perlio.h", line =3D
108: error 4065: Recursion in macro "PerlIO".
*** Error exit code 1

Stop.
[mike@gvdb90 DBI-1.43]# ls

---
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D
=3D3D=3D
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D
=3D3D=3D
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D
=3D3D=3D

Michael P. Vergara
Oracle DBA
Guidant Corporation
www.guidant.com <http://www.guidant.com/>


----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
=46AQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------


___________________________________________________________________________=
___
This email is intended solely for the person or entity to which it is =
addressed and may contain confidential and/or privileged information.  =
Copying, forwarding or distributing this message by persons or entities =
other than the addressee is prohibited. If you have received this email in =
error, please contact the sender immediately and delete the material from =
any computer.  This email may have been monitored for policy compliance.  =
[021216]

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: