From owner-freebsd-ports@FreeBSD.ORG Fri Aug 20 23:31:16 2010 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A783E1065670; Fri, 20 Aug 2010 23:31:16 +0000 (UTC) (envelope-from phoffman@proper.com) Received: from hoffman.proper.com (Hoffman.Proper.COM [207.182.41.81]) by mx1.freebsd.org (Postfix) with ESMTP id 840C18FC08; Fri, 20 Aug 2010 23:31:16 +0000 (UTC) Received: from [10.20.30.158] (75-101-30-90.dsl.dynamic.sonic.net [75.101.30.90]) (authenticated bits=0) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id o7KNVDru090306 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Aug 2010 16:31:14 -0700 (MST) (envelope-from phoffman@proper.com) Mime-Version: 1.0 Message-Id: In-Reply-To: <20100820161618.63b0c5bd.stas@FreeBSD.org> References: <20100820161618.63b0c5bd.stas@FreeBSD.org> Date: Fri, 20 Aug 2010 16:31:11 -0700 To: Stanislav Sedov , Eitan Adler From: Paul Hoffman Content-Type: text/plain; charset="us-ascii" Cc: stas@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: Installing Ruby suggestion X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2010 23:31:16 -0000 At 4:16 PM -0700 8/20/10, Stanislav Sedov wrote: >On Fri, 20 Aug 2010 18:55:33 -0400 >Eitan Adler mentioned: > >> On Thu, Aug 19, 2010 at 2:30 PM, Paul Hoffman wrote: >> > Greetings again. When doing a "make install", it takes *forever* in the "Generating RDoc documentation" step. This isn't a big deal the first time, but when updating Ruby (such as for the recent security announcement), you need to do a "make deinstall" before you do a "make reinstall". Having that second step take a long time means that there is a longer time that there is no Ruby on the system. >> > >> > Could the RDoc step be done during "make" instead of "make install"? >> > >> >> Generally its best to CC the maintainer as well. In this case the >> maintainer is stas@freebsd.org >> >> That being said: I second this request ;) >> > >Ruby install systems works this way. I'm not sure I can do anything about this. >You may try asking on the ruby mailing list although. > >If you concerned about rdoc, you can disable them via OPTIONS. The time when there're >no ruby in the system is probably critical for production environments, where >rdoc is not required. Another option is to use packages, although I understand it >usually takes a bit of time for official packages to appear (but that's a different >story); but you can build the updated package on a separate machine and then distribute >it over critical servers. > >Nonetheless, I'll try to look on what I can do. But I can't promise anything, because >this is really something that should be done on ruby side. Thanks. You may get some pushback because other package systems don't do the equivalent of "make deinstall; make reinstall", but it is worth asking. I alway think of "make install" as "push the binaries that we just made into the proper places", not "make some more stuff and then push". --Paul Hoffman