Forward: Re: Arla problems at Linux

Artur Grabowski art at stacken.kth.se
Mon Mar 16 20:08:52 CET 1998


To: Artur Grabowski <art at stacken.kth.se>
Subject: Re: Arla problems at Linux
From: Ole Streicher <ole at ifh.de>
Date: Mon, 16 Mar 1998 19:32:28 +0100
Delivery-Date: Mon Mar 16 19:32:35 1998
In-Reply-To: <199803161700.SAA01539 at sundance.stacken.kth.se>
References: <199803161459.PAA10531 at pbaik9.ifh.de><199803161700.SAA01539 at sundance.stacken.kth.se>

Hallo Artur!

Artur Grabowski writes:
 > > Yes. I now changed the order in the Makefiles, and it compiles.
 > If you are sure that your fix is correct, some patches would be nice. :)

No problem (at the end of the file). I changed configure.in and the
run autofonf to generate a new configure script.

Anyway, I have still problems. So, sometimes I get a segmentation
fault from "ls -l", connected with a kernel general protection
fault. And it is impossible to unmount the AFS dir; I get "arla busy"
if I try it. Even stopping arlad does not help (BTW, is there a clean
way to stop it? It just complains that ^C was "fatal"), so I can't
unmount the /afs, and I can't unload the xfs module once it is loaded.

Can you help me there?

I am using still kernel version 2.0.30.

And the daemon doesn't go into background; so the way in the README
doesn't work, one has to put a "&" at the end of arlad.

Thank you

Ole

Patch for compiling arla-0.2 with kth-krb on linux
------------8<----------------------------------------
diff -uNr arla-0.2.orig/configure arla-0.2/configure
--- arla-0.2.orig/configure	Mon Mar 16 11:18:12 1998
+++ arla-0.2/configure	Mon Mar 16 18:53:44 1998
@@ -1562,7 +1562,7 @@
   CPPFLAGS="-I${KRB_INC_DIR} $CPPFLAGS"
 fi
 
-CFLAGS="-I../include $CFLAGS"
+CFLAGS="-I../include -I../../include $CFLAGS"
 
 
 echo $ac_n "checking krb_principal""... $ac_c" 1>&6
@@ -4392,7 +4392,7 @@
 # Ultrix sh set writes to stderr and can't be redirected directly,
 # and sets the high bit in the cache file unless we assign to the vars.
 (set) 2>&1 |
-  case `(ac_space=' '; set) 2>&1 | grep '^ac_space'` in
+  case `(ac_space=' '; set) 2>&1` in
   *ac_space=\ *)
     # `set' does not quote correctly, so add quotes (double-quote substitution
     # turns \\\\ into \\, and sed turns \\ into \).
diff -uNr arla-0.2.orig/configure.in arla-0.2/configure.in
--- arla-0.2.orig/configure.in	Mon Mar 16 11:16:36 1998
+++ arla-0.2/configure.in	Mon Mar 16 18:53:27 1998
@@ -220,7 +220,7 @@
   CPPFLAGS="-I${KRB_INC_DIR} $CPPFLAGS"
 fi
 
-CFLAGS="-I../include $CFLAGS"
+CFLAGS="-I../include -I../../include $CFLAGS"
 
 dnl
 dnl Check for struct krb_principal






More information about the Arla-drinkers mailing list