DBI installation failure on AIX 5.2
- From: larry.li@xxxxxxxxxxx (Larry Li)
- Date: Thu, 30 Jun 2005 09:39:56 -0400
Thanks for your help.
This is Larry Li from Toronto. I am trying to install DBI on AIX 5.2. I
am facing the following failure.
Step 1: seems it succeeded.
root[torts51]/lpp_fs/perl/DBI-1.48: perl Makefile.PL
*** You are using a perl configured with threading enabled.
*** You should be aware that using multiple threads is
*** not recommended for production environments.
*** 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://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
Creating DBI::PurePerl test variant: t/zvpp_01basics.t
Creating DBI::PurePerl test variant: t/zvpp_02dbidrv.t
Creating DBI::PurePerl test variant: t/zvpp_03handle.t
Creating DBI::PurePerl test variant: t/zvpp_04mods.t
Creating DBI::PurePerl test variant: t/zvpp_05thrclone.t (use
threads)
Creating DBI::PurePerl test variant: t/zvpp_06attrs.t
Creating DBI::PurePerl test variant: t/zvpp_07kids.t
Creating DBI::PurePerl test variant: t/zvpp_08keeperr.t
Creating DBI::PurePerl test variant: t/zvpp_09trace.t
Creating DBI::PurePerl test variant: t/zvpp_10examp.t
Creating DBI::PurePerl test variant: t/zvpp_11fetch.t
Creating DBI::PurePerl test variant: t/zvpp_14utf8.t
Creating DBI::PurePerl test variant: t/zvpp_15array.t
Creating DBI::PurePerl test variant: t/zvpp_20meta.t
Creating DBI::PurePerl test variant: t/zvpp_30subclass.t
Creating DBI::PurePerl test variant: t/zvpp_40profile.t
Creating DBI::PurePerl test variant: t/zvpp_41prof_dump.t
Creating DBI::PurePerl test variant: t/zvpp_42prof_data.t
Creating DBI::PurePerl test variant: t/zvpp_50dbm.t
Creating DBI::PurePerl test variant: t/zvpp_60preparse.t
Creating DBI::PurePerl test variant: t/zvpp_80proxy.t
I see you're using perl 5.008 on aix-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.
Writing Makefile for DBI
root[torts51]/lpp_fs/perl/DBI-1.48:
Step 2: it failed.
root[torts51]/lpp_fs/perl/DBI-1.48: make
cc_r -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT
-q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.48\"
-DXS_VERSION=\"1.48\"
"-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE" Perl.c
cc_r: unrecognized option `-qmaxmem=16384'
cc_r: unrecognized option `-qnoansialias'
cc_r: unrecognized option `-q32'
cc_r: unrecognized option `-qlonglong'
In file included from
/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/perl.h:648,
from DBIXS.h:19,
from Perl.xs:5:
/usr/include/time.h:239: warning: `struct sigevent' declared inside
parameter list
/usr/include/time.h:239: warning: its scope is only this definition or
declaration, which is probably not what you want.
In file included from
/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/perl.h:1969,
from DBIXS.h:19,
from Perl.xs:5:
/usr/include/pthread.h:556: parse error before `*'
/usr/include/pthread.h:559: parse error before `*'
/usr/include/pthread.h:563: parse error before `*'
/usr/include/pthread.h:566: parse error before `*'
/usr/include/pthread.h:569: parse error before `*'
/usr/include/pthread.h:572: parse error before `*'
/usr/include/pthread.h:575: parse error before `*'
/usr/include/pthread.h:578: parse error before `*'
/usr/include/pthread.h:581: parse error before `*'
/usr/include/pthread.h:585: parse error before `*'
/usr/include/pthread.h:588: parse error before `*'
In file included from
/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/op.h:480,
from
/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/perl.h:2209,
from DBIXS.h:19,
from Perl.xs:5:
/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/reentr.h:610: field
`_drand48_struct' has incomplete type
/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/reentr.h:717: field
`_random_struct' has incomplete type
make: 1254-004 The error code from the last command is 1.
Stop.
root[torts51]/lpp_fs/perl/DBI-1.48:
BTW, I don't have cc_r installed on my server. I use "cc" instead.
Actually, "cc_r" is a link to "cc" in my environment.
I really appreciate your help.
Best regards,
Larry Li
Unix and Storage Specialist
The Travel Corporation
33 Kern Road
Toronto, ON M3B 1S9
larry.li@xxxxxxxxxxx
Tel: 416-849-7102
Fax: 416-849-7150
- Prev by Date: Re: I have problems with installing DBI-1.48 on Freebsd 5.4
- Next by Date: Re: dbi module and can't find lib question
- Previous by thread: dbi module and can't find lib question
- Next by thread: DBI installation failure on AIX 5.2, all failure info attached
- Index(es):
Relevant Pages
|