[OpenAFS] OpenAFS for FC6?

Paul Johnson pauljohn32@gmail.com
Wed, 15 Nov 2006 14:42:55 -0600


------=_Part_7263_15060040.1163623375052
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 11/15/06, Mike Dopheide <dopheide@ncsa.uiuc.edu> wrote:
>
> > Try
> >
> > rpmbuild --define "build_modules 1" -ba openafs.spec
>
> Whoops..  :)  You're totally right.
>
>
> > This build fails because linux/config.h does not exist anymore in the
> > newer kernels.
>
> I'd try the opposite approach.   Create a blank
> /usr/include/linux/config.h.  Unfortunately, I don't have a FC6 system
> handy to test with today.
>
Well, I pursued my way and it appears the attached patch DOES work, at
least until the AFS file system locks up or something.

pj


 -Mike
>
>


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas

------=_Part_7263_15060040.1163623375052
Content-Type: text/x-patch; name="openafs-FC6config.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="openafs-FC6config.patch"
X-Attachment-Id: f_euk79zed

ZGlmZiAtcmMgb3BlbmFmcy0xLjQuMi1vcmlnL3NyYy9hZnMvTElOVVgvb3NpX3Byb2JlLmMgb3Bl
bmFmcy0xLjQuMi9zcmMvYWZzL0xJTlVYL29zaV9wcm9iZS5jCioqKiBvcGVuYWZzLTEuNC4yLW9y
aWcvc3JjL2Fmcy9MSU5VWC9vc2lfcHJvYmUuYwkyMDA2LTExLTE1IDE0OjA2OjM4LjAwMDAwMDAw
MCAtMDYwMAotLS0gb3BlbmFmcy0xLjQuMi9zcmMvYWZzL0xJTlVYL29zaV9wcm9iZS5jCTIwMDYt
MTEtMTUgMTQ6MzE6MTAuMDAwMDAwMDAwIC0wNjAwCioqKioqKioqKioqKioqKgoqKiogNTksNjUg
KioqKgogICNpbmNsdWRlICJhZnNpbmNsdWRlcy5oIgogICNlbmRpZgogICNpbmNsdWRlIDxsaW51
eC92ZXJzaW9uLmg+CiEgI2luY2x1ZGUgP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