Hello, we're having problems installing DBI on an HP/UX V11, Perl 5.6.0,
DBI 1.20.  Can anyone lend insight into what is wrong?
Output is as follows:
TIA
Paula 

[/var/tmp/perl/DBI-1.20] # make
        /opt/aCC/bin/aCC -c  -Ae -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O +Onolimit      -DVERSION=\"1.20\"
-DXS_VERSION=\"1.20\" +z -I/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE
-DDBI_NO_THREADS Perl.c
aCC: warning 901: unknown option: `-Ae': use +help for online
documentation. 
Warning 749: "Perl.xsi", line 36 # The cast from 'imp_xxh_st *' to
'imp_drh_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_drh(drh);
        ^^^^^^^^^      
Warning 749: "Perl.xsi", line 57 # The cast from 'imp_xxh_st *' to
'imp_dbh_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_dbh(dbh);
        ^^^^^^^^^      
Error 440: "Perl.xsi", line 58 # Cannot initialize 'char *' with 'const
char *'.
        char *u = (SvOK(username)) ? SvPV(username,lna) : "";
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
Error 440: "Perl.xsi", line 59 # Cannot initialize 'char *' with 'const
char *'.
        char *p = (SvOK(password)) ? SvPV(password,lna) : "";
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
Warning 749: "Perl.xsi", line 72 # The cast from 'imp_xxh_st *' to
'imp_dbh_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_dbh(dbh);
        ^^^^^^^^^      
Warning 749: "Perl.xsi", line 81 # The cast from 'imp_xxh_st *' to
'imp_dbh_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_dbh(dbh);
        ^^^^^^^^^      
Warning 749: "Perl.xsi", line 90 # The cast from 'imp_xxh_st *' to
'imp_dbh_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_dbh(dbh);
        ^^^^^^^^^      
Warning 749: "Perl.xsi", line 96 # The cast from 'hv *' to 'sv *' is
performed as a 'reinterpret_cast'. This operation is non-portable
    and potentially unsafe.
            SvREFCNT_dec(DBIc_CACHED_KIDS(imp_dbh));      /* cast them
to th
            ^^^^^^^^^^^^

Warning 749: "Perl.xsi", line 118 # The cast from 'imp_xxh_st *' to
'imp_dbh_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_dbh(dbh);
        ^^^^^^^^^      
Warning 749: "Perl.xsi", line 131 # The cast from 'imp_xxh_st *' to
'imp_dbh_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_dbh(dbh);
        ^^^^^^^^^      
Warning 749: "Perl.xsi", line 142 # The cast from 'imp_xxh_st *' to
'imp_dbh_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_dbh(dbh);
        ^^^^^^^^^      
Warning 749: "Perl.xsi", line 154 # The cast from 'hv *' to 'sv *' is
performed as a 'reinterpret_cast'. This operation is non-portable
    and potentially unsafe.
                SvREFCNT_dec(DBIc_CACHED_KIDS(imp_dbh));  /* cast them
to the wi
                ^^^^^^^^^^^^

Warning 749: "Perl.xsi", line 196 # The cast from 'imp_xxh_st *' to
'imp_sth_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_sth(sth);
        ^^^^^^^^^      
Warning 749: "Perl.xsi", line 223 # The cast from 'imp_xxh_st *' to
'imp_sth_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_sth(sth);
        ^^^^^^^^^      
Warning 749: "Perl.xsi", line 235 # The cast from 'sv *' to 'hv *' is
performed as a 'reinterpret_cast'. This operation is non-portable
    and potentially unsafe.
                DBD_ATTRIB_GET_IV(attribs, "TYPE",4, svp, sql_type);
                ^^^^^^^^^^^^^^^^^                                   
Warning 749: "Perl.xsi", line 253 # The cast from 'imp_xxh_st *' to
'imp_sth_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_sth(sth);
        ^^^^^^^^^      
Warning 749: "Perl.xsi", line 270 # The cast from 'sv *' to 'hv *' is
performed as a 'reinterpret_cast'. This operation is non-portable
    and potentially unsafe.
                DBD_ATTRIB_GET_IV(attribs, "TYPE",4, svp, sql_type);
                ^^^^^^^^^^^^^^^^^                                   
Warning 749: "Perl.xsi", line 282 # The cast from 'imp_xxh_st *' to
'imp_sth_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_sth(sth);
        ^^^^^^^^^      
Warning 749: "Perl.xsi", line 327 # The cast from 'imp_xxh_st *' to
'imp_sth_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_sth(sth);
        ^^^^^^^^^      
Warning 749: "Perl.xsi", line 331 # The cast from 'av *' to 'sv *' is
performed as a 'reinterpret_cast'. This operation is non-portable
    and potentially unsafe.
        ST(0) = (av) ? sv_2mortal(newRV((SV *)av)) : &sv_undef;
                                        ^^^^^^                 
Warning 749: "Perl.xsi", line 340 # The cast from 'imp_xxh_st *' to
'imp_sth_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_sth(sth);
        ^^^^^^^^^      
Warning 749: "Perl.xsi", line 345 # The cast from 'av *' to 'sv *' is
performed as a 'reinterpret_cast'. This operation is non-portable
    and potentially unsafe.
            int num_fields = AvFILL(av)+1;
                             ^^^^^^       
Warning 749: "Perl.xsi", line 345 # The cast from 'av *' to 'sv *' is
performed as a 'reinterpret_cast'. This operation is non-portable
    and potentially unsafe.
            int num_fields = AvFILL(av)+1;
                             ^^^^^^       
Warning 749: "Perl.xsi", line 357 # The cast from 'imp_xxh_st *' to
'imp_sth_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_sth(sth);
        ^^^^^^^^^      
Warning 749: "Perl.xsi", line 358 # The cast from 'imp_xxh_st *' to
'imp_dbh_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_dbh_from_sth;
        ^^^^^^^^^^^^^^^^^^ 
Warning 749: "Perl.xsi", line 386 # The cast from 'imp_xxh_st *' to
'imp_sth_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_sth(sth);
        ^^^^^^^^^      
Warning 749: "Perl.xsi", line 401 # The cast from 'imp_xxh_st *' to
'imp_sth_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_sth(sth);
        ^^^^^^^^^      
Warning 749: "Perl.xsi", line 418 # The cast from 'imp_xxh_st *' to
'imp_sth_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_sth(sth);
        ^^^^^^^^^      
Warning 749: "Perl.xsi", line 431 # The cast from 'imp_xxh_st *' to
'imp_sth_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
        D_imp_sth(sth);
        ^^^^^^^^^      
Warning 749: "Perl.xsi", line 445 # The cast from 'imp_xxh_st *' to
'imp_dbh_st *' is performed as a 'reinterpret_cast'. This operation
    is non-portable and potentially unsafe.
                D_imp_dbh_from_sth;
                ^^^^^^^^^^^^^^^^^^ 
Warning 829: "Perl.c", line 638 # Implicit conversion of string literal
to 'char *' is deprecated.
        XS_VERSION_BOOTCHECK ;
        ^^^^^^^^^^^^^^^^^^^^  
Warning 829: "Perl.c", line 638 # Implicit conversion of string literal
to 'char *' is deprecated.
        XS_VERSION_BOOTCHECK ;
        ^^^^^^^^^^^^^^^^^^^^  
*** Error exit code 2

Stop.

Reply via email to