* How to get RCS 5.6 on VMS 6.2?
@ 1998-08-14 4:00 Dr. Stephen S. Kerr
1998-08-14 4:00 ` Arne Vajh�j
0 siblings, 1 reply; 2+ messages in thread
From: Dr. Stephen S. Kerr @ 1998-08-14 4:00 UTC (permalink / raw)
I am trying, without much luck, to install RCS version 5.6 on VMS 6.2.
I have read some recent posts on dejanews that discuss some problems
that are similar to mine, and although this has helped, I still can't
create working versions of the executables. I'd be grateful for any
help!
Here are the details of the tools I'm using:
C compiler: DEC C V5.2-003 on OpenVMS Alpha V6.2
make: GNU Make version 3.74vms
diff, diff3: GNU diffutils version 2.7
The make executable was from www.openvms.digital.com/cd/RCS/.
The diff executables were from www.openvms.digital.com/cd/CVS_VMS/.
My first attempt to compile RCS in the source directory yielded
many error messages similar to the following:
$ make -f makefile.vms
cc /debug/noopt /nowarn /obj=ci.obj ci.c
typedef unsigned long u_long;
......................^
%CC-E-NOLINKAGE, In this declaration, "u_long" has no linkage and has
a prior declaration in this scope at line number 306 in file
SYS$COMMON:[SYSLIB]DECC$RTLDEF.TLB;1.
at line number 22 in file UD1:[KERR.LOCAL.RCS.RCS-5-6.SRC]VMSDIR.H;1
[...remaining messages deleted...]
These messages resembled those reported by Dave Boyd on 1998/6/29.
Klaus Kaempf's reply suggested removing the redundant typedefs from
conf.h. I did this, and also removed the offending typedefs from
vmsdir.h. I tried to make again, and things went fine until make
tried to compile the rcsutil.c file:
cc /debug/noopt /nowarn /obj=rcsutil.obj rcsutil.c
signal(sig[i], SIG_IGN) != catchsig
....................^
%CC-E-NOEQUALITY, In this statement, "signal(...)" and "catchsig"
may not be compared for equality or inequality.
at line number 497 in file UD1:[KERR.LOCAL.RCS.RCS-5-6.SRC]RCSUTIL.C;1
make-3_74-19951218.axp_exe;4: *** [rcsutil.obj] Error 0x10b91262
I wasn't sure what to do about this. In desperation I cast both
of these values to (signal_type), just to get rcsutil.c to compile.
Again, make proceeded without trouble until until it tried to compile
vmsfunctions.c:
cc /debug/noopt /nowarn /obj=vmsfunctions.obj vmsfunctions.c
u_long d_fileno; /* file number of entry */
........^
%CC-E-MISSINGTYPE, Missing type specifier or type qualifier.
at line number 27 in file UD1:[KERR.LOCAL.RCS.RCS-5-6.SRC]VMSDIR.H;2
[...and a couple of similar error messages...]
So it appeared vmsfunctions.c needed the typedefs in vmsdir.h after all.
I restored the old vmsdir.h and tried again. vmsfunctions.c compiled,
but the first link failed:
link ci.obj,rcslex.obj,rcssyn.obj,rcsgen.obj,rcsedit.obj,rcskeys.obj,
rcsmap.obj,rcsrev.obj,rcsutil.obj,rcsfnms.obj,partime.obj,maketime.obj,
rcskeep.obj,rcsfcmp.obj,vmsfunctions.obj ,com:c/opt /exe=ci.exe
%LINK-F-OPENIN, error opening COM:[KERR.LOCAL.RCS.RCS-5-6.SRC]C.OPT; as
input
-RMS-F-DEV, error in device name or inappropriate device type for operation
make-3_74-19951218.axp_exe;4: *** [ci.exe] Error 0x1064109c
At this point, I gave up.
Can anybody tell me what I need to do to get RCS 5.6 to compile and link
on my system?
Regards,
Stephen Kerr
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to get RCS 5.6 on VMS 6.2?
1998-08-14 4:00 How to get RCS 5.6 on VMS 6.2? Dr. Stephen S. Kerr
@ 1998-08-14 4:00 ` Arne Vajh�j
0 siblings, 0 replies; 2+ messages in thread
From: Arne Vajh�j @ 1998-08-14 4:00 UTC (permalink / raw)
To: Dr. Stephen S. Kerr
Dr. Stephen S. Kerr wrote:
> I am trying, without much luck, to install RCS version 5.6 on VMS 6.2.
> I have read some recent posts on dejanews that discuss some problems
> that are similar to mine, and although this has helped, I still can't
> create working versions of the executables.
> Here are the details of the tools I'm using:
>
> C compiler: DEC C V5.2-003 on OpenVMS Alpha V6.2
> make: GNU Make version 3.74vms
> diff, diff3: GNU diffutils version 2.7
> Can anybody tell me what I need to do to get RCS 5.6 to compile and link
> on my system?
I posted what is attached below back in march. It may be of interest for
you (if you hav eor can install the backport library).
Arne
==========================================================================
I tried getting out-of-the-box RCS 5.7, DIFFUTILS 2.7 and
PATCH 2.5 to work with the new 7.x C RTL with a minimum
of changes.
And it actually did.
All the changes I made are available at:
ftp://ftp.hhs.dk/pub/vms/tmp/rcskit.zip
Note:
- it is only tested with VMS Alpha 7.1 and DEC C 5.6
- I expect it to work with 7.1 both VAX and Alpha and
6.2 VAX and Alpha with the backport library installed
and any DEC C version supporting the new C RTL, but I have
not tested it
- there are undobtetly features that does not work (see below)
I have tested:
rcs -i
rcs -i -m
rlog
ci
ci -r
co
co -l
co -r
(diff as used by RCS)
diff -c (single file)
patch -i
But all the rest I have not tested. In particulat I have added
some dummy functions VMS.C, so I am certain that something does
not work.
There is no guarantee for anything, but here it is. I hope
that someone will find use for it. If you correct some bugs
(f.ex. replace the dummy functions with actual functions), then
feel free to drop me an email.
The best would ofcourse be if this and some of the stuff from
the complete ports of older versions actually got merged into
the out-of-the-box kits from GNU.
Arne
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-08-14 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-14 4:00 How to get RCS 5.6 on VMS 6.2? Dr. Stephen S. Kerr
1998-08-14 4:00 ` Arne Vajh�j
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox