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: outofcontrol on Jan 03, '02 10:32:10PM
I just installed the latest cvs-1.11 as per the instructions and had no problem. No problem that is after I set the correct shell. If I am not mistaken OS X uses tcsh as the default shell, and these cvs install instructions are for csh. So simply type 'csh' before following the commands and then return to your shell with tcsh or bash if you use that shell as I do. Here are the instructions that can be cut and pasted into your shell to install cvs-1.11 for you. Be sure you have downloaded the tarball and uncompressed it first, then cd into the cvs-1.11 directory root before you cut and paste these instructions.
setenv LDFLAGS '-framework Kerberos';
setenv CFLAGS '-O3 -I/usr/include/gssapi/';
./configure \
--prefix=/usr \
--localstatedir=/private/var \
--sysconfdir=/private/etc \
--mandir=/usr/share/man \
--infodir=~/.Trash \
--with-gssapi=/usr \
make -j10
sudo make install
texi2html -split_node ./doc/cvsclient.texi;
texi2html -split_node ./doc/cvs.texinfo;
mv ./doc/*.html /Developer
Note: I have put bash as the last line in the code, you will want to put whatever your current shell is instead.

Hope this helps.

[ Reply to This | # ]
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
computer (/Users/#me#) $csh
[computer:~] #me#% tcsh
[computer:~] #me#% sh
computer% exit
[computer:~] #me#% exit
[computer:~] #me#% exit
computer (/Users/#me#) $echo $SHELL

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


[ Reply to This | # ]