[4947] in arla-drinkers
Re: Arla on Mac OS 10.5
daemon@ATHENA.MIT.EDU (=?ISO-8859-1?Q?Bo_Brant=E9n?=)
Mon Jul 12 11:56:48 2010
From arla-drinkers-bounces@stacken.kth.se Mon Jul 12 15:56:48 2010
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 2822 invoked from network); 12 Jul 2010 15:56:48 -0000
Received: from mx2.kth.se (130.237.48.98)
by charon.mit.edu with SMTP; 12 Jul 2010 15:56:48 -0000
X-KTH-mail-from: arla-drinkers-bounces@stacken.kth.se
Received: from mx4.kth.se (mx4.kth.se [130.237.48.62])
by mx2.kth.se (Postfix) with ESMTP id 29B7B1098A3;
Mon, 12 Jul 2010 17:56:41 +0200 (CEST)
X-Virus-Scanned: by amavisd-new at kth.se
Received: from mx2.kth.se ([130.237.48.98])
by mx4.kth.se (mx4.kth.se [130.237.48.62]) (amavisd-new, port 10024)
with LMTP id 1RyGVFGm2tZf; Mon, 12 Jul 2010 17:56:40 +0200 (CEST)
X-KTH-mail-from: arla-drinkers-bounces@stacken.kth.se
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
by mx2.kth.se (Postfix) with ESMTP id 548B3109826;
Mon, 12 Jul 2010 17:55:51 +0200 (CEST)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
by tapas.stacken.kth.se (Postfix) with ESMTP id A263651D64;
Mon, 12 Jul 2010 17:55:50 +0200 (CEST)
X-Original-To: arla-drinkers@tapas.stacken.kth.se
Delivered-To: arla-drinkers@tapas.stacken.kth.se
Received: from brev.stacken.kth.se (brev.stacken.kth.se [130.237.234.84])
by tapas.stacken.kth.se (Postfix) with ESMTP id 0728751D64
for <arla-drinkers@tapas.stacken.kth.se>;
Mon, 12 Jul 2010 17:55:49 +0200 (CEST)
Received: from mx3.kth.se (mx3.kth.se [130.237.48.97])
by brev.stacken.kth.se (8.12.10/8.12.10) with ESMTP id o6CFtmbc015246
for <arla-drinkers@stacken.kth.se>;
Mon, 12 Jul 2010 17:55:48 +0200 (MET DST)
X-KTH-mail-from: bosse@acc.umu.se
X-KTH-rcpt-to: arla-drinkers@stacken.kth.se
Received: from mx4.kth.se (mx4.kth.se [130.237.48.62])
by mx3.kth.se (Postfix) with ESMTP id 873C16A724
for <arla-drinkers@stacken.kth.se>;
Mon, 12 Jul 2010 17:55:43 +0200 (CEST)
X-Virus-Scanned: by amavisd-new at kth.se
Received: from mx3.kth.se ([130.237.48.97])
by mx4.kth.se (mx4.kth.se [130.237.48.62]) (amavisd-new, port 10024)
with LMTP id PCtl85m-ehp3 for <arla-drinkers@stacken.kth.se>;
Mon, 12 Jul 2010 17:55:42 +0200 (CEST)
X-KTH-mail-from: bosse@acc.umu.se
X-KTH-rcpt-to: arla-drinkers@stacken.kth.se
Received: from mail.acc.umu.se (mail.acc.umu.se [IPv6:2001:6b0:e:2018::156])
by mx3.kth.se (Postfix) with ESMTP id A01606A658
for <arla-drinkers@stacken.kth.se>;
Mon, 12 Jul 2010 17:55:37 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
by amavisd-new (Postfix) with ESMTP id 2920790D
for <arla-drinkers@stacken.kth.se>;
Mon, 12 Jul 2010 17:55:37 +0200 (MEST)
X-Virus-Scanned: amavisd-new at acc.umu.se
Received: from stalin.acc.umu.se (stalin.acc.umu.se [130.239.18.135])
by mail.acc.umu.se (Postfix) with ESMTP id 791448FC
for <arla-drinkers@stacken.kth.se>;
Mon, 12 Jul 2010 17:55:34 +0200 (MEST)
Received: by stalin.acc.umu.se (Postfix, from userid 10005)
id 5A6B62D; Mon, 12 Jul 2010 17:55:34 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
by stalin.acc.umu.se (Postfix) with ESMTP id 4D3E32C
for <arla-drinkers@stacken.kth.se>;
Mon, 12 Jul 2010 17:55:34 +0200 (CEST)
Date: Mon, 12 Jul 2010 17:55:34 +0200 (CEST)
From: =?ISO-8859-1?Q?Bo_Brant=E9n?= <bosse@acc.umu.se>
To: arla-drinkers@stacken.kth.se
Subject: Re: Arla on Mac OS 10.5
In-Reply-To: <Pine.A41.4.64.1007121516460.1101998@stalin.acc.umu.se>
Message-ID: <Pine.A41.4.64.1007121750040.970756@stalin.acc.umu.se>
References: <Pine.A41.4.64.1007120020490.716996@stalin.acc.umu.se>
<Pine.A41.4.64.1007121516460.1101998@stalin.acc.umu.se>
MIME-Version: 1.0
X-BeenThere: arla-drinkers@stacken.kth.se
X-Mailman-Version: 2.1.6
Precedence: list
List-Id: Arla discussions <arla-drinkers.stacken.kth.se>
List-Unsubscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>,
<mailto:arla-drinkers-request@stacken.kth.se?subject=unsubscribe>
List-Archive: <http://lists.stacken.kth.se/pipermail/arla-drinkers>
List-Post: <mailto:arla-drinkers@stacken.kth.se>
List-Help: <mailto:arla-drinkers-request@stacken.kth.se?subject=help>
List-Subscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>,
<mailto:arla-drinkers-request@stacken.kth.se?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: arla-drinkers-bounces@stacken.kth.se
Errors-To: arla-drinkers-bounces@stacken.kth.se
A few aditional things:
After ./configure but before make edit arla-0.90/include/config.h so it
says: #define HAVE_OPENSSL 1
If using ./configure --with-krb5=/usr/arla instead of heimdal all the apps
and libs compile clean and one don't need to install heimdal, this works
fine on 10.4 and 10.5.
When shuttding down the computer crashes as others has reported already on
this mailing list, I don't think I have the knowledge to debug that
problem so I leave it to others and continue to test on Mac OS 10.6
instead.
> As has been reported here before the binary distribution of Arla 0.90 for Mac
> OS available on stacken works on 10.4 but on 10.5 one get an error on
> multiple symbols for some string functions when trying to load the kernel
> module so I tryed to compile arla myself on 10.5 and here is how it whent:
>
> Install the binary disribution for 10.4 (only the kernel module needs to be
> updated for 10.5)
> Install heimdal
> Install openssl
> in arla-0.90 run: ./configure --with-krb5=/usr/heimdal
> patch nnpfs/bsd/nnpfs_common.c:
>> #define HAVE_KERNEL_STRLCPY 1
>> #define HAVE_KERNEL_MEMCPY 1
> patch nnpfs/bsd/nnpfs_syscalls-common.c:
> < #ifdef HAVE_KERNEL_KAUTH_CRED_GETUID
> ---
>> /* #ifdef HAVE_KERNEL_KAUTH_CRED_GETUID */
> < #else
> ---
>> /* #else
> < #endif
> ---
>> #endif */
> compile arla, nnpfs will be built, compiling apps and libs will fail but we
> only need the kernel module...
> sudo cp /Users/bobranten/src/arla-0.90/nnpfs/bsd/nnpfs_mod.o
> /usr/arla/bin/nnpfs.kext/Contents/MacOS/nnpfs
> sudo chmod +x /usr/arla/bin/nnpfs.kext/Contents/MacOS/nnpfs
> sudo /usr/arla/sbin/startarla
> ls /afs/stacken.kth.se/ftp/pub
> cat /afs/stacken.kth.se/ftp/pub/README
> It works!
>
> Bo Branten
>
>
_______________________________________________
Arla-drinkers mailing list
Arla-drinkers@stacken.kth.se
https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers