Hi,

I'm trying to install the DBI module in the below mentioned steps as a root 
user.


1.      export DB2_HOME=/opt/IBM/db2/V9.7

2.      export DB2LIB=/opt/IBM/db2/V9.7/lib64

3.      perl Makefile.PL

4.      make

5.      make test

6.      make install


The first 3 steps are completed successfully and the 4th step, make process is 
throwing the below error.

        xlc_r -q32 -c    -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE 
-qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT 
-qlanglvl=extended -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong -O    
-DVERSION=\"1.631\"  -DXS_VERSION=\"1.631\"  
"-I/usr/opt/perl5/lib/5.10.1/aix-thread-multi/CORE"   Perl.c
/bin/sh: xlc_r:  not found.
make: 1254-004 The error code from the last command is 127.


I have posted the complete results that I performed. Kindly help.

--------------------------------------------------------------------------------------------------------------

# export DB2_HOME=/opt/IBM/db2/V9.7          --- Step 1

# export DB2LIB=/opt/IBM/db2/V9.7/lib64        --- Step 2

# perl Makefile.PL                                                      --- 
Step 3 - Completed successfully


# make                                                                        
--- Step 4

Skip blib/arch/auto/DBI/Driver_xst.h (unchanged)
Skip blib/lib/DBD/Proxy.pm (unchanged)
Skip blib/lib/DBI/Gofer/Response.pm (unchanged)
Skip blib/lib/DBI/Gofer/Transport/Base.pm (unchanged)
Skip blib/lib/DBI/Util/_accessor.pm (unchanged)
Skip blib/lib/DBD/DBM.pm (unchanged)
Skip blib/arch/auto/DBI/DBIXS.h (unchanged)
Skip blib/lib/dbixs_rev.pl (unchanged)
Skip blib/lib/DBI/Const/GetInfoType.pm (unchanged)
Skip blib/lib/DBI/Gofer/Serializer/DataDumper.pm (unchanged)
Skip blib/lib/DBI/DBD/Metadata.pm (unchanged)
Skip blib/lib/DBD/Gofer/Transport/pipeone.pm (unchanged)
Skip blib/lib/DBI/Const/GetInfo/ODBC.pm (unchanged)
Skip blib/lib/DBI/ProfileDumper/Apache.pm (unchanged)
Skip blib/lib/DBD/File/Roadmap.pod (unchanged)
Skip blib/arch/auto/DBI/Driver.xst (unchanged)
Skip blib/lib/DBD/File.pm (unchanged)
Skip blib/lib/DBI/Util/CacheMemory.pm (unchanged)
Skip blib/lib/DBD/NullP.pm (unchanged)
Skip blib/lib/DBI/ProfileSubs.pm (unchanged)
Skip blib/arch/auto/DBI/dbi_sql.h (unchanged)
Skip blib/lib/DBD/File/HowTo.pod (unchanged)
Skip blib/lib/DBD/Gofer.pm (unchanged)
Skip blib/arch/auto/DBI/dbivport.h (unchanged)
Skip blib/arch/auto/DBI/dbd_xsh.h (unchanged)
Skip blib/lib/DBI/DBD/SqlEngine/HowTo.pod (unchanged)
Skip blib/arch/auto/DBI/dbixs_rev.h (unchanged)
Skip blib/lib/DBD/Gofer/Transport/Base.pm (unchanged)
Skip blib/lib/DBD/Gofer/Transport/corostream.pm (unchanged)
Skip blib/lib/DBI/FAQ.pm (unchanged)
Skip blib/lib/DBD/Gofer/Policy/rush.pm (unchanged)
Skip blib/lib/DBI/SQL/Nano.pm (unchanged)
Skip blib/lib/DBI/Const/GetInfo/ANSI.pm (unchanged)
Skip blib/lib/DBI/Gofer/Request.pm (unchanged)
Skip blib/lib/DBD/Gofer/Transport/stream.pm (unchanged)
Skip blib/lib/DBD/Gofer/Policy/classic.pm (unchanged)
Skip blib/lib/DBI/Const/GetInfoReturn.pm (unchanged)
Skip blib/lib/DBD/Gofer/Policy/Base.pm (unchanged)
Skip blib/lib/DBI.pm (unchanged)
Skip blib/lib/DBI/Gofer/Serializer/Storable.pm (unchanged)
Skip blib/lib/DBI/Gofer/Transport/stream.pm (unchanged)
Skip blib/lib/DBD/Sponge.pm (unchanged)
Skip blib/lib/DBD/Gofer/Policy/pedantic.pm (unchanged)
Skip blib/lib/DBI/W32ODBC.pm (unchanged)
Skip blib/lib/DBI/DBD/SqlEngine/Developers.pod (unchanged)
Skip blib/lib/DBI/Gofer/Transport/pipeone.pm (unchanged)
Skip blib/lib/DBD/Gofer/Transport/null.pm (unchanged)
Skip blib/lib/Bundle/DBI.pm (unchanged)
Skip blib/lib/DBD/File/Developers.pod (unchanged)
Skip blib/lib/DBI/Profile.pm (unchanged)
Skip blib/lib/DBI/ProfileDumper.pm (unchanged)
Skip blib/lib/DBI/ProxyServer.pm (unchanged)
Skip blib/lib/DBI/Gofer/Serializer/Base.pm (unchanged)
Skip blib/arch/auto/DBI/dbipport.h (unchanged)
Skip blib/lib/DBI/Gofer/Execute.pm (unchanged)
Skip blib/lib/DBI/DBD.pm (unchanged)
Skip blib/lib/DBI/DBD/SqlEngine.pm (unchanged)
Skip blib/lib/Win32/DBIODBC.pm (unchanged)
Skip blib/lib/DBI/PurePerl.pm (unchanged)
Skip blib/lib/DBD/ExampleP.pm (unchanged)
Skip blib/lib/DBI/ProfileData.pm (unchanged)
        xlc_r -q32 -c    -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE 
-qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT 
-qlanglvl=extended -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong -O    
-DVERSION=\"1.631\"  -DXS_VERSION=\"1.631\"  
"-I/usr/opt/perl5/lib/5.10.1/aix-thread-multi/CORE"   Perl.c
/bin/sh: xlc_r:  not found.
make: 1254-004 The error code from the last command is 127.


Stop.

# make test                             --- Step 5

        xlc_r -q32 -c    -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE 
-qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT 
-qlanglvl=extended -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong -O    
-DVERSION=\"1.631\"  -DXS_VERSION=\"1.631\"  
"-I/usr/opt/perl5/lib/5.10.1/aix-thread-multi/CORE"   Perl.c
/bin/sh: xlc_r:  not found.
make: 1254-004 The error code from the last command is 127.


Stop.



________________________________
Thanks & Regards,
Karthikeyan Paramasivan
E-mail:Karthi_Keyan01<mailto:karthi_keya...@infosys.com>|Mobile: +91-9994989217

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are 
not
to copy, disclose, or distribute this e-mail or its contents to any other 
person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken
every reasonable precaution to minimize this risk, but is not liable for any 
damage
you may sustain as a result of any virus in this e-mail. You should carry out 
your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this 
e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Reply via email to