info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Error compiling cvs on OpenVMS Alpha


From: Martin . Evans
Subject: RE: Error compiling cvs on OpenVMS Alpha
Date: Thu, 6 May 2004 14:40:44 +0100

Sorry Michael,

The patch error text,

bash-2.03$ cd cvs-1.12.5
bash-2.03$ unzip vms_patch.zip
Archive:  vms_patch.zip
  inflating: vms/fnmatch.h
  inflating: vms/ppwd.h
  inflating: cvs.patch
bash-2.03$
bash-2.03$
bash-2.03$ patch -icvs.patch
  Looks like a unified context diff.
File to patch: cvs.patch
Hunk #1 failed at line 1.
1 out of 1 hunks failed: saving rejects to cvs.patch.rej
patch: Memory mapping error: Bad file number
bash-2.03$


-----Original Message-----
From: Lemke, Michael IZ/HZA-IOP [mailto:address@hidden 
Sent: 30 April 2004 11:40
To: Evans, Martin; address@hidden; address@hidden
Subject: RE: Error compiling cvs on OpenVMS Alpha


Hi Martin,

seems to me you didn't apply the patch correctly.  Specially for 
version string I see

Index: vms/config.h
===================================================================
RCS file: /cvs/ccvs/vms/config.h,v
retrieving revision 1.26
diff -u -r1.26 config.h
--- vms/config.h        19 Mar 2003 21:13:31 -0000      1.26
+++ vms/config.h        29 Apr 2004 17:38:13 -0000
@@ -1,6 +1,7 @@
 /* config.h - OpenVMS/AXP specific configuration
               June 1995 - <address@hidden> */

+#define PACKAGE_STRING "Concurrent Versions System (CVS) 1.12.5"
 /* We only want to build the client */
 #define CLIENT_SUPPORT 1
 #undef SERVER_SUPPORT
@@ -13,6 +14,12 @@
 #define __VMS_VER   0
 #endif

+#define HAVE_GETHOSTNAME 1
+#define HAVE_MALLOC 1
+#define HAVE_REALLOC 1
+
+#define CVS_LSTAT lstat
+
 /* VMS is case insensitive */
 /* #define FOLD_FN_CHAR(c) tolower(c) */
....


And I don't know how to use patch on VMS.  I don't even have it there.

Michael

> -----Original Message-----
> From: Martin.Evans
> Sent: Friday, April 30, 2004 11:41 AM
> To: address@hidden
> Subject: RE: Error compiling cvs on OpenVMS Alpha
> 
> 
> Thanks Michael,
> 
> I'm still getting
> 
> <snip>
> 
>     (void) fputs (PACKAGE_STRING, stdout); ..................^
> %CC-E-UNDECLARED, In this statement, "PACKAGE_STRING" is not declared.
> at line number 62 in file
> DISK$DISK25:[SYSMGR.SMMARTIN.CVS-1_12_5.SRC]VERSION.C;1
> 
> </snip>
> 
> Have I applied the patch correctly?
> 
> I downloaded 1.12.5, copied patch.zip into the directory,
> unzipped and ran,
> "$patch <cvs.patch", when prompted for "File to patch:" I 
> entered the patch
> name again, is this correct?
> 
> Thanks in advance,
> 
> Martin.
> 
> -----Original Message-----
> From: Michael Lemke
> Sent: 29 April 2004 22:01
> To: Evans, Martin; address@hidden
> Subject: Re: Error compiling cvs on OpenVMS Alpha
> 
> 
> As promised, attached is a patch against tag cvs1-12-5 from the ccvs
> repository.
> It isn't pretty, just to get to work (with DEC C V5.7-004 on 
> OpenVMS Alpha 
> V7.2-1).
> I've always meant to clean it up and submit it but maybe now 
> someone else 
> can do it?
> 
> It works as a client (pserver) on an ODS-2 disk.  It does
> checkouts on 
> ODS-5 I believe but
> it doesn't take advantage of the case preservation.  1.12.5 
> is pre the 
> latest case preserving
> changes.  Presumably the latest versions can be much better 
> here.  It also 
> doesn't deal well
> with filenames illegal on VMS like configure.h.in and it 
> likes to create 
> new versions on update
> (also in [.CVS]).
> 
> Enjoy,
> Michael
> 
> On Thu, 29 Apr 2004 16:43:31 +0200, Lemke, Michael  IZ/HZA-IOP wrote:
> 
> > I've got one working (1.12.oldish), client that is.  There
> is more to
> > it than just fnmatch.h .  I'll have a look tonight.
> >
> > Michael
> >
> >
> > -----Original Message-----
> > From: Martin.Evans
> > Sent: Thursday, April 29, 2004 3:28 PM
> > To: address@hidden
> > Subject: Error compiling cvs on OpenVMS Alpha
> >
> >
> >
> > Can anyone help me with VMS?
> >
> > I Have Compaq C V6.2-003 on OpenVMS Alpha V7.2-1
> >
> > CVS version 1.11.55
> >
> > fnmatch.h is not on my system so compile is complaining.
> >
> > Regards,
> >
> > Martin.
> >
> >
> >
> >
> > 
> ----------------------------------------------------------------------
> > --------
> > The information in this Internet email is confidential and may be 
> > legally privileged. It is intended solely for the addressee. Access 
> > to this Internet email by anyone else is unauthorised.
> >
> > If you are not the intended recipient, any disclosure, copying, 
> > distribution or any action taken or omitted to be taken in
> reliance on
> > it, is prohibited and may be unlawful. When addressed to
> our clients any
> > opinions or advice contained in this Internet email are
> subject to the
> > terms and conditions expressed in any applicable governing
> ING terms of
> > business or client engagement letter.
> >
> > Authorised by the Dutch Central Bank and regulated by the Financial 
> > Services Authority for the conduct of UK business.
> >
> > Visit us at www.ing.com
> > 
> ----------------------------------------------------------------------
> > --------
> >
> >
> 
> 
> 
> --
> Using M2, Opera's revolutionary e-mail client: 
> http://www.opera.com/m2/
> 
> 
> 
> --------------------------------------------------------------
> ----------------
> The information in this Internet email is confidential and may be
> legally privileged. It is intended solely for the addressee. Access 
> to this Internet email by anyone else is unauthorised.
> 
> If you are not the intended recipient, any disclosure,
> copying, distribution or any action taken or omitted to be 
> taken in reliance on it, is prohibited and may be unlawful. 
> When addressed to our clients any opinions or advice 
> contained in this Internet email are subject to the terms and 
> conditions expressed in any applicable governing ING terms of 
> business or client engagement letter.
> 
> Authorised by the Dutch Central Bank and regulated by the
> Financial Services Authority for the conduct of UK business.
> 
> Visit us at www.ing.com
> --------------------------------------------------------------
> ----------------
> 
> 
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden http://mail.gnu.org/mailman/listinfo/info-cvs
> 


_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs


------------------------------------------------------------------------------
The information in this Internet email is confidential and may be 
legally privileged. It is intended solely for the addressee. Access 
to this Internet email by anyone else is unauthorised.

If you are not the intended recipient, any disclosure, copying, distribution or 
any action taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful. When addressed to our clients any opinions or advice contained 
in this Internet email are subject to the terms and conditions expressed in any 
applicable governing ING terms of business or client engagement letter.

Authorised by the Dutch Central Bank and regulated by the Financial Services 
Authority for the conduct of UK business.

Visit us at www.ing.com
------------------------------------------------------------------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]