Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Install CVS on SunOS 10

10 views
Skip to first unread message

Anoop

unread,
Sep 1, 2006, 1:26:39 PM9/1/06
to
Hi,

We have a new SunOS, intel box (SunOS 5.10 Generic i86pc i386 i86pc).

I am trying to configure cvs (as a client) on this box. First off, I
expected cvs to be pre-installed, but it was not. The way I checked
this is by trying to find any file named cvs. Found none. Is this the
correct way to check for cvs.

So I went on to
http://download.savannah.gnu.org/releases/cvs/binary/stable/x86-sunos/
and downloaded cvs-1.11.20-SunOS-5.8-i386.gz.

Then did a gunzip on the above file - got this
cvs-1.11.20-SunOS-5.8-i386
Then I ran this command.. (there was no readme)
./cvs-1.11.20-SunOS-5.8-i386

But I get this o/p:
# ls -l
-rwxr--r-- 1 root root 3126176 Sep 1 13:22
cvs-1.11.20-SunOS-5.8-i386
# ./cvs-1.11.20-SunOS-5.8-i386
Usage: cvs-1.11.20-SunOS-5.8-i386 [cvs-options] command
[command-options-and-arguments]
where cvs-options are -q, -n, etc.
(specify --help-options for a list of options)
where command is add, admin, etc.
(specify --help-commands for a list of commands
or --help-synonyms for a list of command synonyms)
where command-options-and-arguments depend on the specific command
(specify -H followed by a command name for command-specific help)
Specify --help to receive this message

The Concurrent Versions System (CVS) is a tool for version control.
For CVS updates and additional information, see
the CVS home page at http://www.cvshome.org/ or
Pascal Molli's CVS site at
http://www.loria.fr/~molli/cvs-index.html


What should I give so that I can just install the CVS client. (I have
the repository server on another server and only need to checkout code
from this server)

Tried the same with cvs-1.11.21-SunOS-5.8-i386.gz with same results..

Also tried to compile from source - but after running ./configure
running into errors when running make. Will post more error details
once I am sure I need to go this route.

Thanks,
Anoop

Larry Jones

unread,
Sep 1, 2006, 2:06:47 PM9/1/06
to Anoop, info...@nongnu.org
Anoop writes:
>
> Then did a gunzip on the above file - got this
> cvs-1.11.20-SunOS-5.8-i386
> Then I ran this command.. (there was no readme)
> ./cvs-1.11.20-SunOS-5.8-i386

Sorry, the README files got lost somewhere along the way. That file is
"the" CVS executable -- it can be a client, a server, or run standalone.
All you need to do is rename it to "cvs" (not technically neecessary,
but certainly more convenient than typing the original name;
alternatively, you can keep the existing name and create a link to it)
and move it to a binaries directory (/usr/local/bin or anywhere else you
like).

-Larry Jones

Years from now when I'm successful and happy, ...and he's in
prison... I hope I'm not too mature to gloat. -- Calvin


Anoop

unread,
Sep 1, 2006, 4:44:05 PM9/1/06
to

Thanks Larry.

So if this is the executable then its great - I can use this to
checkout code.

I am trying this now:

I set up my CVSROOT as follows:

weblogic ~ echo $CVSROOT
:pserver:aku...@x.com:/usr/local/cvsroot
weblogic ~ cvs login
Logging in to :pserver:aku...@x.com:2401/usr/local/cvsroot
CVS password:
cvs [login aborted]: connect to x.com:2401 failed: Connection refused

Normally when we connect, we connect using this string:
:ssh:aku...@x.com:/usr/local/cvsroot

But when I tried using ssh instead of pserver - I get errors: ssh not
recognized.

So I am thinking the port is wrong: 2401.

Any thoughts?

Thanks again,
Anoop

Thanks,
Anoop

Anoop

unread,
Sep 1, 2006, 6:19:58 PM9/1/06
to


Actually, please ignore my previous email. I have been able to figure
out - I needed to use :ext: and enable ssh authentication without
password. Now it works like a charm. Thanks a ton for all who helped
and considered helping.

Anoop

Jason Brown

unread,
Sep 1, 2006, 6:22:23 PM9/1/06
to Anoop, info...@nongnu.org
Not that I'm one of the guru's, but hit this myself a while back and it was a
pretty straightforward solution.

CVS doesn't 'talk' ssh natively, it was mostly an add-on and as far as I can
tell all recent versions don't recognize nonstandard ports. But you're not
out of luck--ssh is smart.

edit ~/.ssh/config and add:
Host [abbreviation]
Hostname [x.com]
User [myuserid]
Port [myport]

setenv CVS_RSH=ssh
setenv CVS_ROOT=:ext:[abbreviation]:[repos]

cvs ...you know the rest. There's probably actually a FAQ somewhere on this.

-Jason-

> _______________________________________________
> info-cvs mailing list
> info...@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/info-cvs

Anoop

unread,
Sep 1, 2006, 8:46:46 PM9/1/06
to


Thank you Jason... That is exactly what I am doing, but I do not do
anything other than your last 2 lines:

> setenv CVS_RSH=ssh
> setenv CVS_ROOT=:ext:[abbreviation]:[repos]

The .ssh/config apparently seems no required. Coz it works perfectly
without that.

best regards,
-Anoop

0 new messages