Hi,

I have a problem to install DBI pacakge on HPUX-11 with perl 5.6.1 :

Could you help me ?

Perl Makefile.PL :

 *** Note:
     The optional PlRPC-modules (RPC::PlServer etc) are not installed.
    If you want to use the DBD::Proxy driver and DBI::ProxyServer
    modules, then you'll need to install the RPC::PlServer, RPC::PlClient,
    Storable and Net::Daemon modules. The CPAN Bundle::DBI may help you.
    You can install them any time after installing the DBI.
    You do *not* need these modules for typical DBI usage.

Optional modules are available from any CPAN mirror, in particular
    http://www.perl.com/CPAN/modules/by-module
    http://www.perl.org/CPAN/modules/by-module
    ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module

Checking if your kit is complete...
Looks good
Writing Makefile for DBI

    Remember to actually *read* the README file!
    Use  'make' to build the software (dmake or nmake on Windows).
    Then 'make test' to execute self tests.
    Then 'make install' to install the DBI and then delete this working
    directory before unpacking and building any DBD::* drivers.


When I run the makefile I got this error :

cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBI/Format.pm blib/lib/DBI/Format.pm
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp lib/DBI/Shell.pm blib/lib/DBI/Shell.pm
cp lib/DBD/ADO.pm blib/lib/DBD/ADO.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/DBD/Multiplex.pm blib/lib/DBD/Multiplex.pm
        /usr/local/bin/perl -p -e "s/~DRIVER~/Perl/g" < blib/arch/auto/DBI/Driver.xst 
> Perl.xsi
        /usr/local/bin/perl -I/opt/perl5/lib/5.6.1/PA-RISC2.0 -I/opt/perl5/lib/5.6.1 
/opt/perl5/lib/5.6.1/ExtUtils/xsubpp  -typemap /opt/perl5/lib/5.6.1/ExtUtils/typemap 
Perl.xs > Perl.xsc && mv Perl.xsc Perl.c
        gcc -c  -D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN -fno-strict-aliasing 
-O    -DVERSION=\"1.15\"  -DXS_VERSION=\"1.15\" -fpic 
-I/opt/perl5/lib/5.6.1/PA-RISC2.0/CORE -Wall -Wno-comment -DDBI_NO_THREADS Perl.c
        /usr/local/bin/perl -I/opt/perl5/lib/5.6.1/PA-RISC2.0 -I/opt/perl5/lib/5.6.1 
/opt/perl5/lib/5.6.1/ExtUtils/xsubpp  -typemap /opt/perl5/lib/5.6.1/ExtUtils/typemap 
DBI.xs > DBI.xsc && mv DBI.xsc DBI.c
        gcc -c  -D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN -fno-strict-aliasing 
-O    -DVERSION=\"1.15\"  -DXS_VERSION=\"1.15\" -fpic 
-I/opt/perl5/lib/5.6.1/PA-RISC2.0/CORE -Wall -Wno-comment -DDBI_NO_THREADS DBI.c
DBI.xs: In function `dbih_make_com':
DBI.xs:698: parse error before `l'
DBI.xs:639: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_clearcom':
DBI.xs:853: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_fbav':
DBI.xs:990: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_set_attr_k':
DBI.xs:1082: warning: unused variable `Perl___notused'
DBI.xs: In function `log_where':
DBI.xs:1500: warning: unused variable `Perl___notused'
DBI.xs: In function `XS_DBI_dispatch':
DBI.xs:1930: warning: unused variable `Perl___notused'
*** Error exit code 1

Stop.


The result of perl -V command :


Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=hpux, osvers=11.00, archname=PA-RISC2.0
    uname='hp-ux nsfhho b.11.00 a 9000800 1108410552 two-user license '
    config_args='-Dcc=gcc'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='gcc', ccflags ='-D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN 
-fno-strict-aliasing',
    optimize='-O',
    cppflags='-D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN -fno-strict-aliasing'
    ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers='hpux11.00'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lnsl -lnm -lndbm -ldld -lm -lc -lndir -lcrypt -lsec
    perllibs=-lnsl -lnm -ldld -lm -lc -lndir -lcrypt -lsec
    libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '
    cccdlflags='-fpic', lddlflags='-b -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options:
  Built under hpux
  Compiled at May 21 2001 14:38:12
  @INC:
    /opt/perl5/lib/5.6.1/PA-RISC2.0
    /opt/perl5/lib/5.6.1
    /opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0
    /opt/perl5/lib/site_perl/5.6.1
    /opt/perl5/lib/site_perl/5.6.0
    /opt/perl5/lib/site_perl
    .

Regards,

David Raimbault


Reply via email to