From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulrich Mueller Subject: Re: Location of OpenDocument style files should be configurable Date: Sun, 1 Jan 2012 19:35:35 +0100 Message-ID: <20224.42871.411055.861546@a1i15.kph.uni-mainz.de> References: <20220.19946.360761.625682@a1i15.kph.uni-mainz.de> <81k45du97t.fsf@gmail.com> <20222.21041.522506.741641@a1i15.kph.uni-mainz.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhQG8-0001es-3M for emacs-orgmode@gnu.org; Sun, 01 Jan 2012 13:35:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhQG7-0004Dg-2l for emacs-orgmode@gnu.org; Sun, 01 Jan 2012 13:35:52 -0500 Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:35627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhQG6-0004D3-K6 for emacs-orgmode@gnu.org; Sun, 01 Jan 2012 13:35:51 -0500 In-Reply-To: <20222.21041.522506.741641@a1i15.kph.uni-mainz.de> 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: Jambunathan K Cc: emacs-orgmode@gnu.org >>>>> On Sat, 31 Dec 2011, Ulrich Mueller wrote: >>>>> On Sat, 31 Dec 2011, Jambunathan K wrote: >> Let know how things go. > Looks like the current git head is working fine. Sorry, I was a bit too fast with my reply. In fact, things are still broken. The problem is that when building org-odt.elc (with "make all"), the value of datadir is ignored. Instead, its value at the time of "make install" is embedded into the byte-compiled file. This fails, because Gentoo builds are done in a sandboxed environment, therefore org-odt.elc will contain some path like /var/tmp/portage/app-emacs/org-mode-7.8.02-r1/image/usr/share/emacs/etc/org-mode/styles/ instead of the correct /usr/share/emacs/etc/org-mode/styles/. So, could the build system please be changed, such that the datadir value at _compile_ time is taken, not at _install_ time? (And of course, it cannot be assumed that the final datadir exists at compile time.) Thanks, Ulrich