Re: Problem with DBI make

2006-09-04 Thread 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

2006-09-04 Thread John Gallagher
Title: RE: Problem with DBI make





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


John


-Original Message-
From: Tim Bunce [mailto:[EMAIL PROTECTED]] 
Sent: 01 September 2006 18:33
To: John Gallagher
Cc: 'dbi-users@perl.org'
Subject: Re: Problem with DBI make



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.




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

 





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
(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


Re: Problem with DBI make

2006-09-04 Thread Jonathan Leffler

On 9/4/06, John Gallagher [EMAIL PROTECTED] 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 [EMAIL PROTECTED]  #include disclaimer.h
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
I don't suffer from insanity - I enjoy every minute of it.


Re: Problem with DBI make

2006-09-01 Thread 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.