FAQ
Ok...I've tried again and still no joy. I found and installed
Perl 5.8.2 and gcc for HP-UX. They're ok. But when I try to
run 'make' on DBI, it tried to execute with 'cc' instead of 'gcc',
and blows up.

Here's the output...
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm

/opt/perl/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > =
Perl.xsi

/opt/perl/bin/perl /opt/perl/lib/5.8.2/ExtUtils/xsubpp -typemap =
/opt/perl/lib/5.8.2/ExtUtils/typemap -typemap typemap Perl.xs > =
Perl.xsc && mv Perl.xsc Perl.c

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.

I try and change the Makefile, CC =3D cc to CC =3D gcc, but still no
joy. The Makefile says it's getting this information from a file
called Config.pm, and sure enough that file references 'cc' instead
of 'gcc'.

So...where'd I go wrong this time? I'll look in the docs and FAQs
again but I've come up empty before.

Help! ...and remember I do not know 'c'...

Mike

-----Original Message-----
From: Jesse, Rich
Sent: Friday, August 06, 2004 7:09 AM
To: oracle-l_at_freelists.org
Subject: RE: Perl DBI Question

And, if'n I'm not mistaken, Perl must also be compiled with threads in =
=3D
order to use DBI. We went with a prebuilt Perl for 11.11, and I just =
=3D
yesterday installed DBD::Oracle without a hitch. And as I look back in =
=3D
the 20K lines of scroll buffer in my aterm (rxvt), I see that it used =
=3D
gcc v3.3.2.

Follow Jared's advice and the F'n Manual, and you should be fine.

GL!

Rich

-----Original Message-----
Sent: Thursday, August 05, 2004 6:43 PM
Subject: Re: Perl DBI Question
On 08/05/2004 07:34:12 PM, Jared.Still_at_radisys.com wrote:

The first hit on DBI HP Perl 5.8.2 seemed useful.
Essentially, the solution was to get a real compiler.
GCC also works and one can get binaries from the network.
I compiled perl 5.8.0 on HP-UX without any problems by using gcc.

Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.

--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 8 of 14 | next ›
Discussion Overview
grouporacle-l @
categoriesoracle
postedAug 5, '04 at 5:41p
activeAug 8, '04 at 10:10a
posts14
users8
websiteoracle.com

People

Translate

site design / logo © 2022 Grokbase