Re: esql compile error. esql[952]: cc: not found.



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@xxxxxxxx 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@xxxxxxxx
http://www.iiug.org/mailman/listinfo/informix-list

.



Relevant Pages

  • Re: Fwd: DBD::Informix A configuration failure
    ... Your previous subject line was 'problem install DBD Informix'. ... > perl Makefile.PL ... > Configuring IBM Informix Database Driver for Perl Version 2003.04 ... Perl doesn't think your compiler handles prototypes. ...
    (perl.dbi.users)
  • Re: Fwd: DBD::Informix A configuration failure
    ... > Dear Jonathan, ... > I use perl 5.8.0 from my redhat distribution. ... It's still pretty unlikely that the C compiler for ... > Testing whether your Informix test environment will work... ...
    (perl.dbi.users)
  • Re: DBD::Informix Build Error On 64bit AIX 5.2
    ... command line is screwing up something that Perl itself is relying on. ... > 5.2 using the IBM vac C compiler. ... > Configuring IBM Informix Database Driver for Perl DBI Version 2005.01 ...
    (perl.dbi.users)
  • Re: DBD::Informix esqltest failure
    ... > on esqltest with an undefined symbol. ... Informix version is 9.40.HC5. ... I'm using the hp ANSI C compiler. ... Given that the Perl you are using was compiled with the HP compiler, ...
    (perl.dbi.users)
  • Re: Fwd: DBD::Informix A configuration failure
    ... Perl doesn't think your compiler handles prototypes. ... Testing whether your Informix test environment will work... ... >> problems with the test program, you will need to revisit this ...
    (perl.dbi.users)