Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / Informix Topics / February 2008

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kermada - 21 Feb 2008 20:00 GMT
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.

Thanks,
Dave
Carsten Haese - 21 Feb 2008 20:12 GMT
> 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,

Signature

Carsten Haese
http://informixdb.sourceforge.net

kermada - 21 Feb 2008 20:26 GMT
> > I'm getting the esql[952]: cc:  not found. error on AIX
> > when trying to compile any *.ec program.
[quoted text clipped - 17 lines]
> --
> Carsten Haesehttp://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
Art S. Kagel (Oninit LLC) - 21 Feb 2008 21:14 GMT
>  

You are using GNU C (gcc) on AIX, but the esql script is passing
arguments that are for the native AIX C compiler, xlc (which is usually
installed with a link to it named cc for compatibility).  Make a copy of
$INFORMIXDIR/bin/esql  and modify it to remove the -b option it's
passing to $(CC).  Then either put the new script earlier in your path
or rename esql and replace it with your modified one.

Art S. Kagel
Oninit

>>    
>>> I'm getting the esql[952]: cc:  not found. error on AIX
[quoted text clipped - 26 lines]
>
> Dave
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.