SUMMARY: installing gcc

From: Prabhat Karki (
Date: Tue Mar 07 2000 - 13:35:05 CST

My original question was
I get the following error after I downloaded the gcc file and try to configure it .

xanadu2$ ./configure /usr/local
Created "Makefile" in /tmp/gcc-2.95.1
/usr/ucb/cc: language optional software package not installed
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
xanadu2$ pwd

Any ideas?

The problem was I was trying to install gcc source code instead of the whole compiler package.
So first I down loaded the compiler package from the
then gunzip filename
then used pkgadd -d filename
to install.
it's 3 easy steps..

Thanks to all the responses!

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:04 CDT