You either need the HP ANSI C compiler or GCC. Since you seem to use a perl which was build using the HP ANSI C compiler it's easiest to install that compiler on the system you're trying to get DBI to work. However, you need to PAY for that compiler so you might want to switch to GCC. I'm not entirely sure if you would need to recompile perl itself with GCC for that to work. (would be best no doubt)
----------------------------------- Frans Postma, (050-58) 81 852 ATOS Origin, Unix Support "If at first you don't succeed, skydiving isn't for you" > -----Oorspronkelijk bericht----- > Van: Sancho, Nick [mailto:[EMAIL PROTECTED] > Verzonden: woensdag 12 maart 2003 19:52 > Aan: [EMAIL PROTECTED] > Onderwerp: Need help installing DBI on HP/UX 11.00 > > > I'm getting an error installing DBI-1.08 on HP/UX 11.00 > > Heres what I'm getting: > > [EMAIL PROTECTED]:/opt/deebee/DBI-1.08 > # /opt/perl5/bin/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 DBI CPAN Bundle 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! > Build, TEST and INSTALL Perl 5 first. > Do NOT build the DBI under the Perl source tree. > Use 'make test' to execute self tests. > Use 'make install' to install the DBI and then delete this working > directory before unpacking and building any DBD::* drivers. > > [EMAIL PROTECTED]:/opt/deebee/DBI-1.08 > # make > mkdir blib > mkdir blib/lib > mkdir blib/arch > mkdir blib/arch/auto > mkdir blib/arch/auto/DBI > mkdir blib/lib/auto > mkdir blib/lib/auto/DBI > mkdir blib/man1 > mkdir blib/man3 > cp DBIXS.h blib/arch/auto/DBI/DBIXS.h > cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm > 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/DBI/FAQ.pm blib/lib/DBI/FAQ.pm > cp DBI.pm blib/lib/DBI.pm > cp lib/DBD/ADO.pm blib/lib/DBD/ADO.pm > cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm > cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm > cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm > cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm > cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm > cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm > cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm > cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h > cp Driver.xst blib/arch/auto/DBI/Driver.xst > cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm > /opt/perl5/bin/perl -p -e "s/~DRIVER~/Perl/g" < > blib/arch/auto/DBI/Drive > r.xst > Perl.xsi > /opt/perl5/bin/perl -I/opt/perl5/lib/5.6.0/PA-RISC1.1 > -I/opt/perl5/lib/5 > .6.0 /opt/perl5/lib/5.6.0/ExtUtils/xsubpp -typemap > /opt/perl5/lib/5.6.0/ExtUtil > s/typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c > cc -c -Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -O +Onolimit > -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" +z > -I/opt/perl5/lib/5.6.0/PA-RISC1.1/C > ORE -DDBI_NO_THREADS Perl.c > (Bundled) cc: warning 480: The -A option is available only > with the C/ANSI C > pro > duct; ignored. > (Bundled) cc: warning 480: The -O option is available only > with the C/ANSI C > pro > duct; ignored. > (Bundled) cc: warning 480: The +Onolimit option is available > only with the > C/ANS > I C product; ignored. > (Bundled) cc: warning 480: The +z option is available only > with the C/ANSI C > pro > duct; ignored. > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", > line 532: error > 100 > 0: Unexpected symbol: "nbytes". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", > line 533: error > 100 > 0: Unexpected symbol: "elements". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", > line 534: error > 100 > 0: Unexpected symbol: "size_t". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", > line 532: error > 150 > 6: Parameters allowed in function definition only. > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", > line 533: error > 170 > 5: Function prototypes are an ANSI feature. > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", > line 533: error > 157 > 3: Type of "size" is undefined due to an illegal declaration. > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", > line 534: error > 170 > 5: Function prototypes are an ANSI feature. > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", > line 534: error > 157 > 3: Type of "nbytes" is undefined due to an illegal declaration. > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", > line 537: error > 170 > 5: Function prototypes are an ANSI feature. > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", > line 1816: > error 10 > 00: Unexpected symbol: "SV". > (Bundled) cc: > "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/iperlsys.h", line 411: > warni > ng 5: "const" will become a keyword. > (Bundled) cc: > "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/iperlsys.h", line 411: > error > 1000: Unexpected symbol: "const". > (Bundled) cc: > "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/regexp.h", line 13: > error 10 > 00: Unexpected symbol: "U8". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/sv.h", > line 329: error > 1000: > Unexpected symbol: "*". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/sv.h", > line 330: error > 1000: > Unexpected symbol: "ANY". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/sv.h", > line 331: error > 1000: > Unexpected symbol: "GV". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/cv.h", > line 25: error > 1000: > Unexpected symbol: "*". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/cv.h", > line 26: error > 1000: > Unexpected symbol: "ANY". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/cv.h", > line 27: error > 1000: > Unexpected symbol: "GV". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", > line 14: error > 1000: > Unexpected symbol: "*". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", > line 14: error > 1000: > Unexpected symbol: "*". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", > line 15: error > 1000: > Unexpected symbol: "*". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", > line 15: error > 1000: > Unexpected symbol: "*". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", > line 16: error > 1000: > Unexpected symbol: "U32". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", > line 16: error > 1000: > Unexpected symbol: "*". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", > line 17: error > 1000: > Unexpected symbol: "*". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", > line 17: error > 1000: > Unexpected symbol: "*". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", > line 18: error > 1000: > Unexpected symbol: "*". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", > line 18: error > 1000: > Unexpected symbol: "*". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", > line 23: error > 1000: > Unexpected symbol: "MAGIC". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/utf8.h", line 25: > warning 5: > "const" will become a keyword. > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/utf8.h", > line 25: error > 1000 > : Unexpected symbol: "unsigned". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", > line 1852: > error 10 > 00: Unexpected symbol: "CURCUR". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", > line 2058: > error 10 > 00: Unexpected symbol: "*". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", > line 2059: > error 10 > 00: Unexpected symbol: "I32". > (Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", > line 2059: > error 10 > 00: Unexpected symbol: "SV". > (Bundled) cc: error 2017: Cannot recover from earlier errors, > terminating. > *** Error exit code 1 > > > # /opt/perl5/bin/perl -V > Summary of my perl5 (revision 5.0 version 6 subversion 0) > configuration: > Platform: > osname=hpux, osvers=10.20, archname=9000/777-hpux > uname='hp-ux rydal b.10.20 a 9000777 2011764956 two-user license ' > config_args='' > hint=previous, useposix=true, d_sigaction=define > usethreads=undef use5005threads=undef useithreads=undef > usemultiplicity=unde > f > useperlio=undef d_sfio=undef uselargefiles=define > use64bitint=undef use64bitall=undef uselongdouble=undef > usesocks=undef > Compiler: > cc='cc', optimize='-O +Onolimit', gccversion= > cppflags='-Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' > ccflags ='-Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' > stdchar='unsigned char', d_stdstdio=define, usevfork=false > intsize=4, longsize=4, ptrsize=4, doublesize=8 > d_longlong=define, longlongsize=8, d_longdbl=define, > longdblsize=16 > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', > lseeksize > =8 > alignbytes=8, usemymalloc=y, prototype=define > Linker and Libraries: > ld='ld', ldflags ='' > libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib > libs=-lnsl_s -lndbm -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,deferr > ed ' > cccdlflags='+z', lddlflags='-b -s -a shared' > > > Characteristics of this binary (from libperl): > Compile-time options: USE_LARGE_FILES > Built under hpux > Compiled at May 2 2000 20:08:48 > @INC: > /opt/perl5/lib/5.6.0/PA-RISC1.1 > /opt/perl5/lib/5.6.0 > /opt/perl5/lib/site_perl/5.6.0/PA-RISC1.1 > /opt/perl5/lib/site_perl/5.6.0 > /opt/perl5/lib/site_perl > . > >