LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I install CVS? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-install-cvs-696449/)

michellepace 01-11-2009 02:24 AM

How do I install CVS?
 
Hi there,

MAC OS X 10.3.9 (Debian)

I do not have xTools installed, neither do I have the installation disk and nore do I have enough bandwidth to install a 1 GIG file of xTools. All I need is CVS.

Now, after downloading cvs-1.11.2.tar.gz I ran the following:

Code:

% tar xvzf cvs.1.11.2.tar.gz
% cd cvs-1.11.2
% ./configure --without-gssapi

And the following output was given:

Code:

creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... no
checking for prefix by checking for cvs... no
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

Question 1: I really just need cvs.. but I realise I need some kind of c compiler. Do I have to install ALL the tools I do not have (gawk, mawk, ... ,cc), or just gcc? and if so... how do I do this?

Question 2: I think I'm making rocket science out of something which must be more simple. Any suggestions?

Thank-you in advance,
Michelle

chakka.lokesh 01-11-2009 02:33 AM

execute the following command and post the output

Quote:

echo $PATH

knudfl 01-11-2009 10:55 AM

If you have a Debian system, the package 'cvs'
should be available in your package manager ( Synaptic )

or to be installed with the command
# 'apt-get install cvs'

http://packages.debian.org/lenny/cvs
A package for powerpc is included.
....
You only need 1 awk tool, "configure" is just testing,
which one to use.
'gcc' is needed for compiling, plus a few more tools.
( Probably : make, m4, autoconf, automake, libtool, bison )
....

arizonagroovejet 01-11-2009 11:04 AM

Quote:

Originally Posted by michellepace (Post 3404255)
MAC OS X 10.3.9 (Debian)

Can you elaborate on this? I've used every version of Mac OS X since 10.2 and I wasn't ware that Mac OS X 10.3 has anything at all to do with Debian.


Quote:

Originally Posted by michellepace (Post 3404255)
I do not have xTools installed...

See now, XTools is a Mac OS X thing. It sounds an awful lot like you are using Mac OS X and as such what you're trying to do has nothing to do with Linux. As such you will probably do better to seek help on a Mac forum such as http://forums.macosxhints.com/

You may want to look at MacPorts (http://www.macports.org/) which gives you an easy way to install lots of *nix type software. E.g.

$ sudo port install cvs

knudfl 01-11-2009 11:34 AM

# 1
Quote:

MAC OS X 10.3.9 (Debian)
When you write Debian, it could as well be Debian.

Sorry, if I misunderstood ......

michellepace 01-12-2009 01:00 AM

Thank-you all for your replies.

Yes, I'm sorry my mistake - 'Debian' should have said 'Darwin'.
Code:

% uname -a
Darwin Rosemary.mshome.net 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC  Power Macintosh powerpc

I ran the following which seemed to do the trick:
Code:

% apt-get update
% apt-get install cvs
% cvs -v
Concurrent Versions System (CVS) 1.11.17 (client/server)



However there is still one question I have. The man file of 'apt-get' reads:
update is used to resynchronize the package index files from their sources. The indexes of available packages are fetched from the location(s) specified in /etc/apt/sources.list
I cannot find the sources.list file. Neither do I have the 'apt' directory either:
Code:

%:/etc root# cd apt
  su: cd: apt: No such file or directory

QUESTION: Could this be because the man file is not accurate for Darwin? In which case I will move to the suggested forum. Thanks once again.

cheers Michelle


All times are GMT -5. The time now is 10:45 PM.