Well I didn't try with the source rpm, I tried with the tar file and the 
configure and make commands.   I just downloaded and installed the 
openafs-1.6.11-1.src.rpm source RPM.  It didn't put it into /usr/src but into 
/root/rpmbuild.  I tried running the openafs-buildall.sh and received this.

[root@spcfrksasol01 SOURCES]# ./openafs-buildall.sh
I don't know how to build for kernel 3.10.0-123.8.1.el7.x86_64

The configure with openafs 6.10 which I had downloaded some months ago would 
work with one summary at the end I wasn't sure of, and the make would get a lot 
of warnings and errors about flock.
Not sure at what point I got to those errors as I tried installing flex, bison, 
byacc, etc to resolve various errors without much luck.  At this point bison 
and flex are still installed.

config.status: executing default commands

**************************************
configure summary

LIB_curses :                -lncurses

**************************************

A couple of the make warning and error messages.

/home/ckieffer/openafs-1.6.10/src/libafs/MODLOAD-3.10.0-123.8.1.el7.x86_64-MP/afs_vnop_flock.c:137:43:
 warning: âstruct flock64â declared inside parameter list [enabled by default]
 lockIdSet(struct AFS_FLOCK *flock, struct SimpleLocks *slp, int clid)
                                           ^
/home/ckieffer/openafs-1.6.10/src/libafs/MODLOAD-3.10.0-123.8.1.el7.x86_64-MP/afs_vnop_flock.c:137:1:
 error: conflicting types for âlockIdSetâ
 lockIdSet(struct AFS_FLOCK *flock, struct SimpleLocks *slp, int clid)
 ^
In file included from /home/ckieffer/openafs-1.6.10/src/afs/afsincludes.h:57:0,
                 from 
/home/ckieffer/openafs-1.6.10/src/libafs/MODLOAD-3.10.0-123.8.1.el7.x86_64-MP/afs_vnop_flock.c:20:
/home/ckieffer/openafs-1.6.10/src/afs/afs_prototypes.h:1176:13: note: previous 
declaration of âlockIdSetâ was here
 extern void lockIdSet(struct AFS_FLOCK *flock, struct SimpleLocks *slp,
             ^
/home/ckieffer/openafs-1.6.10/src/libafs/MODLOAD-3.10.0-123.8.1.el7.x86_64-MP/afs_vnop_flock.c:
 In function âlockIdSetâ:
/home/ckieffer/openafs-1.6.10/src/libafs/MODLOAD-3.10.0-123.8.1.el7.x86_64-MP/afs_vnop_flock.c:142:7:
 error: dereferencing pointer to incomplete type
  flock->l_pid = getpid();
       ^



ck


[root@spcfrksasol01 ~]# yum list *afs*
Loaded plugins: langpacks, product-id, subscription-manager
Available Packages
pam_afs_session.x86_64                                                   
2.5-6.el7                                                      epel
trafshow.x86_64                                                          
5.2.3-10.el7                                                   epel


-----Original Message-----
From: Rich Sudlow [mailto:[email protected]]
Sent: Saturday, April 04, 2015 9:48 AM
To: Jon Stanley
Cc: Kieffer, Catherine; Garance A Drosehn; [email protected]
Subject: Re: [OpenAFS] Any preference for RHEL file servers

I also haven't had problems building for RHEL7 from 1.6.11 SRPM - RHELS7 
preferred due to xfs support which we use ( for xfs support on RHELS6 there is 
An additional charge)

Rich

Sent from my iPad

> On Apr 3, 2015, at 8:33 PM, Jon Stanley <[email protected]> wrote:
>
> On Fri, Apr 3, 2015 at 3:33 PM, Kieffer, Catherine
> <[email protected]> wrote:
>> I haven't found any released client installs that I have been able to 
>> install on my RHEL 7 AFS clients and I have been unsuccessful in my build 
>> attempts, though my skills in that area are a bit lacking.
>
> For me, just rebuilding the shipped SRPM (1.6.9) works fine on RHEL7
> (and uses native systemd services!). I'm wondering what your
> difficulties are?
> _______________________________________________
> OpenAFS-info mailing list
> [email protected]
> https://lists.openafs.org/mailman/listinfo/openafs-info
Spirent Communications e-mail confidentiality.
------------------------------------------------------------------------
This e-mail contains confidential and / or privileged information belonging to 
Spirent Communications plc, its affiliates and / or subsidiaries. If you are 
not the intended recipient, you are hereby notified that any disclosure, 
copying, distribution and / or the taking of any action based upon reliance on 
the contents of this transmission is strictly forbidden. If you have received 
this message in error please notify the sender by return e-mail and delete it 
from your system.

Spirent Communications plc
Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United Kingdom.
Tel No. +44 (0) 1293 767676
Fax No. +44 (0) 1293 767677

Registered in England Number 470893
Registered at Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, 
United Kingdom.

Or if within the US,

Spirent Communications,
27349 Agoura Road, Calabasas, CA, 91301, USA.
Tel No. 1-818-676- 2300
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to