From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vicente Vera Subject: Re: Installing from git Date: Tue, 1 Jul 2014 16:16:09 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e014940f04b348c04fd2772da Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X24TM-0004iB-RH for emacs-orgmode@gnu.org; Tue, 01 Jul 2014 16:16:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X24TL-0007KK-5t for emacs-orgmode@gnu.org; Tue, 01 Jul 2014 16:16:12 -0400 Received: from mail-we0-x236.google.com ([2a00:1450:400c:c03::236]:47766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X24TK-0007KC-RM for emacs-orgmode@gnu.org; Tue, 01 Jul 2014 16:16:11 -0400 Received: by mail-we0-f182.google.com with SMTP id q59so10282080wes.27 for ; Tue, 01 Jul 2014 13:16:10 -0700 (PDT) In-Reply-To: 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: John Hendy Cc: emacs-orgmode --089e014940f04b348c04fd2772da Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable It seems i'm flooding John's inbox trying to send back this message into the discussion. I'm deeply sorry for that. I did what John suggested: - git clone... - cd to the repository - make (which i think does two things, byte-compilation and generating org-loaddefs.el) - add lisp dir to load-path It did worked since M-x org-version shows the right path (and version), but i'm used to browse the Info manual quite regularly. Before switching to GNU/Linux I used to install the ELPA package on a freshly unpacked Emacs (trunk builds for Windows); it was a pretty straightforward process and it seems to take care of everything. I'm not going to do that again since the ELPA package comes from the maint branch. Achim Gratz writes: > The default install method installs into site-lisp, not into the Emacs > install directory. The reason I keep advocating that method is that > conveniently the buil-in load-path is already set up to do the right > thing from the very beginning (you only need to remember to require > org-loaddefs from your .emacs) and you can fall back easily to the > built-in Org from Emacs itself if needed. Thanks for your reply. Which one is the default install method? If it's 'make install', do i need to tweak local.mk because of the location of my Emacs installation (as explained here: http://orgmode.org/worg/dev/org-build-system.html#sec-4-1-3)? In my system (Debian) Emacs is in /usr/local/. And does this method allows to have the latest info manual without overriding the built-in org-mode installation? 2014-06-30 18:51 GMT-04:00 John Hendy : > On Mon, Jun 30, 2014 at 5:44 PM, Vicente Vera > wrote: > > Hello. I'm quite confused with the installation options. > > > > Recently started out a Debian base system and compiled Emacs from the b= zr > > repository. That came out fine, so I ran 'make install' and now Emacs > > 24.4.50 sits in /usr/local/bin, /usr/local/share, etc. > > > > I want to install the master branch of org-mode. Currently I followed > these > > steps: > > > > - cd ~/org_from_git/ > > - git clone git://orgmode.org/org-mode.git > > > > =C2=BFDo i need to tweak 'local.mk' so the prefix variable points to > > /usr/local/share before running make? > > =C2=BFWhich make option should i use (besides 'make autoloads')? > > Did you search around a bit? There's lots of posts with people's > setups. You certainly *can* install over the top of the Org that came > with your version of Emacs (pointing it to install to > /usr/local/share, I suppose), though I've never gone that route. Some > mailing list examples from googling about Orgmode git installation: > - Achim's post: > http://lists.gnu.org/archive/html/emacs-orgmode/2013-05/msg00609.html > - My setup: > http://lists.gnu.org/archive/html/emacs-orgmode/2014-04/msg00396.html > > From mine, you'll note I never "install" Org -- just clone to a > directory, make, and tell Emacs about it in .emacs... done! > > > John > > > > > Thanks in advance. > --089e014940f04b348c04fd2772da Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It seems i'm flooding John's inbox trying to = send back this message into the discussion. I'm deeply sorry for that.<= br>
I did what John suggested:
- git clone...
- cd to the reposito= ry
- make (which i think does two things, byte-compilation and generating org-= loaddefs.el)
- add lisp dir to load-path

It did worked since M-x = org-version shows the right path (and version), but i'm used to browse = the Info manual quite regularly. Before switching to GNU/Linux I used to in= stall the ELPA package on a freshly unpacked Emacs (trunk builds for Window= s); it was a pretty straightforward process and it seems to take care of ev= erything. I'm not going to do that again since the ELPA package comes f= rom the maint branch.

Achim Gratz writes:
> The default install method installs into si= te-lisp, not into the Emacs
> install directory. =C2=A0The reason I k= eep advocating that method is that
> conveniently the buil-in load-pa= th is already set up to do the right
> thing from the very beginning (you only need to remember to require> org-loaddefs from your .emacs) and you can fall back easily to the> built-in Org from Emacs itself if needed.

Thanks for your repl= y. Which one is the default install method? If it's 'make install&#= 39;, do i need to tweak local.mk because of= the location of my Emacs installation (as explained here: http://orgmode.org/= worg/dev/org-build-system.html#sec-4-1-3)? In my system (Debian) Emacs = is in /usr/local/.

And does this method allows to have the latest info manual withou= t overriding the built-in org-mode installation?


2014-06-30 18:51 GMT-04:00 Joh= n Hendy <jw.hendy@gmail.com>:
On M= on, Jun 30, 2014 at 5:44 PM, Vicente Vera <vicentemvp@gmail.com> wrote:
> Hello. I'm quite confused with the installation options.
>
> Recently started out a Debian base system and compiled Emacs from the = bzr
> repository. That came out fine, so I ran 'make install' and no= w Emacs
> 24.4.50 sits in /usr/local/bin, /usr/local/share, etc.
>
> I want to install the master branch of org-mode. Currently I followed = these
> steps:
>
> - cd ~/org_from_git/
> - git clone git://orgmode.org/org-mode.git
>
> =C2=BFDo i need to tweak 'local.mk' so the prefix variable points to
> /usr/local/share before running make?
> =C2=BFWhich make option should i use (besides 'make autoloads'= )?

Did you search around a bit? There's lots of posts with peo= ple's
setups. You certainly *can* install over the top of the Org that came
with your version of Emacs (pointing it to install to
/usr/local/share, I suppose), though I've never gone that route. Some mailing list examples from googling about Orgmode git installation:
- Achim's post:
http://lists.gnu.org/archive/html/emacs-orgmode/20= 13-05/msg00609.html
- My setup: http://lists.gnu.org/archive/html/emac= s-orgmode/2014-04/msg00396.html

>From mine, you'll note I never "install" Org -- just clone to= a
directory, make, and tell Emacs about it in .emacs... done!


John

>
> Thanks in advance.

--089e014940f04b348c04fd2772da--