Re: AFS install
On Wed, 16 May 2012, Jerry McAllister wrote: 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 Ah, I see what is going on. This is an artifact of the old build system I inherited, which is no longer used for OpenAFS git master; unfortunately, the new code (which uses FreeBSD's standard kernel module building infrastructure) is not directly mergable to the OpenAFS 1.6.x branch, so the release version is still using the old build system. The proper way to fix it is to clean the work tree, redo the copying param.amd64_fbsd_82.h file, and then find this part of openafs-1.6.0/src/libafs/MakefileProto.FBSD.in: %-ln -fs ${KSRC}/nfs nfs %all -fbsd_71 -fbsd_72 -fbsd_72 -fbsd_73 -fbsd_74 -fbsd_80 -fbsd_81 -fbsd_82 -fbsd_90 %-ln -fs /usr/include/rpc rpc %fbsd_71 fbsd_72 fbsd_73 fbsd_74 fbsd_80 fbsd_81 fbsd_82 fbsd_90 %-ln -fs ${KSRC}/rpc rpc %all which is doing conditionals on the particular FreeBSD version to account for moved headers, instead of a more intelligent version number comparison. Add -fbsd_83 to the first line (all -fbsd_71 [...]) and fbsd_83 to the second one (fbsd_71 fbsd_72 [...]), and then a build should get past this issue. However, if you just want it to build now, I think there is an easier fix. (I'm not 100% sure, since there are some ... weird ... things going on in this build system, and I haven't played with it recently.) Edit openafs-1.6.0/src/libafs/Makefile and find the line that has -ln -fs /usr/include/rpc rpc and change that to be -ln -fs ${KSRC}/rpc rpc instead (preserving the tab character at the beginning of the line). I expect that to let the build continue. Again, sorry for all these troubles; I'll bump up the priority of getting the port updated. -Ben Kaduk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: AFS install
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: AFS install
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? 8.2 version should work just fine as 8.3 version. Some simple fixing of makefiles/other files or even symlinks should correct it. Or, did I just do something stupid? Probably not you but program authors by requiring to change source every time new FreeBSD version will go out. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
AFS install
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. 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? By the way, I need just the client. I do not intend to start a server or a cell on this machine. I just need to talk to the cell at work. Is there a way of only installing the client? (I think the client is the biggest part, but still, do not need the server part hanging around if it would work happily that way) Thanks for any help, jerryJerry McAllisterjerr...@msu.edu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: AFS install
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. 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. 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. By the way, I need just the client. I do not intend to start a server or a cell on this machine. I just need to talk to the cell at work. Is there a way of only installing the client? (I think the client is the biggest part, but still, do not need the server part hanging around if it would work happily that way) The upstream OpenAFS build system is not condusive to just building the client; I have asked about this. It is fairly easy to just build the server, but since my interest was mostly in the client I did not add an option for doing so. Thanks for the report, and sorry to have been so slow at catching up to 8.3/10.0. -Ben Kaduk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org