Solaris compiler setup ?

David Holmes david.holmes at oracle.com
Wed Dec 5 21:52:58 PST 2012


On 6/12/2012 3:34 PM, Tim Bell wrote:
> On 12/05/12 20:45, David Holmes wrote:
>>
>> Are you on Solaris 11? Send me a copy of your /usr/bin/which script.
>
> /usr/bin/which has not changed in Solaris 11, and in fact is the same as
> on the OpenSolaris source browser:
>
> http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/which/which.csh
>
>
> On line 18 I see it does:
>
> if ( -r ~/.cshrc && -f ~/.cshrc ) source ~/.cshrc
>
>
> Could lead to confusion if user A does not even have a .cshrc and user B
> has one.
>
> Something in the .cshrc (or other scripts referenced from there) could
> be the source of the "`tty`: Ambiguous" noise in the output.

Yes - as I indicated on Solaris 10 this will potentially take you off 
into CDE land. My .cshrc contains:

###############################################################################
#
#                        CUE (Common User Environment)
#
#                                 ---------
#                                 ~/.cshrc
#                                 ---------
#
#                             C Shell Environment
#
#
#
#  NOTE:
#
#       - Do NOT edit this file!
#       - Personal modifications to the ENV must be made in 
${HOME}/.cshrc.user
#
#
###############################################################################
set CSHRC = "/usr/dist/pkgs/cue/env/std/Cshrc"

if ( -f $CSHRC && -r $CSHRC ) then
   source $CSHRC
else
   source ~/.cshrc.noncue
endif
###############################################################################

David
-----




> Tim
>
>
>



More information about the build-infra-dev mailing list