DBI install error

DBI install error

am 04.09.2006 17:24:16 von Jian.Ouyang

------_=_NextPart_001_01C6D036.2F10CB24
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,
=20
I try to install the DBI package but it failed. Can you please help?
=20
Thanks.
=20
Jian
=20
=20
=20
=20
=20
{/home/j/jouyang/dot/DBI-1.50 27}% perl Makefile.PL
=20
*** You are using a perl configured with threading enabled.
*** You should be aware that using multiple threads is
*** not recommended for production environments.
=20
*** 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.
=20
Optional modules are available from any CPAN mirror, in particular
http://search.cpan.org/
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
=20
Creating DBI::PurePerl test variant: t/zvpp_01basics.t=20
Creating DBI::PurePerl test variant: t/zvpp_02dbidrv.t=20
Creating DBI::PurePerl test variant: t/zvpp_03handle.t=20
Creating DBI::PurePerl test variant: t/zvpp_04mods.t=20
Creating DBI::PurePerl test variant: t/zvpp_05thrclone.t (use
threads)
Creating DBI::PurePerl test variant: t/zvpp_06attrs.t=20
Creating DBI::PurePerl test variant: t/zvpp_07kids.t=20
Creating DBI::PurePerl test variant: t/zvpp_08keeperr.t=20
Creating DBI::PurePerl test variant: t/zvpp_09trace.t=20
Creating DBI::PurePerl test variant: t/zvpp_10examp.t=20
Creating DBI::PurePerl test variant: t/zvpp_11fetch.t=20
Creating DBI::PurePerl test variant: t/zvpp_14utf8.t=20
Creating DBI::PurePerl test variant: t/zvpp_15array.t=20
Creating DBI::PurePerl test variant: t/zvpp_20meta.t=20
Creating DBI::PurePerl test variant: t/zvpp_30subclass.t=20
Creating DBI::PurePerl test variant: t/zvpp_40profile.t=20
Creating DBI::PurePerl test variant: t/zvpp_41prof_dump.t=20
Creating DBI::PurePerl test variant: t/zvpp_42prof_data.t=20
Creating DBI::PurePerl test variant: t/zvpp_43profenv.t=20
Creating DBI::PurePerl test variant: t/zvpp_50dbm.t=20
Creating DBI::PurePerl test variant: t/zvpp_60preparse.t=20
Creating DBI::PurePerl test variant: t/zvpp_70callbacks.t=20
Creating DBI::PurePerl test variant: t/zvpp_72childhandles.t=20
Creating DBI::PurePerl test variant: t/zvpp_80proxy.t=20
=20
I see you're using perl 5.008003 on PA-RISC1.1-thread-multi, okay.
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.
=20
Writing Makefile for DBI

=20
{/home/j/jouyang/dot/DBI-1.50 29}% make
cc -c -D_POSIX_C_SOURCE=3D199506L -D_REENTRANT -Ae
-D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=3D64 -fast +Onolimit +Opromote_indirect_calls
+DAportable +DS2.0 -DVERSION=3D\"1.50\" -DXS_VERSION=3D\"1.50\" +Z
"-I/opt/perl/lib/5.8.3/PA-RISC1.1-thread-multi/CORE" Perl.c
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: warning 422: Unknown option "f" ignored.
(Bundled) cc: warning 480: The +Onolimit option is available only with
the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Opromote_indirect_calls option is
available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Z option is available only with the
C/ANSI C product; ignored.
cpp: "/opt/perl/lib/5.8.3/PA-RISC1.1-thread-multi/CORE/perlio.h", line
108: error 4065: Recursion in macro "PerlIO".
*** Error exit code 1
=20
=20
{/home/j/jouyang/dot/DBI-1.50 30}% make test
cc -c -D_POSIX_C_SOURCE=3D199506L -D_REENTRANT -Ae
-D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=3D64 -fast +Onolimit +Opromote_indirect_calls
+DAportable +DS2.0 -DVERSION=3D\"1.50\" -DXS_VERSION=3D\"1.50\" +Z
"-I/opt/perl/lib/5.8.3/PA-RISC1.1-thread-multi/CORE" Perl.c
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: warning 422: Unknown option "f" ignored.
(Bundled) cc: warning 480: The +Onolimit option is available only with
the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Opromote_indirect_calls option is
available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Z option is available only with the
C/ANSI C product; ignored.
cpp: "/opt/perl/lib/5.8.3/PA-RISC1.1-thread-multi/CORE/perlio.h", line
108: error 4065: Recursion in macro "PerlIO".
*** Error exit code 1
=20
=20
=20
{/home/j/jouyang/dot/DBI-1.50 31}% make test TEST_VERBOSE=3D1
cc -c -D_POSIX_C_SOURCE=3D199506L -D_REENTRANT -Ae
-D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=3D64 -fast +Onolimit +Opromote_indirect_calls
+DAportable +DS2.0 -DVERSION=3D\"1.50\" -DXS_VERSION=3D\"1.50\" +Z
"-I/opt/perl/lib/5.8.3/PA-RISC1.1-thread-multi/CORE" Perl.c
(Bundled) cc: warning 480: The -A option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: warning 422: Unknown option "f" ignored.
(Bundled) cc: warning 480: The +Onolimit option is available only with
the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Opromote_indirect_calls option is
available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +Z option is available only with the
C/ANSI C product; ignored.
cpp: "/opt/perl/lib/5.8.3/PA-RISC1.1-thread-multi/CORE/perlio.h", line
108: error 4065: Recursion in macro "PerlIO".
*** Error exit code 1

=20
{/home/j/jouyang/dot/DBI-1.50 33}% perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
Platform:
osname=3Dhpux, osvers=3D11.00, archname=3DPA-RISC1.1-thread-multi
uname=3D'hp-ux bertha b.11.00 u 9000800 136901587 unlimited-user
license '
config_args=3D'-ders -Dcc=3Dcc -Accflags=3D-DNO_HASH_SEED =
-Dusethreads
-Duseithreads -Ud_sigsetjmp -Uinstallusrbinperl -Ulocincpth=3D
-Uloclibpth=3D -Dd_attribut=3Dundef -Dd_u32align=3Ddefine
-Darchname=3DPA-RISC1.1 -Doptimize=3D-fast +Onolimit
+Opromote_indirect_calls +DAportable +DS2.0 -Duselargefiles
-Dinc_version_list=3D5.8.2/$archname 5.8.2 5.8.1/$archname 5.8.1
5.8.0/$archname 5.8.0 -Duseshrplib -Dprefix=3D/opt/perl
-Dcf_by=3DActiveState -Dcf_email=3Dsupport@ActiveState.com'
hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine
usethreads=3Ddefine use5005threads=3Dundef useithreads=3Ddefine
usemultiplicity=3Ddefine
useperlio=3Ddefine d_sfio=3Dundef uselargefiles=3Ddefine =
usesocks=3Dundef
use64bitint=3Dundef use64bitall=3Dundef uselongdouble=3Dundef
usemymalloc=3Dn, bincompat5005=3Dundef
Compiler:
cc=3D'cc', ccflags =3D' -D_POSIX_C_SOURCE=3D199506L -D_REENTRANT -Ae
-D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=3D64 ',
optimize=3D'-fast +Onolimit +Opromote_indirect_calls +DAportable
+DS2.0',
cppflags=3D'-Aa -D__STDC_EXT__ -D_HPUX_SOURCE
-D_POSIX_C_SOURCE=3D199506L -D_REENTRANT -D_HPUX_SOURCE
-Wl,+vnocompatwarnings -DNO_HASH_SEED'
ccversion=3D'B.11.11.10', gccversion=3D'', gccosandvers=3D''
intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8, =
byteorder=3D4321
d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, =
longdblsize=3D16
ivtype=3D'long', ivsize=3D4, nvtype=3D'double', nvsize=3D8, =
Off_t=3D'off_t',
lseeksize=3D8
alignbytes=3D8, prototype=3Ddefine
Linker and Libraries:
ld=3D'/usr/bin/ld', ldflags =3D''
libpth=3D/lib /usr/lib /usr/ccs/lib /usr/local/lib
libs=3D-lcres -lnsl -lnm -lndbm -lmalloc -ldld -lm -lcrypt -lsec
-lpthread -lc
perllibs=3D-lcres -lnsl -lnm -lmalloc -ldld -lm -lcrypt -lsec
-lpthread -lc
libc=3D/lib/libc.sl, so=3Dsl, useshrplib=3Dtrue, =
libperl=3Dlibperl.sl
gnulibc_version=3D''
Dynamic Linking:
dlsrc=3Ddl_hpux.xs, dlext=3Dsl, d_dlsymun=3Dundef, =
ccdlflags=3D'-Wl,-E
-Wl,-B,deferred '
cccdlflags=3D'+Z', lddlflags=3D'-b +vnocompatwarnings'
=20

Characteristics of this binary (from libperl):=20
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Locally applied patches:
ActivePerl Build 809
22218 Remove the caveat about detached threads crashing on
Windows
22201 Avoid threads+win32 crash by freeing Perl interpreter
slightly later
22169 Display 'out of memeory' errors using low-level I/O
22159 Upgrade to Time::Hires 1.55
22120 Make 'Configure -Dcf_by=3D...' work
22051 Upgrade to Time::HiRes 1.54
21540 Fix backward-compatibility issues in if.pm
Built under hpux
Compiled at May 17 2005 18:12:56
@INC:
/opt/perl/lib/5.8.3/PA-RISC1.1-thread-multi
/opt/perl/lib/5.8.3
/opt/perl/lib/site_perl/5.8.3/PA-RISC1.1-thread-multi
/opt/perl/lib/site_perl/5.8.3
/opt/perl/lib/site_perl
=20

------_=_NextPart_001_01C6D036.2F10CB24--

Re: DBI install error

am 05.09.2006 01:51:11 von jonathan.leffler

On 9/4/06, Ouyang, Jian wrote:
> I try to install the DBI package but it failed. Can you please help?

John Gallagher was having the same problem. I answered him this morning.


> {/home/j/jouyang/dot/DBI-1.50 27}% perl Makefile.PL
>[...]
> Writing Makefile for DBI
>
>
> {/home/j/jouyang/dot/DBI-1.50 29}% make
> cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae
> -D_HPUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -fast +Onolimit +Opromote_indirect_calls
> +DAportable +DS2.0 -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" +Z
> "-I/opt/perl/lib/5.8.3/PA-RISC1.1-thread-multi/CORE" Perl.c
> (Bundled) cc: warning 480: The -A option is available only with the
> C/ANSI C product; ignored.
> (Bundled) cc: warning 422: Unknown option "f" ignored.
> (Bundled) cc: warning 480: The +Onolimit option is available only with
> the C/ANSI C product; ignored.
> (Bundled) cc: warning 480: The +Opromote_indirect_calls option is
> available only with the C/ANSI C product; ignored.
> (Bundled) cc: warning 480: The +Z option is available only with the
> C/ANSI C product; ignored.
> cpp: "/opt/perl/lib/5.8.3/PA-RISC1.1-thread-multi/CORE/perlio.h", line
> 108: error 4065: Recursion in macro "PerlIO".
> *** Error exit code 1


I wrote:

You're using the bundled C compiler which is not an ANSI C compiler.
Your Perl was built with the HP ANSI C compiler.

Either: get the HP ANSI C compiler
Or: get GCC and build your own Perl with it.


His Perl was version 5.8.7; yours is 5.8.3; the differences are
immaterial to this problem.

--
Jonathan Leffler #include
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."