From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Kunkel Subject: Compiling Org Mode on Windows - "date" Bug? Date: Sat, 5 Apr 2014 17:43:36 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b33c8facdcf5804f65286c7 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWYNG-0001uu-Eb for emacs-orgmode@gnu.org; Sat, 05 Apr 2014 17:43:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWYNF-0002mI-DU for emacs-orgmode@gnu.org; Sat, 05 Apr 2014 17:43:38 -0400 Received: from mail-oa0-x235.google.com ([2607:f8b0:4003:c02::235]:40318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWYNF-0002m5-8O for emacs-orgmode@gnu.org; Sat, 05 Apr 2014 17:43:37 -0400 Received: by mail-oa0-f53.google.com with SMTP id j17so5145975oag.12 for ; Sat, 05 Apr 2014 14:43:36 -0700 (PDT) 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: emacs-orgmode@gnu.org --047d7b33c8facdcf5804f65286c7 Content-Type: text/plain; charset=ISO-8859-1 Hi all, I, for reasons I cannot control, have to use Windows. I've been using emacs and the version of org mode packaged with emacs. However, I've wanted to use org-drill, which as far as I understand requires compiling org-mode from source. I copied local.mk from the "Emacs on Windows" section here: http://orgmode.org/worg/dev/org-build-system.html. However, when I then run make, it hangs. I've traced the problem to the fact that make is trying to run a temporary batch script with cmd, with the contents: @echo off date +%Y-%m-%d As "+%Y-%m-%d" is not valid input to the DOS "date" command, (which, unlike the Linux version, only sets the date), it prompts for acceptable input and the program hangs. Why is this happening, and how can I make it not happen? Thanks, Will Kunkel --047d7b33c8facdcf5804f65286c7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi all,

I, for reasons I cannot control, have = to use Windows. I've been using emacs and the version of org mode packa= ged with emacs. However, I've wanted to use org-drill, which as far as = I understand requires compiling org-mode from source. I copied local.mk from the "Emacs on Windows" section = here: http://= orgmode.org/worg/dev/org-build-system.html. However, when I then run ma= ke, it hangs.

I've traced the problem to the fact that make is trying = to run a temporary batch script with cmd, with the contents:

@echo o= ff
date +%Y-%m-%d

As "+%Y-%m-%d" is not vali= d input to the DOS "date" command, (which, unlike the Linux versi= on, only sets the date), it prompts for acceptable input and the program ha= ngs.

Why is this happening, and how can I make it not happen?
=
Thanks,
Will Kunkel
--047d7b33c8facdcf5804f65286c7-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Compiling Org Mode on Windows - "date" Bug? Date: Sun, 06 Apr 2014 09:02:05 +0200 Message-ID: <877g732b6a.fsf@Rainer.invalid> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWh62-0003w5-A5 for emacs-orgmode@gnu.org; Sun, 06 Apr 2014 03:02:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWh5v-00011O-Kx for emacs-orgmode@gnu.org; Sun, 06 Apr 2014 03:02:26 -0400 Received: from plane.gmane.org ([80.91.229.3]:46495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWh5v-00011H-EE for emacs-orgmode@gnu.org; Sun, 06 Apr 2014 03:02:19 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WWh5u-0003Tj-2B for emacs-orgmode@gnu.org; Sun, 06 Apr 2014 09:02:18 +0200 Received: from pd9eb34b5.dip0.t-ipconnect.de ([217.235.52.181]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Apr 2014 09:02:18 +0200 Received: from Stromeko by pd9eb34b5.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Apr 2014 09:02:18 +0200 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: emacs-orgmode@gnu.org William Kunkel writes: > I've traced the problem to the fact that make is trying to run a > temporary batch script with cmd, with the contents: > > @echo off > date +%Y-%m-%d There is no such batch script in the entire Org distribution, nor should the build system ever try to run cmd for anything (you really need a POSIX shell for anything make doesn't use built-ins for), so it seems you're using some strange make and/or have the PATH set incorrectly. If you're not using a recent GNU Make, you can try to compile Org without one (as described in the FAQ on Worg), however I'd suggest you use the ELPA package instead. That said, the result of the particular invocation that requires date is only used in the documentation, so if you really want to see how far you can progress beyond that, simply remove the "$(shell date +%Y-%m-%d)" in mk/targets.mk and replace it with the current date like "2014-04-06". Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Kunkel Subject: Re: Compiling Org Mode on Windows - "date" Bug? Date: Sun, 6 Apr 2014 14:09:27 -0400 Message-ID: References: <877g732b6a.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c30018c7f12704f663a652 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWrVc-00023e-2u for emacs-orgmode@gnu.org; Sun, 06 Apr 2014 14:09:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWrVY-0007zh-3N for emacs-orgmode@gnu.org; Sun, 06 Apr 2014 14:09:32 -0400 Received: from mail-oa0-x231.google.com ([2607:f8b0:4003:c02::231]:41475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWrVX-0007zb-RR for emacs-orgmode@gnu.org; Sun, 06 Apr 2014 14:09:28 -0400 Received: by mail-oa0-f49.google.com with SMTP id o6so5594487oag.8 for ; Sun, 06 Apr 2014 11:09:27 -0700 (PDT) In-Reply-To: <877g732b6a.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@gnu.org --001a11c30018c7f12704f663a652 Content-Type: text/plain; charset=ISO-8859-1 Does the ELPA package include packages not bundled with Emacs (Those marked "C" in customize-variable org-modules)? Installing it didn't seem to make the org-drill module available. As for the date problem, I guess it's trying to use cmd as my default shell and generating the temporary batch script automatically; I'll try to get that sorted out somehow. Thanks, Will On Sun, Apr 6, 2014 at 3:02 AM, Achim Gratz wrote: > William Kunkel writes: > > I've traced the problem to the fact that make is trying to run a > > temporary batch script with cmd, with the contents: > > > > @echo off > > date +%Y-%m-%d > > There is no such batch script in the entire Org distribution, nor should > the build system ever try to run cmd for anything (you really need a > POSIX shell for anything make doesn't use built-ins for), so it seems > you're using some strange make and/or have the PATH set incorrectly. If > you're not using a recent GNU Make, you can try to compile Org without > one (as described in the FAQ on Worg), however I'd suggest you use the > ELPA package instead. > > That said, the result of the particular invocation that requires date is > only used in the documentation, so if you really want to see how far you > can progress beyond that, simply remove the "$(shell date +%Y-%m-%d)" in > mk/targets.mk and replace it with the current date like "2014-04-06". > > > Regards, > Achim. > -- > +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ > > SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: > http://Synth.Stromeko.net/Downloads.html#WaldorfSDada > > > --001a11c30018c7f12704f663a652 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Does the ELPA package include packages not bundl= ed with Emacs (Those marked "C" in customize-variable org-modules= )? Installing it didn't seem to make the org-drill module available. As= for the date problem, I guess it's trying to use cmd as my default she= ll and generating the temporary batch script automatically; I'll try to= get that sorted out somehow.

Thanks,
Will

On Sun, Apr 6, 2014 at 3:02 AM, Achim Gratz <S= tromeko@nexgo.de> wrote:
William Kunkel writes:
> I've traced the problem to the fact that make is trying to run a > temporary batch script with cmd, with the contents:
>
> @echo off
> date +%Y-%m-%d

There is no such batch script in the entire Org distribution, nor should the build system ever try to run cmd for anything (you really need a
POSIX shell for anything make doesn't use built-ins for), so it seems you're using some strange make and/or have the PATH set incorrectly. = =A0If
you're not using a recent GNU=A0Make, you can try to compile Org withou= t
one (as described in the FAQ on Worg), however I'd suggest you use the<= br> ELPA package instead.

That said, the result of the particular invocation that requires date is only used in the documentation, so if you really want to see how far you can progress beyond that, simply remove the "$(shell date +%Y-%m-%d)&q= uot; in
mk/targets.mk and repla= ce it with the current date like "2014-04-06".


Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+<= br>
SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada



--001a11c30018c7f12704f663a652-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Compiling Org Mode on Windows - "date" Bug? Date: Sun, 06 Apr 2014 20:23:04 +0200 Message-ID: <87ppku1fnb.fsf@Rainer.invalid> References: <877g732b6a.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWrj8-0000UF-Te for emacs-orgmode@gnu.org; Sun, 06 Apr 2014 14:23:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWriy-0004A1-U8 for emacs-orgmode@gnu.org; Sun, 06 Apr 2014 14:23:30 -0400 Received: from plane.gmane.org ([80.91.229.3]:37149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWriy-00049q-Ns for emacs-orgmode@gnu.org; Sun, 06 Apr 2014 14:23:20 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WWrix-0005LK-LE for emacs-orgmode@gnu.org; Sun, 06 Apr 2014 20:23:19 +0200 Received: from pd9eb18f6.dip0.t-ipconnect.de ([217.235.24.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Apr 2014 20:23:19 +0200 Received: from Stromeko by pd9eb18f6.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Apr 2014 20:23:19 +0200 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: emacs-orgmode@gnu.org William Kunkel writes: > Does the ELPA package include packages not bundled with Emacs (Those > marked "C" in customize-variable org-modules)? The org-plus-contrib package does. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Kunkel Subject: Re: Compiling Org Mode on Windows - "date" Bug? Date: Sun, 6 Apr 2014 14:34:36 -0400 Message-ID: References: <877g732b6a.fsf@Rainer.invalid> <87ppku1fnb.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2fcbabc569504f664008b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWrtu-0006pM-IQ for emacs-orgmode@gnu.org; Sun, 06 Apr 2014 14:34:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WWrtt-0007Pu-4g for emacs-orgmode@gnu.org; Sun, 06 Apr 2014 14:34:38 -0400 Received: from mail-ob0-x230.google.com ([2607:f8b0:4003:c01::230]:43335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WWrts-0007Pf-Vv for emacs-orgmode@gnu.org; Sun, 06 Apr 2014 14:34:37 -0400 Received: by mail-ob0-f176.google.com with SMTP id wp18so5575713obc.21 for ; Sun, 06 Apr 2014 11:34:36 -0700 (PDT) In-Reply-To: <87ppku1fnb.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@gnu.org --001a11c2fcbabc569504f664008b Content-Type: text/plain; charset=ISO-8859-1 Wow, I sure feel silly now. This is so much easier than trying to get the damn thing compiled under Windows. Thanks! - Will On Sun, Apr 6, 2014 at 2:23 PM, Achim Gratz wrote: > William Kunkel writes: > > Does the ELPA package include packages not bundled with Emacs (Those > > marked "C" in customize-variable org-modules)? > > The org-plus-contrib package does. > > > Regards, > Achim. > -- > +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ > > SD adaptation for Waldorf microQ V2.22R2: > http://Synth.Stromeko.net/Downloads.html#WaldorfSDada > > > --001a11c2fcbabc569504f664008b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Wow, I sure feel silly now. This is so much easier th= an trying to get the damn thing compiled under Windows. Thanks!

- Will


On Sun, Apr 6, 2014 at 2:23 PM, Achim Gratz <Stromeko@nexgo.de> wrote:
William Kunkel writes:
> Does the ELPA package include packages not bundled with Emacs (Those > marked "C" in customize-variable org-modules)?

The org-plus-contrib package does.


Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+<= br>
SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada



--001a11c2fcbabc569504f664008b--