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



That is basically what I feared. Thanks, though.

________________________________

From: Jonathan Leffler [mailto:jonathan.leffler@xxxxxxxxx]
Sent: Thursday, July 20, 2006 5:26 PM
To: Jordan Smith
Cc: dbi-users@xxxxxxxx
Subject: Re: make error: 127 for DBI module on AIX 5.2 (DBD::Informix)



On 7/20/06, Jordan Smith <josmith@xxxxxxxxxxx> 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 <jonathan.leffler@xxxxxxxxx> #include <disclaimer.h>
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."


Relevant Pages

  • Re: attempt to build 64 bit on Solaris fails
    ... > libraries needed to link with a 64-bit Tk. ... We were running a 32-bit version of Perl ... > Each section below is a summary of the commands used to install it. ...
    (comp.lang.perl.tk)
  • Re: attempt to build 64 bit on Solaris fails
    ... libraries needed to link with a 64-bit Tk. ... We were running a 32-bit version of Perl ... Each section below is a summary of the commands used to install it. ...
    (comp.lang.perl.tk)
  • RE: Make problem Building 64 bit Perl 5.8.8 from source on Solaris 10 with gcc 3.4.6
    ... Solaris 10 with gcc 3.4.6 ... Make problem Building 64 bit Perl 5.8.8 from source on ... INSTALL notes and have looked through the hints script. ... compiler or make any changes to the system directories. ...
    (perl.dbi.users)
  • Re: Dont get DBI module installed
    ... You need to build DBI with the same C compiler that was used to build the version of Perl ... Install the new Perl into /usr/local. ...
    (perl.dbi.users)
  • RE: Cant locate DBI.pm
    ... Install the Sun C compiler and try to continue from there ... ... This is perl, v5.6.1 built for sun4-solaris-64int ... sender of the delivery error by replying to this message, or notify us ...
    (perl.dbi.users)