From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: mixed orgmode installation Date: Sun, 8 Sep 2013 12:52:03 -0500 Message-ID: References: <8761ugs8as.fsf@Rainer.invalid> <87d2ojs1t4.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIj9a-0005n9-5e for emacs-orgmode@gnu.org; Sun, 08 Sep 2013 13:52:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIj9Y-0004FN-QX for emacs-orgmode@gnu.org; Sun, 08 Sep 2013 13:52:06 -0400 Received: from mail-ob0-x22a.google.com ([2607:f8b0:4003:c01::22a]:62729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIj9Y-0004FJ-L2 for emacs-orgmode@gnu.org; Sun, 08 Sep 2013 13:52:04 -0400 Received: by mail-ob0-f170.google.com with SMTP id eh20so5245747obb.1 for ; Sun, 08 Sep 2013 10:52:04 -0700 (PDT) In-Reply-To: <87d2ojs1t4.fsf@Rainer.invalid> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Achim Gratz Cc: emacs-orgmode On Sun, Sep 8, 2013 at 11:41 AM, Achim Gratz wrote: > John Hendy writes: >> Could you elaborate on this? I'd always thought the exact opposite due >> to being burned in the past by stale junk littered around /usr/lib, >> /usr/bin, /usr/local/[bin/sbin]. Thus, for some things, I prefer to >> run them from the git repository since I know where they'll be vs. >> where `make install` might desire to put them. > > Git provides and manages the source tree and nothing else. To get a > reliable Org you need a self-consistent and complete installation =E2=80= =94 that > is usually provided by the build system. > I'm with you so far. But if all of Org lives in /path/to/org.git/lisp, what's to go wrong if it's there vs. /system/path/site-lisp? > http://orgmode.org/worg/dev/org-build-system.html > > The most logical place for that Org installation is site-lisp (since > then load-path is already set up correctly), but you can install almost > anywhere as long as you know where load-path is pointing to at all > times. You could then have multiple versions of Org installed and use > them for different instances or versiosn of Emacs (one at a time, > obviously). > >> What happens, for example, in this situation: >> - git clone >> - make && make install > > You just need to "make install" and it's been that way for over two > years now=E2=80=A6 > Sorry, I never do make install, so that was an oversight. >> - some file.el gets moved from org.git/contrib/lisp to org.git/lisp in m= aster >> - git pull >> - make && make install > > And this is what "make up2" is doing, plus testing so the install won't > be attempted if the tests don't pass. > >> Are there now two copies of file.el somewhere in the system? > > No, unless you've changed the install location inbetween. If a file > would be removed (or renamed), then you'd need to first issue a "make > clean-install" to make sure it is really gone from your installation. > I'm not sure I follow this one. Does `make up2` look for changed paths (contrib/lisp vs lisp/) since the last `make up2` ? If not, how would I know to do `make clean-install` vs. just `make install`? >> Anyway, if there's more to read on some of your situations, I'd love >> to know as I've been doing exactly that and want to stop if it's >> recommended against! Thanks for mentioning the potential risk, as I >> had no idea! > > I'm not exactly sure what problem you are talking about, maybe you could > clarify. In any case it seems there's been a mixup of different problems > in this thread. I'm talking about your original comment that running out of a git repo can lead to: - it being just to easy to mess up with the autoloads - have stale byte-compiled files I forgot about somewhere John P.S. And yes, I derailed from the mixed install case due to your comment as I thought it was worth looking into. I'm doing what you advise against and I wanted to know the risks and more details about what I might run into. > > > Regards, > Achim. > -- > +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ > > Factory and User Sound Singles for Waldorf rackAttack: > http://Synth.Stromeko.net/Downloads.html#WaldorfSounds > >