Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2010 17:41:19 +0200
From:      Jan Henrik Sylvester <me@janh.de>
To:        Ben Kaduk <minimarmot@gmail.com>
Cc:        afs-list freebsd <freebsd-afs@freebsd.org>
Subject:   Re: AFS on FreeBSD 8?
Message-ID:  <4BC4909F.5000000@janh.de>
In-Reply-To: <r2l47d0403c1004121233i1a029cf3i7aa9ac978feefc8e@mail.gmail.com>
References:  <4BBEE3E7.8040201@janh.de>	 <x2x994ac8b91004090536scd3794b3w9ba27c548f587065@mail.gmail.com>	 <4BC2F059.2090201@janh.de>	 <j2hdb6e3f111004120526xdcf920cesaecfa33f7ea01d6d@mail.gmail.com> <r2l47d0403c1004121233i1a029cf3i7aa9ac978feefc8e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/12/2010 21:33, Ben Kaduk wrote:
> On Mon, Apr 12, 2010 at 8:26 AM, Derrick Brashear<shadow@gmail.com>  wrote:
>> Try the current head of git with memcache. We're still working on
>> vnode locking issues.
>
> You may want to try
> http://stuff.mit.edu/afs/sipb.mit.edu/user/kaduk/freebsd/openafs/openafs-devel.shar.txt
> , which is some somewhat hackish freebsd packaging around openafs git
> head.  As Derrick implies, it is working for some people,  and not for
> others.

Thank you.

On which FreeBSD is it "supposed" to compile? I just tried 
8.0-RELEASE/i386 and got:

src/config/config src/libafs/MakefileProto.FBSD src/libafs/Makefile 
i386_fbsd_80
Wrote new makefile 'src/libafs/Makefile'.
cd src && cd libafs && make all
mkdir MODLOAD
rm MODLOAD/Makefile MODLOAD/Makefile.common
rm: MODLOAD/Makefile: No such file or directory
rm: MODLOAD/Makefile.common: No such file or directory
*** Error code 1 (ignored)
ln -fs ../Makefile MODLOAD/Makefile
ln -fs ../Makefile.common MODLOAD/Makefile.common
rm -f  h net netinet rpc ufs nfs  machine sys vm
ln -fs /usr/src/sys/net net
ln -fs /usr/src/sys/i386/include machine
ln -fs /usr/src/sys/netinet netinet
ln -fs /usr/src/sys/nfs nfs
ln -fs /usr/src/sys/rpc rpc
ln -fs /usr/src/sys/sys sys
ln -fs /usr/src/sys/ufs/ufs ufs
ln -fs /usr/src/sys/sys h
ln -fs /usr/src/sys/vm vm
touch MODLOAD/sec_net.h
cd MODLOAD ;  echo make DESTDIR= single_compdir_libafs;  make DESTDIR= 
single_compdir_libafs
make DESTDIR= single_compdir_libafs
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -h
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -q
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -p
cc -I. -I.. -I../nfs  -I/usr/ports/net/openafs-devel/work/openafs/src 
-I/usr/ports/net/openafs-devel/work/
openafs/src/afs 
-I/usr/ports/net/openafs-devel/work/openafs/src/afs/FBSD 
-I/usr/ports/net/openafs-devel/w
ork/openafs/src/config 
-I/usr/ports/net/openafs-devel/work/openafs/src/rx/FBSD 
-I/usr/ports/net/openafs-d
evel/work/openafs/src/rxkad 
-I/usr/ports/net/openafs-devel/work/openafs/src/rxkad/domestic 
-I/usr/ports/n
et/openafs-devel/work/openafs/src/util 
-I/usr/ports/net/openafs-devel/work/openafs/src  -I/usr/ports/net/o
penafs-devel/work/openafs/src/afs 
-I/usr/ports/net/openafs-devel/work/openafs/src/afs/FBSD  -I/usr/ports/n
et/openafs-devel/work/openafs/src/util 
-I/usr/ports/net/openafs-devel/work/openafs/src/rxkad  -I/usr/ports
/net/openafs-devel/work/openafs/src/config 
-I/usr/ports/net/openafs-devel/work/openafs/src/fsint  -I/usr/p
orts/net/openafs-devel/work/openafs/src/vlserver 
-I/usr/ports/net/openafs-devel/work/openafs/include  -I/u
sr/ports/net/openafs-devel/work/openafs/include/afs  -O -I. -I.. 
-I/usr/ports/net/openafs-devel/work/openaf
s/src/config  -DAFSDEBUG -DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET 
-DQUOTA -DGETMOUNT -Wall -nostdinc -I/usr
/include -D_KERNEL -DKLD_MODULE  -elf  -mno-align-long-strings 
-fno-common -ffreestanding  -I/usr/obj/usr/s
rc/sys/GENERIC -include opt_global.h -fno-strict-aliasing  -O2  -o 
afs_atomlist.o -c /usr/ports/net/openafs
-devel/work/openafs/src/util/afs_atomlist.c
cc1: error: opt_global.h: No such file or directory
*** Error code 1

Or are there any missing dependencies? Were is opt_global.h supposed to 
come from?

Cheers,
Jan Henrik



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BC4909F.5000000>