I think there's at least a third possibility (if not more):
- there is a compiler and it may even be called cc,
but the PATH environment variable is not set correctly,
so this existing compiler is not found.
- so you'd need to find out, whether there is a compiler,
where it is and what its name is. Then, besides fixing
a possible name problem, fix the PATH as well.
[ It may well be, that on AIX the C-compiler is optional,
and possibly even costs additional money. ]
Regards,
Martin
--
Martin Fuerderer
IBM Informix Development Munich, Germany
Information Management
IBM Deutschland GmbH
Chairman of the Supervisory Board: Hans Ulrich Märki
Board of Management: Martin Jetter (Chairman), Christian Diedrich,
Matthias Hartmann, Thomas Fell, Christoph Grandpierre, Michael Diemer
Corporate Seat: Stuttgart, Germany; Reg.-Gericht: Amtsgericht Stuttgart,
HRB-Nr.: 14 562 WEEE-Reg.-Nr. DE 99369940
informix-list-bounces@iiug.org wrote on 21.02.2008 21:12:20:
> On Thu, 2008-02-21 at 12:00 -0800, kermada wrote:
> > I'm getting the esql[952]: cc: not found. error on AIX
> > when trying to compile any *.ec program.
> > Did a hello world and it gets the error
> >
> > Anyone have any ideas why or how to fix.
>
> Two possibilities:
>
> 1) You don't have a C compiler.
>
> 2) You have a C compiler, but it's not called "cc".
>
> Solution to 1: Install a C compiler.
>
> Solution to 2: Set the INFORMIXC environment variable to the correct
> name of your C compiler.
>
> HTH,
>
> --
> Carsten Haese
> http://informixdb.sourceforge.net
>
>
> _______________________________________________
> Informix-list mailing list
> Informix-list@iiug.org
> http://www.iiug.org/mailman/listinfo/informix-list