I am wanting to set up openafs on my computer under 11.1, but some of the critical openafs packages (such as openafs-krb5-mit and the 64-bit openafs-kmp packages) are not available under buildservice for 11.1 (although they are for 11.0 and 10.3). Are these packages going to be built at some point in the future, or have they been discontinued or reorganized in some way?
Here you go: Webpin a;though they are for 1.4.7 (whereas 11.0 is 1.4.8)
What you can do is get the src.rpm(s) and build your own:
Go to Index of /repositories/filesystems/openSUSE_11.0/src and get
openafs-1.4.8-3.1.src.rpm (or Factory for 1.4.7)
In a terminal as root"
cd /pathtothepackage
rpmbuild --rebuild /openafs-1.4.8-3.1.src.rpm
Of course you need make, gcc, kernel-source & kernel-syms installed
And kernel-source & kernel-syms must match your running kernel “uname -a”; if not do a YOU update.
After the build, the rpms will be found in /usr/src/packages/RPMS/x86_64; install them with Yast
Have fun:)
PS: you can also check RPM Search
pbone has a lot of stuff;)
Thanks. I don’t want to build them from source, however, if it is simply a matter of waiting a couple of weeks for the packages to appear in the build service. So I am trying to find out if the packages are going to be in the build service at some point, or if they are already there and I just don’t realize it, or if they will never be in build service and I should build them myself.
There is nothing here for the suse 11.1 kernel (2.6.27.7).
What you can do is get the src.rpm(s) and build your own:
Go to Index of /repositories/filesystems/openSUSE_11.0/src and get
openafs-1.4.8-3.1.src.rpm (or Factory for 1.4.7)In a terminal as root"
cd /pathtothepackage
rpmbuild --rebuild /openafs-1.4.8-3.1.src.rpm
It does not work either:
/usr/src/packages/BUILD/openafs-1.4.8/obj/default/src/libafs/MODLOAD-2.6.27.7-9-default-MP/osi_module.c: In function ‘afsproc_init’:
/usr/src/packages/BUILD/openafs-1.4.8/obj/default/src/libafs/MODLOAD-2.6.27.7-9-default-MP/osi_module.c:261: error: implicit declaration of function ‘create_proc_info_entry’
…
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.39998 (%build)
PS: you can also check RPM Search
pbone has a lot of stuff;)
but no openafs for 2.6.27.
Then one has to fall back to the basic compile feature.
Go here: freshmeat.net: Project details for OpenAFS & get the TAR
see if there are dependencies
untar it to a folder; enter that folder & read all the txt files like readme/install, etc.
It should be something like:
configure
make
make install – except I like to do “checkinstall” and build the rpm
Try it and see what happens;)
Thanks, but I already found the cause of the failure, I only had to waste a few hours for debugging. The build fails because seq_file.h is missing from /usr/src/linux-obj/x86_64/*/include/linux/. (incomplete kernel-source package?) The workaround is to copy it from /usr/src/linux/include/linux before running configure. Finally, I installed openafs successfully, using the following commands:
for i in /usr/src/linux-obj/x86_64/*/include/linux; do cp /usr/src/linux/include/linux/seq_file.h $i; done
rpmbuild --rebuild openafs-1.4.8-3.1.src.rpm
cd /usr/src/packages/RPMS/x86_64
rpm -Uvh --force openafs-1.4.8-3.1.x86_64.rpm openafs-client-1.4.8-3.1.x86_64.rpm openafs-krb5-mit-1.4.8-3.1.x86_64.rpm openafs-kmp-default-1.4.8_2.6.27.7_9.1-3.1.x86_64.rpm openafs-kmp-xen-1.4.8_2.6.27.7_9.1-3.1.x86_64.rpm
Kudos for hanging in there & getting it to build.
Well Done:)
Again, it does not work.
Currently, both the 11.0 and the 11.1 repositories (Index of /repositories/filesystems/openSUSE_11.1/i586) contain a new build, openafs-1.4.8-46.1, but the kernel module is not included, there are no openafs-kmp-*.rpm packages. Although it was there about 10 days ago.
Rebuilding the source rpm does not help, the kernel module packages are not created.
Also tried the openafs-kernel-source-1.4.8-46.1.i586.rpm but it did not work either, an unusable libafs.ko was created.
Has anyone had any success with this patch release?