Problem with DBI make

Problem with DBI make

am 01.09.2006 14:06:54 von John.4.Gallagher

------_=_NextPart_001_01C6CDBF.1DAAD3A0
Content-Type: text/plain


Hi

I've encountered the below error when running a make for the DBI module;

Make runs up to a certain point but then just bombs with the below message

Perl.c: In function `XS_DBD__Perl__st_DESTROY':
Perl.c:1054: warning: unused parameter `cv'
Perl.c: In function `boot_DBD__Perl':
Perl.c:1106: warning: unused parameter `cv'
make: *** [Perl.o] Error 1

Thanks for any assistance given

John



BT Communications Ireland Limited
is a wholly owned subsidiary of BT Group plc
Registered in Ireland, Registration No. 141524
Grand Canal Plaza, Upper Grand Canal Street, Dublin, Ireland

This electronic message contains information (and may contain files) from BT
Communications Ireland Limited which may be privileged or confidential. The
information is intended to be for the sole use of the individual(s) or
entity named above. If you are not the intended recipient be aware that any
disclosure, copying, distribution or use of the contents of this information
and or files is prohibited. If you have received this electronic message in
error, please notify us by telephone or email (to the numbers or address
above) immediately. http://www.btireland.ie

------_=_NextPart_001_01C6CDBF.1DAAD3A0--

Re: Problem with DBI make

am 01.09.2006 19:33:25 von Tim.Bunce

On Fri, Sep 01, 2006 at 01:06:54PM +0100, John Gallagher wrote:
>
> Hi
>
> I've encountered the below error when running a make for the DBI module;
>
> Make runs up to a certain point but then just bombs with the below message
>
> Perl.c: In function `XS_DBD__Perl__st_DESTROY':
> Perl.c:1054: warning: unused parameter `cv'
> Perl.c: In function `boot_DBD__Perl':
> Perl.c:1106: warning: unused parameter `cv'
> make: *** [Perl.o] Error 1
>
> Thanks for any assistance given

Those are only harmless warnings. Please include more of the log.

Tim.

Re: Problem with DBI make

am 04.09.2006 12:11:35 von Tim.Bunce

On Mon, Sep 04, 2006 at 09:43:11AM +0100, John Gallagher wrote:
> Hi Tim,
>
> I've just run make again and included the output
> The system I'm trying to install DBI on is a hp-ux 11.11
> And the version of perl installed is 5.8.7

> cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +Onolimit +Opromote_indirect_calls +DAportable +DS2.0 -DVERSION=\"1.52\" -DXS_VERSION=\"1.52\" +Z "-I/opt/perl_32/lib/5.8.7/PA-RISC1.1-thread-multi/CORE" Perl.c
> cpp: "/opt/perl_32/lib/5.8.7/PA-RISC1.1-thread-multi/CORE/perlio. h", line 108: error 4065: Recursion in macro "PerlIO".

I'd guess that the perl you're using wasn't built with that compiler.
Try building a perl with that compiler then building DBI with that new perl.

Tim.

Re: Problem with DBI make

am 04.09.2006 15:32:34 von jonathan.leffler

On 9/4/06, John Gallagher wrote:
> I've just run make again and included the output
>
> The system I'm trying to install DBI on is a hp-ux 11.11
>
> And the version of perl installed is 5.8.7
>

(Bundled) cc: warning 480: The -A 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.
(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_32/lib/5.8.7/PA-RISC1.1-thread-multi/CORE/perlio. h",
line 108: error 4065: Recursion in macro "PerlIO".
*** Error exit code 1

You're using the bundled C compiler which is not an ANSI C compiler.
Your Perl was built with the HP ANSI C compiler.

Either: get the HP ANSI C compiler
Or: get GCC and build your own Perl with it.



--
Jonathan Leffler #include
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."