Anyone have any ideas why or how to fix.
Thanks,
Dave
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
Oh, now that was the answer to that question.
Now, I'm getting "gcc: `-b' must come at the start of the command
line".
And gcc is there an compiles the hello.c program just fine.
Dave
- 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-l...@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
> Inform...@iiug.org
> http://www.iiug.org/mailman/listinfo/informix-list
On Feb 21, 2:12 pm, Carsten Haese <cars...@uniqsys.com> wrote: