Re: make error: 127 for DBI module on AIX 5.2 (DBD::Informix)

Re: make error: 127 for DBI module on AIX 5.2 (DBD::Informix)

am 21.07.2006 00:25:40 von jonathan.leffler

------=_Part_17865_6432640.1153434340375
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 7/20/06, Jordan Smith wrote:
>
> I am attempting my first Perl module install to get my Informix-backed
> CGI site up and running. The CPAN.pm install failed because of some
> firewall issue so I have the tarball unpacked but the make command fails
> with this message:
>
> /bin/sh: cc_r not found
> 1254-004: error code 127
>
> We're running perl 5.8.2, the threaded version and AIX 5.2. No one in
> the department remembers installing Perl and how they did it or with
> what options.
> I am new to Unix, so I'm happy to get more system information if someone
> will tell me what they need, how to get it, etc.
>
> Any assistance would be greatly appreciated.


Most likely, your Perl was distributed with AIX - well, if it is in /bin or
/usr/bin, that is almost certainly true; if it is in /usr/local/bin or some
other location, maybe someone on your team did build it.

However it was built, you need to have the same compiler - cc_r - available
to you now. If the compiler is on the machine, fix your PATH. If it is not
on the machine, install it. If that is not possible, then you'll need to
get hold of a different C compiler and build and install your own copy of
Perl using that compiler, and then you can build and install DBI and
DBD::Informix.

--
Jonathan Leffler #include
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."

------=_Part_17865_6432640.1153434340375--