emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Johnny <yggdrasil@gmx.co.uk>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: byte-code: Error (org-odt): Cannot find factory styles files. Aborting.
Date: Mon, 16 Jan 2012 21:03:47 +0000	[thread overview]
Message-ID: <87hazv2wcs.fsf@gmx.co.uk> (raw)
In-Reply-To: <81d3ajdche.fsf@gmail.com> (Jambunathan K.'s message of "Mon, 16 Jan 2012 18:35:17 +0530")

Jambunathan K <kjambunathan@gmail.com> 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

      reply	other threads:[~2012-01-16 21:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-15 20:49 byte-code: Error (org-odt): Cannot find factory styles files. Aborting Johnny
2012-01-16  4:50 ` Jambunathan K
2012-01-16 11:54   ` Johnny
2012-01-16 12:17     ` Eric S Fraga
2012-01-16 13:05     ` Jambunathan K
2012-01-16 21:03       ` Johnny [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hazv2wcs.fsf@gmx.co.uk \
    --to=yggdrasil@gmx.co.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=kjambunathan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).