[137] in The Cryptographic File System users list

home help back first fref pref prev next nref lref last post

Re: Trying to compile 1.4.0 on RH6.0

daemon@ATHENA.MIT.EDU (gg&ht forever)
Sun Jul 18 01:36:46 1999

From owner-cfs-users@nsa.research.att.com Sun Jul 18 05:36:45 1999
Return-Path: <owner-cfs-users@nsa.research.att.com>
Delivered-To: cfs-mtg@bloom-picayune.mit.edu
Received: (qmail 22884 invoked from network); 18 Jul 1999 05:36:45 -0000
Received: from unknown (HELO mail-green.research.att.com) (135.207.30.103)
  by bloom-picayune.mit.edu with SMTP; 18 Jul 1999 05:36:45 -0000
Received: from amontillado.research.att.com (amontillado.research.att.com [135.207.24.32])
	by mail-green.research.att.com (Postfix) with ESMTP
	id 0D89C1E013; Sun, 18 Jul 1999 01:36:48 -0400 (EDT)
Received: from nsa.research.att.com (majordomo@nsa.research.att.com [135.207.24.155])
	by amontillado.research.att.com (8.8.7/8.8.7) with ESMTP id BAA16612;
	Sun, 18 Jul 1999 01:36:42 -0400 (EDT)
Received: (from majordomo@localhost) by nsa.research.att.com (8.7.3/8.7.3) id BAA08052 for cfs-users-list; Sun, 18 Jul 1999 01:34:05 -0400 (EDT)
X-Authentication-Warning: nsa.research.att.com: majordomo set sender to owner-cfs-users@nsa.research.att.com using -f
Received: from mail-green.research.att.com (mail-green.research.att.com [135.207.30.103]) by nsa.research.att.com (8.7.3/8.7.3) with ESMTP id BAA08048 for <cfs-users@nsa.research.att.com>; Sun, 18 Jul 1999 01:34:03 -0400 (EDT)
Received: from mail.rdc1.tx.home.com (ha1.rdc1.tx.home.com [24.4.0.66])
	by mail-green.research.att.com (Postfix) with ESMTP id A1A6B1E008
	for <cfs-users@nsa.research.att.com>; Sun, 18 Jul 1999 01:34:30 -0400 (EDT)
Received: from home.com ([24.1.13.170]) by mail.rdc1.tx.home.com
          (InterMail v4.01.01.00 201-229-111) with ESMTP
          id <19990718053426.NSPG9024.mail.rdc1.tx.home.com@home.com>;
          Sat, 17 Jul 1999 22:34:26 -0700
Message-ID: <379166D5.C2A70A8F@home.com>
Date: Sat, 17 Jul 1999 23:32:05 -0600
From: gg&ht forever <sunix@home.com>
Reply-To: lighthouse@mypad.com
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Tom Dunigan ORNL 423-576-2522 <dunigan@cs.utk.edu>
Cc: cfs-users@nsa.research.att.com
Subject: Re: Trying to compile 1.4.0 on RH6.0
References: <199907121313.JAA02835@menkar.cs.utk.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-cfs-users@research.att.com
Precedence: bulk

Tom,

Thanks very much for the tips. It compiles on RH5.2 and 6.0.

Regards,
Scott

Tom Dunigan ORNL 423-576-2522 wrote:
> 
> I managed to get cfs in cfs.1.4.0.beta2 to compile and run on redhat 6.0.
> 
> 1.  in the Makefile I used
> CC=gcc
> COPT=-O2 -DPROTOTYPES=1
> 
> CFLAGS=$(COPT) -U__STDC__ -Dd_fileno=d_ino -I$(RINCLUDES)
> LIBS=
> COMPAT=
> RPCOPTS= -k -b
> 
> 2. apply Stervinou's patches to truerand.c
>    (see http://www.mit.edu:8008/bloom-picayune/cfs/)
> 
> ------------Patch begins-----------------
> 
> --- truerand.c  Sun Dec  7 06:16:36 1997
> +++ truerand.c  Mon Apr 19 01:42:39 1999
> @@ -110,7 +110,7 @@
>  interrupt()
>  {
>         if (count)
> -               longjmp(env, 1);
> +               siglongjmp(env, 1);
>         (void) signal(SIGALRM, interrupt);
>         tick();
>  }
> @@ -118,7 +118,7 @@
>  static unsigned long
>  roulette()
>  {
> -       if (setjmp(env))
> +       if (sigsetjmp(env,1))
>                 return count;
>         (void) signal(SIGALRM, interrupt);
>         count = 0;
> 
> ------------Patch ends--------------------
> 
> 3. after the make cfs fails, hack admproto_svr.c nfsproto_svr.c
>   to fix the proto for xdr_argument and xdr_result (add leading _ )

home help back first fref pref prev next nref lref last post