From owner-freebsd-questions@FreeBSD.ORG Sat Jun 11 03:23:07 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 787BD16A41C for ; Sat, 11 Jun 2005 03:23:07 +0000 (GMT) (envelope-from dennyboy@cableone.net) Received: from S4.cableone.net (smtp4.cableone.net [24.116.0.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1466D43D4C for ; Sat, 11 Jun 2005 03:23:06 +0000 (GMT) (envelope-from dennyboy@cableone.net) Received: from dualman.cableone.net (unverified [24.119.190.179]) by S4.cableone.net (CableOne SMTP Service S4) with ESMTP id 22464322 for multiple; Fri, 10 Jun 2005 20:45:19 -0700 Date: Fri, 10 Jun 2005 22:22:44 -0500 (CDT) From: Denny White To: Giorgos Keramidas In-Reply-To: <20050610094948.GB80770@orion.daedalusnetworks.priv> Message-ID: <20050610154929.L13106@dualman.cableone.net> References: <20050607171901.A3942@dualman.cableone.net> <42A62287.3020705@ibsd.us> <20050607225028.H47050@dualman.cableone.net> <42A6DF8B.2090806@ibsd.us> <20050608212736.S95418@dualman.cableone.net> <20050609215257.GA59360@chaos.fxp.org> <20050609171716.J76049@dualman.cableone.net> <20050609233136.GA77987@orion.daedalusnetworks.priv> <20050609191952.V76049@dualman.cableone.net> <20050610094948.GB80770@orion.daedalusnetworks.priv> X-GPG-PUBLIC_KEY: http://wwwkeys.nl.pgp.net X-GPG-FINGERPRINT: D0A9 AD44 1F10 E09E OE67 EC25 CB44 F2E5 1644 E79A MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-IP-stats: Incoming Last 2, First 38, in=52, out=0, spam=0 X-External-IP: 24.119.190.179 X-Abuse-Info: Send abuse complaints to abuse@cableone.net Cc: freebsd-questions@freebsd.org Subject: Re: cvs question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jun 2005 03:23:07 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > From achuprinin@securities.com Fri Jun 10 13:54:17 2005 > Date: Fri, 10 Jun 2005 08:46:39 +0400 > From: Alexey Chuprinin > To: Denny White > Subject: Re[2]: cvs question > Hello, > Thursday, June 9, 2005, 8:32:35 AM, you wrote: > DW> Looks like I'm back to where I started when I first > DW> did the cvsup www-cvsupfile & tried to install the > DW> files. I followed what you said. I did the command > DW> cvs -d /usr/local/ncvs co www & it did create the > DW> dir www with all the files. When I did a make install, > DW> from www, it failed really quickly. I didn't get the > DW> error code, but something it was looking for wasn't > DW> there, apparently. I figured for right now, I could > DW> try just the english translation, so I cd to www/en > DW> & did make install. This time , it made it further, > DW> but still failed. I captured the output this time to > DW> a file. Here's the tail end of it where it fails: > DW> install -C -o root -g www -m 664 x86-64.html > /root/public_html/data/platforms > ===>> platforms/amd64 > DW> /usr/bin/sed -e 's/ .* > $">//' motherboards.sgml | > /usr/bin/env SGML_CATALOG_FILES= /usr/local/bin/sgmlnorm -d > DW> -ifreebsd.urls.absolute -c /usr/local/share/sgml/html/catalog -D > /usr/www/en/platforms/amd64 > motherboards.html || (/bin/rm -f > motherboards.html && false) > DW> *** Error code 1 > DW> Stop in /usr/www/en/platforms/amd64. > DW> *** Error code 1 > DW> Stop in /usr/www/en/platforms. > DW> *** Error code 1 > DW> Stop in /usr/www/en. > DW> I haven't had any problems with cvsup on ports or docs, > DW> but the www problem continues. Maybe at this point I'm > DW> being anal/hard headed, whatever, but I'd really like > DW> to find out why it won't install. Thanks for any help. > Don't slander youself. I think 'hard-headed' person will never admit > that he doesn't know something. You are trying to do something so you > are self motivated person. > As to the "www problem", I'll check it on my box and write you any > suggestion if i'll be able to. > -- > Alexey Chuprinin > System administrator > Internet Securities, Inc., Russia > Internet Securities, Inc. (trading as ISI Emerging Markets) is a > Euromoney Institutional Investor company. > ________________________________________________________________________ > This communication contains information which is confidential. It is for > the exclusive use of the intended recipient(s). If you are not the > intended recipient(s) please note any distribution, copying or use of > this communication or the information in it is strictly prohibited. If > you have received this communication in error please notify us by e-mail > or bytelephone (as above) and then delete the e-mail and all attachments > and any copies thereof. > ________________________________________________________________________ > -------------------------------------------------------------------- > On Fri, 10 Jun 2005, Giorgos Keramidas wrote: > On 2005-06-09 19:26, Denny White wrote: >> On Fri, 10 Jun 2005, Giorgos Keramidas wrote: >>> Is there any particular reason why you are trying to build the web >>> site? >>> >>> More importantly, why do you have to build the web site as root? >>> >>> The files are installed in ${DESTDIR}, which defaults to the >>> ${HOME}/public_html/ directory of the user running the build. >>> >>> % orion:/d/www/share/mk$ grep DESTDIR * >>> % web.site.mk:DESTDIR?= ${HOME}/public_html >>> % web.site.mk:WEBCHECKINSTALLDIR?= ${DESTDIR}${WEBCHECKDIR} >>> % web.site.mk:DOCINSTALLDIR= ${DESTDIR}${WEBBASE}/${WEBDIR} >>> % web.site.mk:CGIINSTALLDIR= ${DESTDIR}${WEBBASE}/${CGIDIR} >>> % web.site.mk:# NOTE: webcheck's output always stored to ${DESTDIR}/webcheck directory. >>> % orion:/d/www/share/mk$ >> >> Okay, I appreciate that. I'm not a gambler, but I would've given >> odds it wasn't cvs's fault. :-) > > Right. Sorry for not replying earlier, but I didn't quite understand what > exactly you were trying to do and what the problem was. > > The /doc and /www areas of the FreeBSD CVS repository are a responsibility > of the FreeBSD documentation guys. In the future, it may be a good idea to > ask questions about these specific parts of the CVS tree by posting to the > mailing list :-) > >> I knew I wasn't understanding how to do it. I want it here local for me & >> the others here. > > To have a complete /www mirror you need other stuff too and you may have > to tweak a bit the build process to avoid redirecting everyone to the > central www.FreeBSD.org every time they hit, for instance, a manpage link. > >> I didn't think about not having to be root to install it. That helps a >> lot, since there's a lot more room on /home. Also, I read somewhere that >> I could create a group, ncvs, add a user to it, & then I guess I could do >> like you said. I.E., logon as that user, have a directory below >> /usr/local/ncvs, & do the make install in that directory, as there is >> even more room on /usr. > > Adding an 'ncvs' user/group is only required if you like checking out of > the repository without the -R flag of cvs(1). Note, however, that it's > not something mandatory. > > Redirecting the installed files somewhere where you have a lot of free disk > space is ok and it doesn't require the 'ncvs' user or group. Just set > DESTDIR (and possibly other environment variables that affect web.site.mk) > to point to the right place: > > % cd /tmp > % cvs -q co -P -l www # Note -l here... > % cvs -q up -Pd www/en www/share www/tools > % cd www/en > % make DESTDIR=/usr/web/freebsd all install > >> Correct me on that last assumption if I'm wrong. >> If not, no need for reply. >> I've bugged everyone enough already with this. :) > > Nah, no problem. This is what the list is for, anyway. > > Okay, I used the -R switch & pulled www into my home dir. Then I read through the Makefile,v & saw it said: don't build the non-english directories if the variable ENGLISH_ONLY=YES is set I tried that. From within /home/mydir/www I did a make -D ENGLISH_ONLY=YES install | tee -a output.txt and it failed so fast, nothing was even captured to the output file. I scrolled back & found: "/home/dennyboy/www/en/../share/mk/web.site.mk", line 135: /home/dennyboy/www/en/../../doc/share/mk/doc.common.mk not found. Define $WITHOUT_DOC and $WEB_ONLY for performing a partial build without the doc/ module. *** Error code 1 So, it's not a major deal if I install all the translations just to be able to have the english part. Plenty of space on /home. Just seems illogical if there's a work-around, which I'm sure, if I understood more about make, I could probably do. If no one wants to fool with this anymore, I understand. :) Earlier I tried hacking around on the makefiles on $DESTDIR to no avail. Just wanted folks to know I wasn't one of those who say "I can't fix it. Fix it for me"! :) I've tried for 3 days now, whenever I've had time. Okay, started this post earlier. Since then, I pulled www again into my home dir, read-only mode. Went in as root & did: make -D WITHOUT_DOC -D WEB_ONLY DESTDIR=/home/dennyboy install Shame, because that pretty much defeats a lot of the purpose of doing it, that is, without a lot of the docs. Be that as it may, it finally got put in to one degree or another. Two of you have been trying to help me & I included what I hope are the latest posts from both of you. Thanks so much for the help & patience. I haven't totally given up on this. If anyone has any more ideas, I'll be happy to try them. Maybe I should've just gone ahead & went through all it takes to make a mirror. :-) Denny White -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCqlkNy0Ty5RZE55oRAuvYAJ0SXiOHzkRrEYMpO2bNk2ahNQteUgCfTum4 0s4SSHwoRIbIqAagZNjgRbs= =H8hY -----END PGP SIGNATURE-----