From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: HTML export fails with (void-variable org-version) Date: Wed, 25 Apr 2012 17:07:00 -0400 Message-ID: <877gx3cyh7.fsf@norang.ca> References: <87mx62y4k0.fsf@gmx.com> <8762cq1n28.fsf@gnu.org> <87obqi304y.fsf@Rainer.invalid> <87fwbrdbps.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN9Qa-0008WL-4w for emacs-orgmode@gnu.org; Wed, 25 Apr 2012 17:07:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SN9QY-0001bu-6o for emacs-orgmode@gnu.org; Wed, 25 Apr 2012 17:07:07 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:21400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN9QY-0001bf-3u for emacs-orgmode@gnu.org; Wed, 25 Apr 2012 17:07:06 -0400 In-Reply-To: (Jonathan Leech-Pepin's message of "Wed, 25 Apr 2012 13:18:40 -0400") 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: Jonathan Leech-Pepin Cc: Achim Gratz , emacs-orgmode@gnu.org Jonathan Leech-Pepin writes: > Hello Bernt > > On Wed, Apr 25, 2012 at 12:21, Bernt Hansen wrote: >> Achim Gratz writes: >> >>> Bastien writes: >>>> In the meantime, if you don't want to compile (I do not) the stupid >>>> workaround is to set org-version in your config... =C2=A0but yeah, let= 's >>>> fix this upstream ASAP. >>> >>> Again, the issue here is not compilation, but missing autoloads. >>> >>> make autoloads >>> >>> And if you still think you must override this, the thing(s) to set is >>> >>> (defconst org-release) >>> (defconst org-git-release) >>> >>> ...which incidentally is what "make autoloads" will put into >>> org-install.el, with a docstring and all that. >> >> I don't think make autoloads is an option for me at work... =C2=A0I'm us= ing >> GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO >> and I don't have make available... >> >> I use git under Cygwin to get the org-mode repository and access it from >> NT Emacs. > > If you're using Cygwin you should be able to install make. It's under > the devel section in the Cygwin installer. > > Of course this won't help anyone who is unable to install Cygwin/Mingw > to use make, which means an alternate solution would be useful. > I tried that... and installed emacs under Cygwin (so it can find emacs to run emacs -batch) and then had to fix permissions on org-install (since it's on a windows drive) before make autoloads worked. I didn't spend any time trying to correct install locations in the makefile. I run org-mode without compiling any sources normally and having to do the extra make step each time I move around the source tree isn't going to be very enjoyable. I have no idea if I need to rerun this make autoloads command on a regular basis or not. I'll continue working on the master branch tomorrow and see what breaks. Thanks, Bernt