Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2012 17:44:16 -0400
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Benjamin Kaduk <kaduk@mit.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: AFS install
Message-ID:  <20120516214416.GA14804@gizmo.acns.msu.edu>
In-Reply-To: <alpine.GSO.1.10.1205150013570.27539@multics.mit.edu>
References:  <20120514222724.GA5158@gizmo.acns.msu.edu> <alpine.GSO.1.10.1205150013570.27539@multics.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 15, 2012 at 12:51:04AM -0400, Benjamin Kaduk wrote:

Hello Ben,

Thank you for your response.

I cleaned and then copied the 82 file to 83 and then edited it
to replace all 82-s with 83 or added it where there seemed to be
a list of versions.   It got a lot further, but now dies not finding
another file.

  ../rpc/types.h:77:27: error: rpc/netconfig.h: No such file or directory

I will send along another message with the build script attached.

> Hi Jerry,
> 
> On Mon, 14 May 2012, Jerry McAllister wrote:
> 
> >Hi,
> >
> >I installed AMD64 FreeBSD 8.3 on a new machine a couple of days ago.
> >It seems fine so far.
> >
> >This afternoon I tried to install OpenAFS 1.6.0 on it from
> > /usr/ports/net/openafs
> >
> >The configure ran happily and I didn't notice any errors.
> >But, the make died soon after starting with the following complaints.
> >
> > make: don't know how to make ./param.amd64_fbsd_83.h. stop
> > *** Error code 2
> >
> > Stop in /usr/ports/net/openafs/work/openafs-1.6.0.
> > ** Error code 1
> >
> >I presume that means that it does not know about FreeBSD 8.3 yet.
> 
> That's right; the OpenAFS build system has lots of history behind it, 
> which means that it is not particularly elegant at handling this sort of 
> thing.

A lot of history.   We have used it at MSU for a long time. 
It was never my project to build or maintain, but I used it a lot.

> 
> >I rummaged around in the README it left in the ../work directory
> >and saw a bunch of AMD64 versions up to 8.1 (and even 9.0) but
> >not 8.2 or 8.3.   I noticed in the Makefile where it says:
> > IGNORE= Supports FreeBSD 8.0 and later
> >I am not sure how that plays in it.   I am definitely not a make hacker.
> >
> >Anyway, is there a good tinker to get past this
> >or do I have to wait until something gets updated in the port?
> >
> >Or, did I just do something stupid?
> 
> No fault on your end; I need to push in updates for 8.3 and 10.0 support 
> but have been busy with schoolwork.

I can sure relate to that.

> For now, if you're up for a little bit of tinkering, you could go in to 
> /usr/ports/net/openafs and 'make clean && make extract', then:
> cd work/openafs-1.6.0/src/config && cp param.amd64_fbsd_82.h 
> param.amd64_fbsd_83.h
> and continue with the usual make install, etc., in 
> /usr/ports/net/openafs/.
> If that still does not compile/run, please send me the build log (or 
> dmesg -a output if a runtime failure) and I will look at it.
> 
> Thanks for the report, and sorry to have been so slow at catching up to 
> 8.3/10.0.
> 
> -Ben Kaduk


Thanks for your help,

////jerry    



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