unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Masterson <dmaster@synopsys.com>
Subject: Re: Software/HD ecology
Date: 12 Dec 2002 15:44:49 -0800	[thread overview]
Message-ID: <uk7ie4xam.fsf@synopsys.com> (raw)
In-Reply-To: 121220021616385181%ajanta@no.spam

>>>>> Ajanta  writes:

> Kai Großjohann <kai.grossjohann@uni-duisburg.de> wrote:

>> At our site, we have a directory for software with subdirs for each
>> program, and subsubdirs for each version.  For example, 
>> 
>> ./configure --prefix=/usr/sw/emacs/21.2
>> 
>> is sufficient to configure Emacs in such a way that subsequent `make'
>> and `make install' can be undone easily by just removing the
>> directory /usr/sw/emacs/21.2.  This works because Emacs is the only
>> program in that directory.
>> 
>> It's a very simple approach, but it works well enough for us.

> I am a beginner at this, so let me understand step-by-step. If you
> ./configure with the above option, make, make install, will
> everything remain in /usr/sw/emacs/21.2? Where do the binaries go?

A directory structure is created under /usr/sw/emacs/21.2 with a
standard layout for all the different parts (like 'bin' for binaries
and 'lib' for libraries).

> If it is /uar/sw/bin, I can imagine you can just put it in your
> path.  However, if it is /usr/sw/emacs/21.2/bin, then do you have to
> modify the path each time you install a program? (I don't see either
> as a big deal, I am just trying to figure out what actually
> happens.)

This is potentially true if you use _just_ this scheme.  In fact, if
you carry this to extremes such that each program is installed in it's
own directory structure, your PATH could become quite long.  However,
tools like GNU Stow build on this scheme by adding the ability to
symlink these directories (and subfiles) into the standard location
(typically /usr/local) so that your PATH need only have the typical
/usr/local/bin in it.  The tools like Stow can also move the symlinks
to a new version of the package or remove the symlinks altogether.  In
this way, by removing the symlinks and then removing the package's
personal directory, you are sure that all of that version of the
package has been removed.

-- 
David Masterson                David DOT Masterson AT synopsys DOT com
Sr. R&D Engineer               Synopsys, Inc.
Software Engineering           Sunnyvale, CA

  reply	other threads:[~2002-12-12 23:44 UTC|newest]

Thread overview: 166+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <041220020952400758%ajanta@no.spam>
     [not found] ` <56cfb0e3.0212041458.5eab182a@posting.google.com>
     [not found]   ` <x5k7ipl35x.fsf@lola.goethe.zz>
2002-12-06 11:14     ` Mac OSX TeX / To X11 or Not? Ajanta
2002-12-06 10:27       ` Raffael Herzog
2002-12-06 14:28         ` Rodney Sparapani
2002-12-06 14:49       ` Kai Großjohann
2002-12-06 14:52       ` Schone Mullerin
2002-12-06 17:35         ` Andrew Choi
2002-12-06 21:30           ` Emacs 21.3.50 on Mac OSX 10.2.2 Ajanta
2002-12-06 23:07             ` Stefan Monnier <foo@acm.com>
2002-12-07  7:53               ` Ajanta
2002-12-07 14:18                 ` Kai Großjohann
2002-12-07 18:53                   ` Ajanta
2002-12-07 21:53                     ` Kai Großjohann
2002-12-09 19:29                     ` Stefan Monnier <foo@acm.com>
2002-12-09 23:49                       ` For Andrew Choi/Enrico Franconi: Bug in Emacs 21.3.50 Ajanta
2002-12-09 23:21                         ` Andrew Choi
2002-12-10 13:39                         ` Stefan Monnier <foo@acm.com>
2002-12-10 18:23                           ` Software/HD ecology (was Re:...Bug in Emacs 21.3.50) Ajanta
2002-12-10 17:31                             ` Galen Boyer
2002-12-10 17:48                               ` Phillip Lord
2002-12-10 17:59                                 ` Galen Boyer
2002-12-10 18:01                                   ` Phillip Lord
2002-12-10 21:14                                 ` Ajanta
2002-12-11 12:56                                   ` Phillip Lord
     [not found]                             ` <101220021416559254\x04%ajanta@no.spam>
     [not found]                               ` <111220021101520860%ajanta@no.spam>
2002-12-11 18:29                                 ` Phillip Lord
2002-12-11 19:51                                   ` Ajanta
2002-12-11 19:41                                     ` Software/HD ecology Henrik Enberg
2002-12-11 20:41                                     ` Software/HD ecology (was Re:...Bug in Emacs 21.3.50) Stefan Monnier <foo@acm.com>
2002-12-12  3:51                                       ` Ajanta
2002-12-12 11:49                                         ` Software/HD ecology Kai Großjohann
2002-12-12 16:30                                           ` Bijan Soleymani
2002-12-12 19:43                                             ` Kai Großjohann
2002-12-12 21:03                                               ` Anil Trivedi
2002-12-13  9:03                                                 ` Kai Großjohann
2002-12-16 16:09                                                   ` Lee Sau Dan
2002-12-16 20:13                                                     ` Kai Großjohann
2002-12-20 16:02                                                       ` Lee Sau Dan
2002-12-13 16:36                                                 ` Kevin Rodgers
2002-12-13 18:59                                                   ` David Masterson
2002-12-13 19:41                                                     ` Kevin Rodgers
2002-12-13 19:42                                                   ` Anil Trivedi
2002-12-12 23:09                                               ` David Masterson
2002-12-13  9:05                                                 ` Kai Großjohann
2002-12-13 18:49                                                   ` David Masterson
2002-12-12 20:21                                             ` Ajanta
2002-12-12 21:16                                               ` Anil
2002-12-13  8:56                                                 ` Kai Großjohann
2002-12-13 11:24                                                 ` Francis Burton
2002-12-16 16:04                                                 ` Lee Sau Dan
2002-12-16 21:52                                                   ` Ajanta
2002-12-16 21:02                                                     ` Stefan Monnier <foo@acm.com>
2002-12-17  5:55                                                       ` Anil
2002-12-20 15:51                                                         ` Lee Sau Dan
2002-12-17  9:41                                                     ` Kai Großjohann
2002-12-17 17:34                                                       ` Ajanta
2002-12-17 17:55                                                         ` Kai Großjohann
2002-12-17 22:14                                                           ` Rodney Sparapani
2002-12-18  6:22                                                           ` Jonathon Isaac Swiderski
2002-12-18  8:51                                                             ` Kai Großjohann
2002-12-20 15:54                                                           ` Lee Sau Dan
2002-12-20 19:19                                                             ` Kai Großjohann
2002-12-20 19:31                                                               ` Alfred M. Szmidt
2002-12-16 21:59                                                   ` Ajanta
2002-12-17  9:54                                                   ` jdf23
2002-12-20 16:01                                                     ` Lee Sau Dan
2002-12-13  8:54                                               ` Kai Großjohann
2002-12-13 18:53                                                 ` David Masterson
2002-12-16 15:59                                               ` Lee Sau Dan
2002-12-17 18:29                                                 ` Ajanta
2002-12-17 22:24                                                   ` Tribhuvan
2002-12-18  8:32                                                     ` Kai Großjohann
2002-12-19  0:22                                                       ` David Masterson
2002-12-19 14:16                                                         ` Miles Bader
2002-12-19 14:44                                                           ` Fredrik Staxeng
     [not found]                                                             ` <fstx+u@update.uu.se>
2002-12-19 15:36                                                               ` Peter S Galbraith
     [not found]                                                             ` <mailman.420.1040313026.19936.help-gnu-emacs@gnu.org>
2002-12-19 16:47                                                               ` Fredrik Staxeng
2002-12-19 21:13                                                               ` David Masterson
2002-12-21  0:17                                                               ` Miles Bader
2002-12-20 22:19                                                             ` Alfred M. Szmidt
2002-12-21  0:13                                                             ` Miles Bader
2002-12-21 12:31                                                               ` Fredrik Staxeng
2002-12-21 23:15                                                                 ` Tribhuvan
2002-12-22  2:54                                                                 ` Miles Bader
2002-12-22 10:46                                                                   ` Fredrik Staxeng
2002-12-23 19:42                                                                     ` David Masterson
2002-12-19 21:14                                                           ` David Masterson
2002-12-19 23:38                                                             ` Tribhuvan
2002-12-20 19:06                                                               ` David Masterson
2002-12-20 19:51                                                                 ` Tribhuvan
2002-12-20 20:44                                                                   ` Tribhuvan
2002-12-20 15:14                                                           ` Kai Großjohann
2002-12-20 15:55                                                             ` Alfred M. Szmidt
     [not found]                                                             ` <mailman.464.1040400348.19936.help-gnu-emacs@gnu.org>
2002-12-20 19:09                                                               ` David Masterson
2002-12-20 19:27                                                                 ` Alfred M. Szmidt
2002-12-21  0:24                                                             ` Miles Bader
2002-12-21  2:32                                                               ` Tribhuvan
2002-12-21 12:50                                                               ` Fredrik Staxeng
2002-12-20 15:41                                                       ` Lee Sau Dan
2002-12-20 18:44                                                         ` Tribhuvan
2002-12-20 15:38                                                     ` Lee Sau Dan
     [not found]                                                   ` <mailman.343.1040149880.19936.help-gnu-emacs@gnu.org>
2002-12-17 22:33                                                     ` David Masterson
2002-12-17 23:17                                                       ` Tribhuvan
2002-12-18  8:34                                                       ` Kai Großjohann
2002-12-19  0:20                                                         ` David Masterson
2002-12-19  7:47                                                           ` Kai Großjohann
2002-12-20 15:36                                                           ` Lee Sau Dan
2002-12-20 19:01                                                             ` David Masterson
2002-12-20 15:34                                                       ` Lee Sau Dan
2002-12-20 18:58                                                         ` David Masterson
2002-12-24  6:24                                                           ` Luis Fernandes
2002-12-26 18:20                                                             ` David Masterson
2002-12-27  3:14                                                               ` Luis Fernandes
2002-12-27  4:35                                                                 ` Miles Bader
     [not found]                                                                 ` <mailman.637.1040963855.19936.help-gnu-emacs@gnu.org>
2002-12-27 12:48                                                                   ` Luis Fernandes
2002-12-27 15:39                                                                     ` Rodney Sparapani
2002-12-28  2:49                                                                     ` Miles Bader
2002-12-28 13:54                                                                       ` Luis Fernandes
2002-12-28 14:11                                                                         ` Kai Großjohann
2002-12-31 20:08                                                                       ` David Masterson
2002-12-27 17:36                                                                 ` David Masterson
2002-12-28  1:02                                                                   ` Luis Fernandes
2002-12-28 11:07                                                                     ` Kai Großjohann
2002-12-28 13:44                                                                       ` Peter S Galbraith
2002-12-28 13:49                                                                       ` Luis Fernandes
2002-12-31 20:05                                                                     ` David Masterson
2002-12-20 15:32                                                   ` Lee Sau Dan
2002-12-20 16:00                                                     ` Alfred M. Szmidt
     [not found]                                                       ` <ams@kemisten.nu>
2002-12-20 20:00                                                         ` Peter S Galbraith
2002-12-20 20:25                                                           ` Alfred M. Szmidt
2002-12-20 20:34                                                         ` Peter S Galbraith
2002-12-20 21:01                                                           ` Alfred M. Szmidt
     [not found]                                                           ` <mailman.482.1040418304.19936.help-gnu-emacs@gnu.org>
2002-12-20 21:40                                                             ` David Kastrup
2002-12-20 21:59                                                               ` Alfred M. Szmidt
2002-12-21  0:25                                                         ` Peter S Galbraith
2002-12-21 15:55                                                           ` Alfred M. Szmidt
     [not found]                                                           ` <mailman.498.1040486166.19936.help-gnu-emacs@gnu.org>
2002-12-21 16:22                                                             ` David Kastrup
     [not found]                                                   ` <ajanta@no.spam>
2002-12-17 18:29                                                     ` Peter S Galbraith
2002-12-24  0:05                                                     ` Peter S Galbraith
2002-12-12 23:14                                           ` Ajanta
2002-12-12 23:44                                             ` David Masterson [this message]
2002-12-13  9:11                                             ` Kai Großjohann
2002-12-12 14:11                                         ` Software/HD ecology (was Re:...Bug in Emacs 21.3.50) Stefan Monnier <foo@acm.com>
2002-12-12 20:50                                           ` Ajanta
2002-12-12 20:20                                             ` Stefan Monnier <foo@acm.com>
2002-12-12 23:02                                               ` Anil Trivedi
2002-12-13  1:29                                                 ` Miles Bader
2002-12-13 10:12                                                 ` Software/HD ecology Kai Großjohann
     [not found]                                                 ` <mailman.179.1039743000.19936.help-gnu-emacs@gnu.org>
2002-12-13 19:11                                                   ` Software/HD ecology (was Re:...Bug in Emacs 21.3.50) David Masterson
2002-12-13 19:32                                                     ` Stefan Monnier <foo@acm.com>
2002-12-17  0:33                                                       ` David Masterson
2002-12-12 20:27                                             ` Galen Boyer
2002-12-12 21:28                                             ` Anil Trivedi
2002-12-13  1:30                                               ` Miles Bader
2002-12-11 20:49                                     ` Software/HD ecology Kai Großjohann
2002-12-12  4:44                                       ` Anil Trivedi
2002-12-12  4:58                                         ` Miles Bader
2002-12-12  6:16                                         ` Eli Zaretskii
2002-12-12 14:50                                         ` Phillip Lord
2002-12-12 19:40                                           ` Kai Großjohann
2002-12-12 21:39                                           ` Anil Trivedi
2002-12-13  1:35                                             ` Miles Bader
2002-12-12 23:23                                       ` David Masterson
2002-12-11 21:34                                     ` Software/HD ecology (was Re:...Bug in Emacs 21.3.50) Bijan Soleymani
2002-12-10  5:23             ` Emacs 21.3.50 on Mac OSX 10.2.2 David Combs
2002-12-10  8:29               ` Ajanta
2002-12-07  8:19 ` Thanks to all (Re: Mac OSX TeX / To X11 or Not?) new2osx
2002-12-07  9:35   ` David Kastrup

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uk7ie4xam.fsf@synopsys.com \
    --to=dmaster@synopsys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).