I have two questions, first do I understand correctly to use DBD::TSM 1.48
I must have DBI installed?

Second, I am having trouble installing DBI.  Here's some info:  I am very
much a newbie at compiling code, any help will be so appreciated!!

Thanks,
Jackie

AIX unix 5.2.0.0

chewbacca:/adsm2/perl/DBI-1.48 # which gcc
/usr/bin/gcc

chewbacca:/ # gcc -v
Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/specs
Configured with: ../gcc-3.3.2/configure  : (reconfigured)
../gcc-3.3.2/configure
 --disable-nls : (reconfigured) ../gcc-3.3.2/configure --disable-nls
Thread model: aix
gcc version 3.3.2


chewbacca:/adsm2/perl/DBI-1.48 # which cc
/usr/local/bin/cc


chewbacca:/ # cc -v
Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/specs
Configured with: ../gcc-3.3.2/configure  : (reconfigured)
../gcc-3.3.2/configure
 --disable-nls : (reconfigured) ../gcc-3.3.2/configure --disable-nls
Thread model: aix
gcc version 3.3.2

chewbacca:/ # perl -v

This is perl, v5.8.0 built for aix-thread-multi

Copyright 1987-2002, Larry Wall

Perl may be copied only under the terms of either the Artistic License or
the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.


chewbacca:/adsm2/perl/DBI-1.48 # make realclean
        rm -f blib/script/dbiprof blib/script/dbiproxy
        rm -rf Perl.c DBI.c DBI-1.48 Perl.xsi t/zv*_*.t dbiproxy dbiprof
dbitrac
e.log dbi.prof ndtest.prt ./blib Makefile.aperl
blib/arch/auto/DBI/extralibs.all
 perlmain.c tmon.out mon.out so_locations pm_to_blib *.o *.a perl.exe perl
perl
DBI.bs DBI.bso DBI.def libDBI.def DBI.exp DBI.x core core.*perl.*.?
*perl.core
        mv Makefile Makefile.old > /dev/null 2>&1
        rm -rf blib/lib/auto/DBI blib/arch/auto/DBI
        rm -rf DBI-1.48
        rm -f blib/arch/auto/DBI/DBI.so blib/arch/auto/DBI/DBI.bs
        rm -f blib/arch/auto/DBI/DBI.a
        rm -f  blib/arch/auto/DBI/Driver_xst.h blib/lib/DBD/Proxy.pm
blib/lib/DB
D/DBM.pm
        rm -f blib/arch/auto/DBI/DBIXS.h blib/lib/DBI/Const/GetInfoType.pm
blib/
lib/Roadmap.pod
        rm -f blib/lib/DBI/DBD/Metadata.pm
blib/lib/DBI/Const/GetInfo/ODBC.pm
        rm -f blib/lib/DBI/ProfileDumper/Apache.pm
blib/arch/auto/DBI/Driver.xst
        rm -f blib/lib/DBD/File.pm blib/lib/DBD/NullP.pm
blib/arch/auto/DBI/dbi_
sql.h
        rm -f blib/arch/auto/DBI/dbivport.h blib/arch/auto/DBI/dbd_xsh.h
blib/li
b/DBI/FAQ.pm
        rm -f blib/lib/DBI/SQL/Nano.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
blib/l
ib/DBI.pm
        rm -f blib/lib/DBI/Const/GetInfoReturn.pm blib/lib/DBD/Sponge.pm
        rm -f blib/lib/DBI/W32ODBC.pm blib/lib/Bundle/DBI.pm
blib/lib/DBI/Profil
e.pm
        rm -f blib/lib/DBI/ProfileDumper.pm blib/lib/DBI/ProxyServer.pm
        rm -f blib/arch/auto/DBI/dbipport.h blib/lib/DBI/DBD.pm
blib/lib/Win32/D
BIODBC.pm
        rm -f blib/lib/DBI/PurePerl.pm blib/lib/DBD/ExampleP.pm
blib/lib/DBI/Pro
fileData.pm
        rm -rf Makefile Makefile.old


chewbacca:/adsm2/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::PlClie
    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 thread
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
Checking if your kit is complete...
Looks good

    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
chewbacca:/adsm2/perl/DBI-1.48 #

chewbacca:/adsm2/perl/DBI-1.48 # make
        cp Changes blib/lib/DBI/Changes.pm
        cp Roadmap.pod blib/lib/DBI/Roadmap.pm
cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp Roadmap.pod blib/lib/Roadmap.pod
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp dbivport.h blib/arch/auto/DBI/dbivport.h
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBD/File.pm blib/lib/DBD/File.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm
cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
        /usr/bin/perl -e 'use ExtUtils::Mksymlists;  Mksymlists("NAME" =>
"DBI",
 "DL_FUNCS" => {  }, "FUNCLIST" => [], "DL_VARS" => []);'
        /usr/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
        /usr/bin/perl /usr/opt/perl5/lib/5.8.0/ExtUtils/xsubpp  -typemap
/usr/op
t/perl5/lib/5.8.0/ExtUtils/typemap -typemap typemap  Perl.xs > Perl.xsc &&
mv Pe
rl.xsc Perl.c
        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
-qlon
glong -O    -DVERSION=\"1.48\"  -DXS_VERSION=\"1.48\"
"-I/usr/opt/perl5/lib/5.8
.0/aix-thread-multi/CORE"   Perl.c
/bin/sh: cc_r:  not found.
make: 1254-004 The error code from the last command is 127.


Stop.
chewbacca:/adsm2/perl/DBI-1.48 #




Reply via email to