This was using Perl 5.6.1 compiled from source using gcc. (We originally had a
depot version that must have been compiled using cc, but this gave all sorts of
problems since cc on this system is a junky non-ANSI C compiler.)

> "Ferré, Oscar" wrote:
> 
> Hi Robert !!
> 
> Do you have Perl 5.6.1 source code or depot??
> 
> -----Mensaje original-----
> De: Robert Hancock [mailto:[EMAIL PROTECTED]]
> Enviado el: Tuesday, May 08, 2001 6:24 PM
> Para: [EMAIL PROTECTED]
> CC: [EMAIL PROTECTED]
> Asunto: Compile failure of DBI 1.15 on HP-UX 11
> 
> I've got Perl 5.6.1 running on a HP-UX 11 machine and am now attempting to
> install DBI 1.15. The log below shows what happens when I attempt to compile
> it
> - the important part being "DBI.xs:696: parse error before `l'". Anyone have
> suggestions, or is this a bug?
> 
> <prompt> 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.
> 
> <prompt> make
> 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/bin/perl -p -e "s/~DRIVER~/Perl/g" <
> blib/arch/auto/DBI/Driver.xst
> > Perl.xsi
>         /usr/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 -I/usr/local/include -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/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 -I/usr/local/include -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:696: parse error before `l'
> DBI.xs: In function `dbih_clearcom':
> DBI.xs:851: warning: unused variable `Perl___notused'
> DBI.xs: In function `dbih_get_fbav':
> DBI.xs:988: warning: unused variable `Perl___notused'
> DBI.xs: In function `dbih_set_attr_k':
> DBI.xs:1080: warning: unused variable `Perl___notused'
> DBI.xs: In function `log_where':
> DBI.xs:1498: warning: unused variable `Perl___notused'
> DBI.xs: In function `XS_DBI_dispatch':
> DBI.xs:1928: warning: unused variable `Perl___notused'
> *** Error exit code 1
> 
> Stop.
> 
> <prompt>perl -V
> 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 milhouse b.11.00 a 9000782 2003356746 two-user license '
>     config_args='-Dcc=gcc -de'
>     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 -I/usr/local/include',
>     optimize='-O',
>     cppflags='-D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN
> -fno-strict-aliasing -I/usr/local/include'
>     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 -lgdbm -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  8 2001 12:31:49
>   @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
>     .

Reply via email to