From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Masterson Newsgroups: gmane.emacs.help Subject: Re: Software/HD ecology Date: 12 Dec 2002 15:09:19 -0800 Organization: Posted via Supernews, http://www.supernews.com Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <041220020952400758%ajanta@no.spam> <56cfb0e3.0212041458.5eab182a@posting.google.com> <061220020416350201%ajanta@no.spam> <071220021155280606%ajanta@no.spam> <5ld6obj8il.fsf@rum.cs.yale.edu> <091220021652087216%ajanta@no.spam> <111220021101520860%ajanta@no.spam> <111220021253524057%ajanta@no.spam> <5l65u0i8zj.fsf@rum.cs.yale.edu> <111220022053507599%ajanta@no.spam> <87u1hjdwta.fsf@hurd.crasseux.com> <84fzt3hvk8.fsf@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1039734746 32374 80.91.224.249 (12 Dec 2002 23:12:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 12 Dec 2002 23:12:26 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18McVD-0008Pj-00 for ; Fri, 13 Dec 2002 00:12:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18McTZ-0005qn-00 for gnu-help-gnu-emacs@m.gmane.org; Thu, 12 Dec 2002 18:10:41 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!telocity-west!DIRECTV!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: comp.sys.mac.apps,comp.sys.mac.advocacy,comp.text.tex,gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-X-Complaints-To: abuse@supernews.com Original-Lines: 51 Original-Xref: shelby.stanford.edu comp.sys.mac.apps:348756 gnu.emacs.help:108066 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4597 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4597 >>>>> Kai Großjohann writes: > Bijan Soleymani writes: >> In that case you might want to check out GNU stow. You put all your >> software in a stow directory /usr/local/stow/ or /usr/sw/ one >> program per subdirectory. Then when you run stow it makes symlinks >> in /usr/local/. This way you can even do this sort of thing with >> libraries or programs you would like to have in your path. > I don't use Stow, but I think it's not a (complete) solution. We > have several versions of Java installed in /usr/sw/java, and some > people need one version whereas other people need another version > (on the same machine). I haven't looked at Stow in quite awhile, but it should handle this in theory. If it does not, I have an alternative Perl package called pkglink that works quite well. Actually, you can get pkglink at: * http://www.cs.unm.edu/~ssg/SSG_SysAdmin/SSG_Pkglink.shtml But I've made some enhancements to it since this version (I think mine is more in-line with automake). Send me an email if you're interested. > I'm thinking about making a directory /usr/sw/bin and populating it > with symlinks, but currently, we don't have enough software packages > to justify this effort. (Happily, Debian provides lots of packages > so we don't have to install too many of them.) Pkglink can do the symlink farm with multiple versions. It structures the directory as follows: * /usr/local * Repository ** Package 1 *** Version 1 *** Version 2 ** Package 2 *** Version 1 *** Version 2 So you can install as many versions of the software that you need by just setting the configure "prefix" to the appropriate "Version" directory before doing the "make install". Then, using pkglink, you can pick which version of a package gets symlinked into the main area (/usr/local, but you could have more than one). -- David Masterson David DOT Masterson AT synopsys DOT com Sr. R&D Engineer Synopsys, Inc. Software Engineering Sunnyvale, CA