Showing results for 
Search instead for 
Did you mean: 

DBI install with PERL

Occasional Contributor

DBI install with PERL


I can't install DBI module for perl.
I've got this message:

/tmp/DBI-1.14# make
/usr/local/bin/gcc -c -D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN -fno-strict-aliasing -I/usr/local/include -O
-DVERSION=\"1.14\" -DXS_VERSION=\"1.14\" -fpic -I/opt/perl5/lib/5.6.1/PA-RISC1.1/CORE -DDBI_NO_THREADS DBI.c
DBI.xs: In function `dbih_make_com':
DBI.xs:691: parse error before `l'
make: *** [DBI.o] Error 1

pls help, rgs Konrad.

my system configuration:

/tmp/DBI-1.14# uname -a
HP-UX torun B.11.00 A 9000/712 2008947202 two-user license
/tmp/DBI-1.14# perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
osname=hpux, osvers=11.00, archname=PA-RISC1.1
uname='hp-ux torun b.11.00 a 9000712 2008947202 two-user license '
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
cc='/usr/local/bin/gcc', ccflags ='-D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN -f
no-strict-aliasing -I/usr/local/include',
cppflags='-D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN -fno-strict-aliasing -I/usr
ccversion='', gccversion='2.9-hppa-991112', gccosandvers='hpux11.00'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
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/, 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 17 2001 03:43:41
/tmp/DBI-1.14# make -v
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Built for hppa2.0w-hp-hpux11.00
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

Report bugs to .
/tmp/DBI-1.14# gcc -v
Reading specs from /usr/local/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.9-hppa-991112/specs
gcc version 2.9-hppa-991112
Shannon Petry
Honored Contributor

Re: DBI install with PERL

If you have gnuc, and gnu-binutils, then I have found the cpan shell much easier to use than manual builds.

# perl -MCPAN -e shell
CPAN> install bundle DBI

You can also use a force option.
Make sure you have the default locations for perl, gnu gcc, and bin-utils and all should go well!

Microsoft. When do you want a virus today?