From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johnny Subject: Re: byte-code: Error (org-odt): Cannot find factory styles files. Aborting. Date: Mon, 16 Jan 2012 21:03:47 +0000 Message-ID: <87hazv2wcs.fsf@gmx.co.uk> References: <87k44szo5p.fsf@gmx.co.uk> <81d3akl089.fsf@gmail.com> <87pqej2771.fsf@gmx.co.uk> <81d3ajdche.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34979) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmtrK-0002Tq-JP for emacs-orgmode@gnu.org; Mon, 16 Jan 2012 16:12:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmtrJ-0000dh-FB for emacs-orgmode@gnu.org; Mon, 16 Jan 2012 16:12:54 -0500 Received: from mailout-eu.gmx.com ([213.165.64.42]:60045) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RmtrJ-0000dZ-7A for emacs-orgmode@gnu.org; Mon, 16 Jan 2012 16:12:53 -0500 In-Reply-To: <81d3ajdche.fsf@gmail.com> (Jambunathan K.'s message of "Mon, 16 Jan 2012 18:35:17 +0530") 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 Jambunathan K writes: > Hello Johnny > >>> It looks like one of your installation step is non-standard. There is an >>> easy workaround available but I would like to make sure that org-odt >>> auto-configures itself with minimal user intervention. >> >> Make on unmodified Makefile, manually moved to /usr/local/share >> direcory. > > You MUST NOT copy files by hand. You MUST use 'make install' to copy the > files. > > There are two variables - lispdir and datadir - that determine where the > lisp and styles files go. Here is the unmodified Makefile. > > ,---- Makefile > | # Where local software is found > | prefix=/usr/local > | > | # Where local lisp files go > | lispdir = $(prefix)/share/emacs/site-lisp > | > | # Where data files go > | # $(datadir) contains auxiliary files for use with ODT exporter. > | # See comments under DATAFILES. > | datadir = $(prefix)/share/emacs/etc > `---- > > If you do M-x locate-library RET org-odt RET on your current > installation, you are likely to see the following message: > ,---- > | Library is file "/usr/local/share/emacs/org-mode" as directory. > `---- > > Based on the above setting, you can modify the default lispdir as > follows: > > ,---- Makefile > | # Where local lisp files go > | lispdir = $(prefix)/share/emacs/org-mode <================ > | > | # Where data files go > | # $(datadir) contains auxiliary files for use with ODT exporter. > | # See comments under DATAFILES. > | datadir = $(prefix)/share/emacs/etc > `---- > > The style files will then get automatically get copied to > /usr/local/share/emacs/etc. > > It's NOT important what the values for lispdir and datadir are. What is > VERY IMPORTANT is that you use "make install" to copy the files. > >> >>> - What OS/Distrib are you using >> >> Fedora 16. > > I am on Windows. I don't use any of the Gnu/Linuxes. > > I am not sure what Fedora policy for installation is. May be org-7.8.03 > hasn't hit Fedora yet and that's the reason why you chose to download > and install by hand. > > FYI, Gentoo uses the following values for lispdir and datadir. > prefix = /usr > lispdir = $(prefix)/share/emacs/site-lisp/org-mode/ > datadir = $(prefix)/share/emacs/etc/org-mode/ > > See > http://lists.gnu.org/archive/html/emacs-orgmode/2011-12/msg00800.html. Thanks Jambunathan and Eric for your advice! This seems completely reasonable and a self induced error; I will try reinstall with this method in a couple of days and improve my makefile-editing / git updating skills! Cheers -- Johnny