[mrtg] Re: 'Make' Error

Tim Kennedy sugarat at thunderhold.sugarat.net
Tue Oct 12 17:52:08 MEST 1999


Actually, the proper way to fix this is to edit the site.defs file in...
I can't remember the location off the top of my head.   Add the findutils
package and do a locate, or just `find / -name site.defs -print`.

Uncomment the section for HasGcc2, and comment out the SunC section.
Now Imake, and configure (and thus make) will use gcc by default as the
compiler, and you'll stop getting options errors with compiling in your
sun. (-Xc: invalid gcc option)

-Tim

On Tue, 12 Oct 1999, Yozo Toda wrote:

> 
> > It has cc in the /usr/ucb directory. I also installed gcc on the box. Is the
> > Sun C compiler different from cc ?
> 
> you have to pay for Sun C compiler and
> /usr/ucb/cc is a front end for Sun C compiler;
> you see the message
>     /usr/ucb/cc: language optional software package not installed. 
> if Sun C compiler is not installed.
> 
> add the path for gcc to your PATH environment variable,
> and remove the path /usr/ucb/.
> 
> -- yozo.
> 
> --
> * To unsubscribe from the mrtg mailing list, send a message with the
>   subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
> 

Timothy Kennedy
sugarat.net, Network Management Resources
http://www.sugarat.net

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list