On 10/29/2015 2:29 AM, Abhishek Mohanty1 wrote:
We are facing an issue while trying to install DBI-1.634.

Perl Version we use : v5.8.8 built for aix-thread-multi
Server Version:AIX IMCBLRDMZSR1237 1 6 00C6FD554C00

I downloaded *DBI-1.634* . It had 2 dependencies which i installed succesfullly ExUtils:MakeMaker and Test:Simple .
Now it throws error as

*Running Mkbootstrap for DBI ()*
*        chmod 644 "DBI.bs"*
* cc_r -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.634\" -DXS_VERSION=\"1.634\" "-I/usr/opt/perl5/lib/5.8.8/aix-thread-multi/CORE" Perl.c*
*/bin/sh: cc_r:  not found.*
*make: 1254-004 The error code from the last command is 127. *

I still searched for some more gcc related rpm and installed on the system .
RPMs i installed are:
libgcc-4.2.0-3
gcc-java-4.2.0-3
gcc-4.2.0-3
gcc-locale-4.2.0-3
gcc-c++-4.2.0-3
libgcj-4.2.0-3
gcc-gij-4.2.0-3

But still i am facing the same issue .
All forums have suggested that this issue is due to missing gcc compiler .

Please do let me know how do i resolve it or steps to install cc_r /gcc compiler.


the Perl supplied for AIX from IBM in */usr/opt/perl5* was compiled with IBM's XL-C compiler, which is a paid product. cc_r is normally in /usr/vac/bin or /usr/vacpp/bin if you've installed XLC or XLC++ respectively. While it may be possible to compile perl extensions with GCC, it likely requires jumping through hoops as the compiler options are /very/ different.








--
john r pierce, recycling bits in santa cruz

Reply via email to