On Sun, Jul 29, 2007 at 04:25:37PM -0700, carlos brown wrote:

> configure: error: no acceptable C compiler found in $PATH
> See `config.log' for more details.
> ------------------------------------------------------------------------
> 
> i have installed:
> gcc2
> gcc2core
> gcc2corert
> gcc2g++
> gcc2g++rt
> gcc2objc
> gcc2objcrt
> gcc2rt
> gcc3
> gcc3core
> gcc3corert
> gcc3g++
> gcc3g++rt
> gcc3rt

What are these things?  None of those packages are part of
OpenSolaris.  The only packages you need are SUNWgcc and
SUNWgccruntime; both are part of the Developer metacluster if you have
Solaris Express, or the SFW consolidation if you're using something
else (ask your vendor!).  If you're using Solaris Express, add
/usr/sfw/bin to your path (as others have pointed out):

(In csh/tcsh)

setenv PATH "$PATH:/usr/sfw/bin"

(In bash/sh/ksh)

PATH=$PATH:/usr/sfw/bin

Note that you can make this change permanent by editing your
.profile/.bashrc/.login or similar files (the exact file to edit
depends on the shell you use).  Consult the man page appropriate to
your shell - that would probably be one of sh(1), ksh(1), bash(1),
csh(1), or tcsh(1).

If you have installed the Studio compilers and would prefer to use
them instead, they are most likely located in /opt/SUNWspro/bin or
/opt/SUNWspro/SS11/bin (depending on how you installed them).  In that
case, add that directory to your path as well.  In either case,
however, you most likely want to add /usr/sfw/bin to your path.

> tvtime like dont run in solaris but i know that zapping, yes.

I'm afraid I don't understand.  If this program does not support
Solaris at all, what good will it do to compile it?  Or is the only
problem that it can't find your C compiler?

-- 
Keith M Wesolowski              "Sir, we're surrounded!" 
FishWorks                       "Excellent; we can attack in any direction!" 

Reply via email to