ah.. sorry about that I intended to post to the group. I thought I hit reply-all.
Here's where I got the SRPM: http://www.openafs.org/dl/openafs/1.4.5/rhel3/SRPMS/openafs-1.4.5-rhel3. 1.src.rpm openafs-buildall.sh fails. Derrick, Do you still have a copy of the srpm that you built openafs 1.4.5 on redhat enterprise 3 with? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Derrick Brashear Sent: Monday, December 03, 2007 2:32 PM To: OpenAFS-Info Subject: Re: [OpenAFS] File systems on Linux, again. Keep it on the list. Anyway, this is really the RHEL3 srpm? The hugemem error should have been fixed in that specfile. and, error: /usr/src/redhat/SPECS/openafs.spec:346: parseExpressionBoolean returns -1 what's on line 346? On Dec 3, 2007 2:21 PM, Jerry Normandin <[EMAIL PROTECTED] > wrote: OK.. I am running This is the first error I get: Processing files: openafs-kernel-hugemem-1.4.5-2.4.21_47.EL_1 error: File not found by glob: /var/tmp/openafs-1.4.5-root/lib/modules/2.4.21-47.ELhugemem/kernel/fs/op enafs/openafs.* RPM build errors: File not found by glob: /var/tmp/openafs-1.4.5-root/lib/modules/2.4.21-47.ELhugemem/kernel/fs/op enafs/openafs.* [EMAIL PROTECTED] SOURCES]# I managed to fix this manually by editing the spec file. The reason why there is an error is because there kernel direcory does not exit.. the direcory fs/openafs is directly under : /var/tmp/openafs-1.4.5-root/lib/modules/2.4.21-47.ELhugemem The Second error .. I modified line 112, I now have: for arch in $archlist ; do echo "Building for $kerndir, $kvers, $arch" rpmbuild -bb $buildopts \ --define "fedorakmod 0" \ --define "osvers $osvers" \ --define "kernvers $kvers" \ --define "ksrcdir $kerndir" \ --define "build_modules 1" \ --define "build_userspace 1" \ --target=$arch \ $specdir/openafs.spec || exit 1 done fi openafs-buildall.sh I get : [EMAIL PROTECTED] SOURCES]# ./openafs-buildall.sh Building OpenAFS for rhel3 rpmbuild -ba --define osvers rhel3 /usr/src/redhat/SPECS/openafs.spec Building for /usr/src/linux-2.4.21-47.EL, 2.4.21-47.EL, i686 Building target platforms: i686 Building for target i686 error: parse error in expression error: /usr/src/redhat/SPECS/openafs.spec:346: parseExpressionBoolean returns -1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/openafs-1.4.5-root error: Installed (but unpackaged) file(s) found: /lib/modules/2.4.21-47.EL/fs/openafs/openafs.o /lib/modules/2.4.21-47.ELhugemem/fs/openafs/openafs.o /lib/modules/2.4.21-47.ELsmp/fs/openafs/openafs.o RPM build errors: parse error in expression /usr/src/redhat/SPECS/openafs.spec:346: parseExpressionBoolean returns -1 Installed (but unpackaged) file(s) found: /lib/modules/2.4.21-47.EL/fs/openafs/openafs.o /lib/modules/2.4.21-47.ELhugemem/fs/openafs/openafs.o /lib/modules/2.4.21-47.ELsmp/fs/openafs/openafs.o [EMAIL PROTECTED] SOURCES]# vi openafs-buildall.sh [EMAIL PROTECTED] SOURCES]# ls From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Derrick Brashear Sent: Monday, December 03, 2007 1:54 PM To: [email protected] Subject: Re: [OpenAFS] File systems on Linux, again. On Dec 3, 2007 1:52 PM, Jerry Normandin <[EMAIL PROTECTED]> wrote: Has anyone tried to build the openafs userspace code on Redhat ver 3? the rpm build scripts fail. This is sort of news, in the sense that the RPMs on the web site were built by me on RHEL3. Get the RHEL3 srpm from the web site and rpm -ivh then cd /usr/src/redhat/SOURCES/ ./openafs-buildall.sh Report any errors.
