1834175 Members
2257 Online
110064 Solutions
New Discussion

Need Help !!!

 
daredevil
Advisor

Need Help !!!

Hi,

I have to configure CVS by today morning...this is first time I'm using CVS

Can someone give me full detail installation guide...???

I'm using HPUX 10.20 7** ..I have downloaded the gzip file cvs homepage.. (cvs-1.11.5)

I have no programming skills

Can someone help me...need to be done urgently(last minute request)

good answer will be rewarded

TiA
DD
nothing to lose
32 REPLIES 32
Shannon Petry
Honored Contributor

Re: Need Help !!!

Direct from the proverbial horses mouth...

regards,
Shannon
Microsoft. When do you want a virus today?
Ravi_8
Honored Contributor

Re: Need Help !!!

Hi,

unzip the file
#gunzip

and tell us the file format (depot or tar or cpio ...)
never give up
Paul Sperry
Honored Contributor

Re: Need Help !!!

First of all you need to have gcc version 3.2 installed

/usr/contrib/bin/gunzip cvs-1.11.5-ss-11.00.tar.gz

tar -xvf cvs-1.11.5-ss-11.00.tar

cd cvs-1.11.5

Run "configure" to generate the Makefiles

Run "gmake" in the top level dir.

Use "gmake -n install" to check the defaults, then "make install



To Test:
=========
export CVSROOT=':pserver:anonymous@anoncvs.gnome.org:/cvs/gnome'
cvs login
cvs -z3 checkout -r gnome-libs-1-0 -d gnome-libs-stable gnome-libs
daredevil
Advisor

Re: Need Help !!!

Hi,

Thanks for the info...

Can I download the HPUX 11.00 gcc3.2 from hpux.cs.utah.edu archive ??

TIA
DD
nothing to lose
Paul Sperry
Honored Contributor

Re: Need Help !!!

yes
http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.2/

gcc-3.2
Gnu C, C++ and Fortran compilers and binutils. This is a combination of GNU's gcc-core, gcc-g++, gcc-g77 and binutils source packages, but with the non-HP-UX source code removed to reduce the overall size of the download. Compulsory pre-requisites for building or running this package now include GNU make, GNU bison and GNU flex. If you are you using an IPF platform, please build and/or install the gccipf package instead - this gcc package will NOT work on the IPF platform.

Author: Cygnus Development Team
Home: http://gcc.gnu.org/
Installation Tree: /usr/local
Dependencies: bison flex make
Other Versions: 3.1


Man Page

Packages Available: (help!)
HP-UX 11.00 PA-RISC Binary Depot (gzipped) [HTTP] [FTP]
(Size: 19.36 MB, Archived: 17 Aug 2002)

HP-UX Source Code Tar Image (gzipped) [HTTP] [FTP]
(Size: 20.91 MB, Archived: 17 Aug 2002)


Shannon Petry
Honored Contributor

Re: Need Help !!!

From www.cvshome.com, you can download the pre-compiled binary. No need to gcc anything that way.

The same binary should work in HP-UX 11.x just as it does in version 10.20.

Regards,
Shannon
Microsoft. When do you want a virus today?
daredevil
Advisor

Re: Need Help !!!

hi,

after I gunzip -d it become .depot
but when I try to swinstall -s it returm error..
Could not contact host "gcc-3.2-sd-11.00.depot". makesure the hostname is correct

What should I do now ...

TIA
DD
nothing to lose
Paul Sperry
Honored Contributor

Re: Need Help !!!

swinstall -x autoreboot=true -x patch_match_target=true -s gcc***.depot
daredevil
Advisor

Re: Need Help !!!

ok .

I'll follow Shahnon's way ..so I just download the HPUX 10.20 zip file (does it contain the binary & install file in it ???)

this is the website http://www.cvshome.org/dev/codeunix.html

and what next...

I have to run the configure command ??

TIA
DD
nothing to lose
H.Merijn Brand (procura
Honored Contributor

Re: Need Help !!!

Precompiled binaries for 10.20, including a complete gcc-3 is available on my ITRC site HTTPS://www.beepz.com/personal/merijn/ or http://www.cmve.net/~merijn/

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Shannon Petry
Honored Contributor

Re: Need Help !!!

If you read the binary install instructions from www.cvshome.com, you will see that you only need to copy the file to /usr/bin and make sure that permissions are r-xr-xr-x.

Regards,
Shannon
Microsoft. When do you want a virus today?
daredevil
Advisor

Re: Need Help !!!

ok,


I have run the

1. gzip -d
2. tar -xvf
3. mv cvs /usr/bin

is this correct ??
what next... run the configure or make file


TIA
DD
nothing to lose
Shannon Petry
Honored Contributor

Re: Need Help !!!

No configure or make. It is a pre-compiled binary ready to run. Just type

% cvs

configure and make are used to build binary files.

Regards,
Shannon
Microsoft. When do you want a virus today?
daredevil
Advisor

Re: Need Help !!!

hi,


tried to do
cvs init
but it shows not found ??

TIA
DD
nothing to lose
Paul Sperry
Honored Contributor

Re: Need Help !!!

Shahnon's way
go to
http://www.cvshome.org/dev/codeunix.html
click on the 10.20 link
Unix: HP HP-UX B.10.20 A
that will start the download of this file.
download cvs-1.11.5-HP.gz
/usr/contrib/bin/gunzip cvs-1.11.5-HP.gz
chmod 555 cvs-1.11.5-HP
mv cvs-1.11.5-HP /usr/bin/cvs
your done!
Paul Sperry
Honored Contributor

Re: Need Help !!!

Did you rename cvs-1.11.5-HP to cvs?

Also check your $PATH

export PATH=$PATH:/usr/bin

then try your cvs command again.
Shannon Petry
Honored Contributor

Re: Need Help !!!

Okay, lets start from the beginning.


the file downloaded from cvshome.com is NOT a tar file, just a compressed binary.

So, download this file and save it somewhere on disk. Lets assume it's /tmp/cvs-1.11.5-HP.gz.

%=shell prompt commands so ignore this, but here are the remaining steps to install cvs.

% gzip -d /tmp/cvs-1.11.5-HP.gz
% mv /tmp/cvs-1.11.5-HP /usr/bin/cvs
% chmod 555 /usr/bin/cvs


This is all you have to do to have cvs up and running.

Now..... If your runing cshell, it will cache binary data. Just type:

% rehash

Which causes cshell to reload the cache. All other shells search the path every time an executable is loaded.

NOTE: If you do not have /usr/bin in your path, then your in trouble. Check your path with:

% echo $PATH

Make sure that /usr/bin is in the path.

Regards,
Shannon
Microsoft. When do you want a virus today?
daredevil
Advisor

Re: Need Help !!!

Hi,

I have

1. renamed the file name to cvs
2. chmod 555 cvs
3. export PATH=$PATH:/usr/bin


but when I try to run
cvs init
now I get execute permission denied


TIA
SRI
nothing to lose
Paul Sperry
Honored Contributor

Re: Need Help !!!

try

chown bin /usr/bin/cvs
chgrp bin /usr/bin/cvs
cd /usr/cvs
./cvs init
daredevil
Advisor

Re: Need Help !!!

Hi,

# ll cvs
-r-xr-xr-x 1 bin bin 2494792 Mar 7 02:52 cvs

I have change the owner and group but still get the same error

# cvs
sh: cvs: Execute permission denied.

or

# ./cvs
sh: ./cvs: Execute permission denied.


TIA
SRi
nothing to lose
Shannon Petry
Honored Contributor

Re: Need Help !!!

What do you get if you type:

% file /usr/bin/cvs



?

Shannon
Microsoft. When do you want a virus today?
daredevil
Advisor

Re: Need Help !!!

Hi,

I get

file /usr/bin/cvs
/usr/bin/cvs: PA-RISC2.0 shared executable dynamically linked -not stripped

TIA
SRI
nothing to lose
Shannon Petry
Honored Contributor

Re: Need Help !!!



Try to type in the full path to the binary then.

% /usr/bin/cvs

It sounds like /usr/bin is NOT in your path, which is a bigger problem than not being able to run cvs.

You can try to do this:

cp -p /etc/skel/.profile $HOME
cp -p /etc/skel/.login $HOME
cp -p /etc/skel/.cshrc $HOME

Then log out and back in again.

Try again to run just
% cvs

if it still requires a full path to the binary
% /usr/bin/cvs

Other issues are present. Such as...

Are you absolutely posotive this is 10.20?

% uname -a

produces what output?

% echo $PATH

produces what output?

Regards,
Shannon
Microsoft. When do you want a virus today?
daredevil
Advisor

Re: Need Help !!!


uname -a
HP-UX prscvs B.10.20 A 9000/778 2009336150 two-user license

# echo $PATH
/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/pd/bin:/usr/bin/X
11:/usr/contrib/bin/X11:/opt/upgrade/bin:/opt/hparray/bin:/opt/perf/bin:/sbin:/home/root
#

TIA
DD
nothing to lose