RE: Perl DBI Question

  • From: Jeroen van Sluisdam <jeroen.van.sluisdam@xxxxxxxxxx>
  • To: "'oracle-l@xxxxxxxxxxxxx'" <oracle-l@xxxxxxxxxxxxx>
  • Date: Fri, 6 Aug 2004 08:07:09 +0200

Hi,

This looks like the wrong compiler usage on HP, you're now using
cc which is the old-style C++ compiler. Probably you will have acc compiler
which is the current modern compiler on your system already. Try
to locate that one, replace or set the cc variable in the makefile to
acc. 

Another option was already mentioned is get gcc compiler onto your system
and change the makefile to use that compiler.

Regards,

Jeroen

-----Oorspronkelijk bericht-----
Van: Vergara, Michael (TEM) [mailto:mvergara@xxxxxxxxxxx] 
Verzonden: Friday, August 06, 2004 12:46 AM
Aan: Oracle-L (E-mail)
Onderwerp: 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?  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=3D199506L -D_REENTRANT -Ae =
-D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE =
-D_FILE_OFFSET_BITS=3D64 -fast +Onolimit +Opromote_indirect_calls =
+DAportable +DS2.0    -DVERSION=3D\"1.43\"  -DXS_VERSION=3D\"1.43\" +Z =
"-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 = C/ANSI
C product; ignored.
(Bundled) cc: warning 422: Unknown option "f" ignored.
(Bundled) cc: warning 480: The +Onolimit option is available only with = the
C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Opromote_indirect_calls option is =
available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Z option is available only with the = C/ANSI
C product; ignored.
cpp: "/opt/perl/lib/5.8.2/PA-RISC1.1-thread-multi/CORE/perlio.h", line =
108: error 4065: Recursion in macro "PerlIO".
*** Error exit code 1

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

---
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
----------------------------------------------------------------
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: