The problem is definitely that you are missing the compiler, cc_r, that was
used to build Perl.

It is not so clear that it is GCC that's missing.  You're on AIX, and the
IBM-provided compilers tend to have names with extensions like _r.  And
often names such as xlc_r.  These might conceivably be in /usr/vac/bin if
you have the software installed at all.

If you can't find cc_r and can't afford to get it, you may be able to get
away with faking it.  However, options such as -qnoansialias are going to
cause problems with most compilers other than the IBM ones.  AFAIK, GCC
won't support those options even on AIX.

Frankly, you may be best off rebuilding Perl yourself with a compiler of
your choosing, and then adding DBI and so on.


On Thu, Oct 29, 2015 at 2:29 AM, Abhishek Mohanty1 <amoha...@in.ibm.com>
wrote:

> Hello Team ,
>
> 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.
>
> Thanks
> Abhishek
>



-- 
Jonathan Leffler <jonathan.leff...@gmail.com>  #include <disclaimer.h>
Guardian of DBD::Informix - v2015.0826 - http://dbi.perl.org
"Blessed are we who can laugh at ourselves, for we shall never cease to be
amused."

Reply via email to