From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: patch org-mode Makefile - solve a couple debian build problems and a slackware build problem Date: Sat, 09 Jul 2011 08:26:11 +0200 Message-ID: <87vcvckm0s.fsf@Rainer.invalid> References: <8739ii885d.fsf@gnu.org> <21342.1310116208@alphaville.dokosmarshall.org> <87k4bsfmuv.fsf@Rainer.invalid> <4397.1310165406@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfQzl-0006G9-AJ for emacs-orgmode@gnu.org; Sat, 09 Jul 2011 02:26:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QfQzj-0004Ru-Eo for emacs-orgmode@gnu.org; Sat, 09 Jul 2011 02:26:28 -0400 Received: from lo.gmane.org ([80.91.229.12]:53320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfQzi-0004Rq-SU for emacs-orgmode@gnu.org; Sat, 09 Jul 2011 02:26:27 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QfQzh-00023L-9n for emacs-orgmode@gnu.org; Sat, 09 Jul 2011 08:26:25 +0200 Received: from p57aad5af.dip.t-dialin.net ([87.170.213.175]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Jul 2011 08:26:25 +0200 Received: from Stromeko by p57aad5af.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Jul 2011 08:26:25 +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 Nick Dokos writes: > I'm actually hoping that nothing of the sort will be needed, but given > that I don't have either debian squeeze or slackware available, I can't > really see what goes wrong. Well, I've had a look on some server I have admin access to: what goes wrong on Debian (Lenny+Backports) is this: # install-info --version Debian install-info Version 1.14.31. # ginstall-info --version install-info (GNU texinfo) 4.13 The Makefile obviously expects a GNU install-info (which should probably be documented someplace). Now, install-info lives in /usr/sbin/ and ginstall-info in /usr/bin, also linked to /usr/bin/install-info. But if you're installing as root (something I don't really fancy, but it's probably too late for Linux to rectify that), /usr/sbin/ is earlier in your path than /usr/bin. So, in this particular case it should be sufficient to just drop /sbin and /usr/sbin from the PATH during make. > As for /etc/issue, you are probably right: I never touch it but that > means nothing. OTOH, it does illustrate how to make Makefiles do stupid > pet tricks. A Makefile is not the place to pull stunts, IMHO. Whenever you feel that should become necessary, maybe it's time to go autoconf or some similar mechanism. I don't think that's the right thing to do for org-mode, since it again adds some dependency on other software. 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