Hello
As per README instructions when looking for help.
This problem happens with 1.28 and 1.24 DBI.
Any help welcome.
Thanks
Richard
Script started on Mon Jul 1 17:02:25 2002
# pwd
/.cpan/build/DBI-1.24
# perl Makefile.PL
*** You are using a perl with experimental threading enabled!
*** You should be aware that using multiple threads is unstable
*** are should NOT be done in production environments.
DBI thread mutex protection is enabled
*** 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
Creating extra DBI::PurePerl test: t/zz_01basics_pp.t
Creating extra DBI::PurePerl test: t/zz_02dbidrv_pp.t
Creating extra DBI::PurePerl test: t/zz_03hleak_pp.t
Creating extra DBI::PurePerl test: t/zz_10examp_pp.t
Creating extra DBI::PurePerl test: t/zz_15array_pp.t
Creating extra DBI::PurePerl test: t/zz_20meta_pp.t
Creating extra DBI::PurePerl test: t/zz_30subclass_pp.t
Creating extra DBI::PurePerl test: t/zz_40profile_pp.t
Creating extra DBI::PurePerl test: t/zz_60preparse_pp.t
Creating extra DBI::PurePerl test: t/zz_70shell_pp.t
Creating extra DBI::PurePerl test: t/zz_80proxy_pp.t
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.
# make
/usr/bin/perl -I/opt/perl5/lib/5.6.1/PA-RISC2.0-thread
-I/opt/perl5/lib/5.6.1 -MExtUtils::Command -e mkpath blib/lib/DBI
rm -f blib/lib/DBI/Changes.pm
cp Changes blib/lib/DBI/Changes.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.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/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp lib/DBI/Const/GetInfo.pm blib/lib/DBI/Const/GetInfo.pm
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/DBI/Shell.pm blib/lib/DBI/Shell.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 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/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.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
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.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-thread
-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
/opt/ansic/bin/cc -c -D_HPUX_SOURCE +DD64 -Ae -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 +z -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"1.24\" -DXS_VERSION=\"1.24\" +z
-I/opt/perl5/lib/5.6.1/PA-RISC2.0-thread/CORE Perl.c
/usr/bin/perl -I/opt/perl5/lib/5.6.1/PA-RISC2.0-thread
-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
/opt/ansic/bin/cc -c -D_HPUX_SOURCE +DD64 -Ae -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 +z -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"1.24\" -DXS_VERSION=\"1.24\" +z
-I/opt/perl5/lib/5.6.1/PA-RISC2.0-thread/CORE DBI.c
cc: "DBI.xs", line 1279: error 1588: "thr" undefined.
cc: "DBI.xs", line 1279: error 1532: Reference through a non-pointer.
cc: "DBI.xs", line 1279: warning 563: Argument #2 is not the correct type.
cc: "DBI.xs", line 1281: error 1532: Reference through a non-pointer.
cc: "DBI.xs", line 1281: error 1532: Reference through a non-pointer.
cc: "DBI.xs", line 1281: error 1532: Reference through a non-pointer.
cc: "DBI.xs", line 1281: error 1532: Reference through a non-pointer.
cc: "DBI.xs", line 1281: error 1527: Incompatible types in cast: Must cast
from scalar to scalar or to void type.
cc: "DBI.xs", line 1281: error 1532: Reference through a non-pointer.
cc: "DBI.xs", line 1281: error 1532: Reference through a non-pointer.
cc: "DBI.xs", line 1281: error 1527: Incompatible types in cast: Must cast
from scalar to scalar or to void type.
cc: "DBI.xs", line 1281: error 1532: Reference through a non-pointer.
cc: "DBI.xs", line 1281: warning 563: Argument #2 is not the correct type.
cc: "DBI.xs", line 1281: warning 604: Pointers are not
assignment-compatible.
cc: "DBI.xs", line 1281: warning 563: Argument #3 is not the correct type.
cc: "DBI.xs", line 1281: error 1552: First expression of ?: must be
arithmetic.
*** Error exit code 1
Stop.
# perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=hpux, osvers=11.11, archname=PA-RISC2.0-thread
uname='hp-ux bianca b.11.11 u 9000800 1493622342 unlimited-user license
'
config_args='-Ubincompat5005 -Duse64bitall'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=define useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
Compiler:
cc='/opt/ansic/bin/cc', ccflags =' -D_HPUX_SOURCE +DD64 -Ae
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +z -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 ',
optimize='-O',
cppflags='-D_HPUX_SOURCE +DD64 -Ae -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 +z'
ccversion='B.11.11.04', gccversion='', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='/usr/bin/ld', ldflags ='+DD64 -Wl,+vnocompatwarnings
-L/usr/local/lib -L/lib/pa20_64'
libpth=/usr/local/lib /lib/pa20_64 /lib /usr/lib /usr/ccs/lib
libs=-lcl -lpthread -lnsl -lnm -ldld -lm -lc -lsec
perllibs=-lcl -lpthread -lnsl -lnm -ldld -lm -lc -lsec
libc=/lib/pa20_64/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='+z', lddlflags='-b +vnocompatwarnings -L/usr/local/lib
-L/lib/pa20_64'
Characteristics of this binary (from libperl):
Compile-time options: USE_THREADS USE_64_BIT_INT USE_64_BIT_ALL
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under hpux
Compiled at Jun 28 2002 11:20:20
@INC:
/opt/perl5/lib/5.6.1/PA-RISC2.0-thread
/opt/perl5/lib/5.6.1
/opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0-thread
/opt/perl5/lib/site_perl/5.6.1
/opt/perl5/lib/site_perl
.
# exit
script done on Mon Jul 1 17:03:53 2002