Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'cvs install good under csh shell' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
cvs install good under csh shell
Authored by: Velociped on Jan 04, '02 10:10:36AM

 

Two quick comments...

I am not sure what caused your unsuccessful compile the first time through, but your default/login shell should make no difference. Not only that, but the shell called by the "configure" script is the Bourne shell — not csh.

#! /bin/sh
 
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.

[ ... ]

Next, if you do summon csh within which to run the compile and make routines, the technique given for exiting at completion is not correct. Instead, simply issue an exit command following the execution. In effect, what has been done by following the instructions provided above is to spawn a bash shell — within a c shell — within a bash shell (assuming the latter to be the login/default shell).

As an example, witness the following little experiment...

computer (/Users/himay) $echo $SHELL
/bin/ksh
computer (/Users/#me#) $csh
[computer:~] #me#% tcsh
[computer:~] #me#% sh
computer% exit
[computer:~] #me#% exit
exit
[computer:~] #me#% exit
exit
computer (/Users/#me#) $echo $SHELL
/bin/ksh

More important to a successful compile of this (or any other system wide, service type software) is to be root# or issue the commands through sudo

HIM



[ Reply to This | # ]