Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2010 11:46:29 -0400
From:      Derrick Brashear <shadow@gmail.com>
To:        Jan Henrik Sylvester <me@janh.de>
Cc:        afs-list freebsd <freebsd-afs@freebsd.org>
Subject:   Re: AFS on FreeBSD 8?
Message-ID:  <q2kdb6e3f111004130846lc1567c8cqd2228214f71db11c@mail.gmail.com>
In-Reply-To: <4BC4909F.5000000@janh.de>
References:  <4BBEE3E7.8040201@janh.de> <x2x994ac8b91004090536scd3794b3w9ba27c548f587065@mail.gmail.com> <4BC2F059.2090201@janh.de> <j2hdb6e3f111004120526xdcf920cesaecfa33f7ea01d6d@mail.gmail.com> <r2l47d0403c1004121233i1a029cf3i7aa9ac978feefc8e@mail.gmail.com> <4BC4909F.5000000@janh.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 13, 2010 at 11:41 AM, Jan Henrik Sylvester <me@janh.de> wrote:
> On 04/12/2010 21:33, Ben Kaduk wrote:
>>
>> On Mon, Apr 12, 2010 at 8:26 AM, Derrick Brashear<shadow@gmail.com>
>> =A0wrote:
>>>
>>> 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. =A0As Derrick implies, it is working for some people, =A0and not f=
or
>> others.
>
> Thank you.
>
> On which FreeBSD is it "supposed" to compile? I just tried 8.0-RELEASE/i3=
86
> 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 =A0h net netinet rpc ufs nfs =A0machine 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 ; =A0echo make DESTDIR=3D single_compdir_libafs; =A0make DESTD=
IR=3D
> single_compdir_libafs
> make DESTDIR=3D 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 =A0-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 =A0-I/usr/ports/net/o
> penafs-devel/work/openafs/src/afs
> -I/usr/ports/net/openafs-devel/work/openafs/src/afs/FBSD =A0-I/usr/ports/=
n
> et/openafs-devel/work/openafs/src/util
> -I/usr/ports/net/openafs-devel/work/openafs/src/rxkad =A0-I/usr/ports
> /net/openafs-devel/work/openafs/src/config
> -I/usr/ports/net/openafs-devel/work/openafs/src/fsint =A0-I/usr/p
> orts/net/openafs-devel/work/openafs/src/vlserver
> -I/usr/ports/net/openafs-devel/work/openafs/include =A0-I/u
> sr/ports/net/openafs-devel/work/openafs/include/afs =A0-O -I. -I..
> -I/usr/ports/net/openafs-devel/work/openaf
> s/src/config =A0-DAFSDEBUG -DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUO=
TA
> -DGETMOUNT -Wall -nostdinc -I/usr
> /include -D_KERNEL -DKLD_MODULE =A0-elf =A0-mno-align-long-strings -fno-c=
ommon
> -ffreestanding =A0-I/usr/obj/usr/s
> rc/sys/GENERIC -include opt_global.h -fno-strict-aliasing =A0-O2 =A0-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 c=
ome
> from?

it's in the objdir of your kernel build.



--=20
Derrick



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