[Sunhelp] How do you add /usr/ucb to your PATH
Kevin Stevens
kevin_stevens at hotmail.com
Wed Oct 25 15:40:08 CDT 2000
You want to use the Sun make, which comes with the system, and install and
use the gnu gcc compiler, which doesn't; at least it isn't installed by
default. Make sure gcc is installed, and that you have a path to it. Make
sure that you can type "which gcc" and get a location (wherever you
installed it, mine is /usr/local/bin/gcc), and type "which make" and get the
response /usr/ccs/bin/make. If you don't get both of them found, you need
to fiddle with paths until you do.
Now you're ready to run ./configure, which should happily locate gcc and
proceed from there.
KeS
>From: "Glover, Duke" <duke.glover at verizon.com>
>Reply-To: sunhelp at sunhelp.org
>To: Greg <gonufer at yahoo.com>
>CC: sunhelp at sunhelp.org
>Subject: RE: [Sunhelp] How do you add /usr/ucb to your PATH
>Date: Wed, 25 Oct 2000 10:40:12 -0500
>
>Thank you for your response. I realized after I sent the Email that I left
>out a lot of pertinent information. As I'm sure you can tell I am new to
>this OS. My reason for wanting to do this is as follows: I am trying to
>install an application and the INSTALL file tells me I need to run
>./configure. Well, when I do this it tells me "checking for gcc... no"
>
>"checking for cc... no"
>
>"configure: error: no acceptable cc found in $PATH"
>
>So I did a find / -name cc -print and found cc in /usr/ucb. My assumption
>(I know what assuming does) was that the ./configure command can't find cc
>because it's not in the PATH and therefore I need to add it to the PATH.
>What am I doing wrong ?
>
>AtDhVaAnNkCsE,
>
>Duke Glover
>
>
>-----Original Message-----
>From: Greg [mailto:gonufer at yahoo.com]
>Sent: Tuesday, October 24, 2000 11:37 PM
>To: Glover, Duke
>Subject: Re: [Sunhelp] How do you add /usr/ucb to your PATH
>
>
> > I need to add /usr/ucb to my PATH. How can I do this ?
>
>You should _never_ add /usr/ucb to your PATH. That directory only
>contains deprecated commands intended to be used by Solaris 1.x
>programs running on Solaris 2.x in the compatability environment.
>If you accidentally use /usr/ucb/cc or /usr/ucb/ld when compiling
>programs you can end up with buggy executables. Are you _sure_
>you want to do that?
>
>-greg
>
>_______________________________________________
>SunHELP maillist - SunHELP at sunhelp.org
>http://www.sunhelp.org/mailman/listinfo/sunhelp
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
More information about the SunHELP
mailing list