To my knowledge no it is not installed. I do a search for gcc system
wide and it finds nothing. It does find 'cc'. I am trying to install
from src file from gcc site.

Kelly

Don Pandori wrote:

>Is GCC installed? From the output below it looks as if the configure
>script is finding the default compiler (which isn't really a compiler on
>Sun).
>
>Don
>
>Kelly wrote:
>
>
>
>>This is what I get when I try to configure 'GCC' for installation.
>>
>>Any help?
>>
>># ./configure
>>loading cache ./config.cache
>>checking host system type... i386-pc-solaris2.9
>>checking target system type... i386-pc-solaris2.9
>>checking build system type... i386-pc-solaris2.9
>>checking for a BSD compatible install... ./install-sh -c
>>/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.
>>#
>>
>>
>>
>>
>>
>>>First step is to make sure that gcc is installed. It isn't installed by
>>>default on a Solaris 9 build. You can get it from
>>>http://sunfreeware.com. I'd recommend the UUNET or SprintLink mirror
>>>for downloads. You should probably download and install GCC, libiconv
>>>and OpenSSL. That should get you what you need for compilers, etc.
>>>
>>>For most build that I have done on Solaris, your best bet is to set your
>>>path like this:
>>>
>>>PATH=/usr/local/bin:/usr/ccs/bin:${PATH}
>>>export PATH
>>>
>>>This also *assumes* you're in sh, ksh or bash.
>>>
>>>That should take care of the compile.
>>>
>>>Good luck!
>>>
>>>Don
>>>
>>>
>>>Kelly wrote:
>>>
>>>
>>>
>>>
>>>
>>>>I have gotten past this part and now the install is telling me the c
>>>>compiler cannot create executables. It does find the 'cc' but it does
>>>>not find the 'gcc'.
>>>>
>>>>Any thoughts?
>>>>
>>>>
>>>>Kelly
>>>>
>>>>
>>>>
>>>>Edvard Tuinder wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>According to Kelly:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>Hey Guys,
>>>>>>
>>>>>>I have upgraded my server and I have also went with a new OS for the
>>>>>>server. I am running Solaris 9 having previously used Mandrake
>>>>>>
>>>>>>
>>>>>>
>>>>>>

>>9.1. I
>>
>>
>>
>>
>>>>>>am working on the new server and still have the old box running. My
>>>>>>problem is I am trying to install BIND 9.3 on the new Solaris 9
>>>>>>
>>>>>>
>>>>>>
>>>>>>

>>server.
>>
>>
>>
>>
>>>>>>I am running BIND 9.2.2 on the old Mandrake box. I am having a
>>>>>>
>>>>>>
>>>>>>
>>>>>>

>>problem
>>
>>
>>
>>
>>>>>>with the install right from the start. I have downloaded the src and
>>>>>>unpacked it. It is now in a directory called BIND9.3.0. I cd into
>>>>>>
>>>>>>
>>>>>>
>>>>>>

>>the
>>
>>
>>
>>
>>>>>>directory and enter ./configure.
>>>>>>
>>>>>>It works until it says: 'checking for AR... no'
>>>>>>
>>>>>>Configure: error:
>>>>>>ar program not found. Please fix your PATH to the directory in
>>>>>>
>>>>>>
>>>>>>
>>>>>>

>>which it
>>
>>
>>
>>
>>>>>>resides. Or set AR in the environment with the full path to ar.
>>>>>>
>>>>>>I have no idea what 'ar' is. Anyone have any help for me?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>ar is a tool needed to create libraries and such. On a solaris system
>>>>>it is typically located in /usr/ccs/bin, so add this directory to your
>>>>>PATH variable. If ar does not exist there, check whether the SUNWbtool
>>>>>package is installed.
>>>>>
>>>>>-Ed
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>

>>
>>
>>Kelly
>>
>>
>>
>>
>>
>>
>>

>
>
>
>
>
>
>