Help !!!
I have a same problem
Perl: 5.6.1
Os: HP-UX 11.0
DBI: 1.14
This is my log
/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/type
map DBI.xs > DBI.xsc && mv DBI.xsc DBI.c
gcc -c -D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN
-fno-strict-alia
sing -O -DVERSION=\"1.14\" -DXS_VERSION=\"1.14\" -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:691: parse error before `l'
DBI.xs: In function `dbih_clearcom':
DBI.xs:840: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_fbav':
DBI.xs:977: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_set_attr_k':
DBI.xs:1069: warning: unused variable `Perl___notused'
DBI.xs: In function `log_where':
DBI.xs:1481: warning: unused variable `Perl___notused'
DBI.xs: In function `XS_DBI_dispatch':
DBI.xs:1905: warning: unused variable `Perl___notused'
*** Error exit code 1
Stop.
If you found a solution please mail me.
-----Mensaje original-----
De: Eisert, Mark [mailto:[EMAIL PROTECTED]]
Enviado el: Tuesday, April 24, 2001 12:06 PM
Para: '[EMAIL PROTECTED]'
Asunto: HP-UX, DBI make problem
Hello,
Perl: 5.6.1
OS: HP-UX 11.0
DBI: 1.15
Having problem installing the Perl DBI on an HP System. I've upgraded the
Perl to 5.6.1 and installed it succesfully, but when I try to make the DBI,
compiling using the Perl 5.6.1 I get the following error.
meisert@gpnd004 [shaggy] /bv_var/meisert/bin/DBI-1.15$ gcc -c
-D_HPUX_SOURCE -I/usr/local/include -O -DVERSION=\"1.15\"
-DXS_VER
SION=\"1.15\" -fpic -I/home/context/meisert/perl/lib/5.6.1/PA-RISC2.0/CORE
-Wall -Wno-comment -DDBI_NO_THREADS DBI.c
DBI.xs: In function `dbih_make_fdsv':
DBI.xs:622: warning: int format, long int arg (arg 5)
DBI.xs: In function `dbih_make_com':
DBI.xs:663: warning: int format, long int arg (arg 5)
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'
I've tried just using the Perl 5.00503 binaries which come installed with HP
and can get the DBI to make and install successfully, but then run in to a
wall when making the DBD::Oracle 1.06. So, after reading some discussion
threads I tried the approach of building and installing the latest version
of Perl, which I've done both as static and as dynamic, but seem to get the
same problem.
Has anyone been successful at getting the following components installed:
gcc, HP-UX 11, DBI 1.15, Perl 5.6.1 or Perl 5.x and DBD::Oracle 1.06?
If so, what were the lessons learned if any?
Mark