This is my setup in .emacs; it runs without problems version after version.

;;
;; Remove Org remnants built into Emacs
;;
;; from Achim Gratz
;; https://github.com/emacsmirror/org/blob/master/testing/org-batch-test-init.el

;; clean load-path
(setq load-path
      (delq nil (mapcar
         (function (lambda (p)
                 (unless (string-match "lisp\\(/packages\\)?/org$" p)
                   p)))
         load-path)))
;; remove property list to defeat cus-load and remove autoloads
(mapatoms (function  (lambda (s)
               (let ((sn (symbol-name s)))
             (when (string-match "^\\(org\\|ob\\|ox\\)\\(-.*\\)?$" sn)
               (setplist s nil)
               (when (eq 'autoload (car-safe s))
                 (unintern s)))))))

;; we should now start from a clean slate

;;(setq myorg "master")
(setq myorg "maint" ) ;; I have several directories under ~/org-mode/ with different
                      ;; versions so I can change "easily"

;;(add-to-list 'load-path (concat "~/org-mode/" myorg "/testing/lisp"))
;;(add-to-list 'load-path (concat "~/org-mode/" myorg "/testing"))
(add-to-list 'load-path (concat "~/org-mode/" myorg "/contrib/lisp"))
(add-to-list 'load-path (concat "~/org-mode/" myorg "/lisp"))


(require 'info)
(setq Info-directory-list
  (cons (expand-file-name (concat "~/org-mode/" myorg "/doc"))
    Info-default-directory-list))

(setq org-odt-data-dir (expand-file-name (concat "~/org-mode/" myorg "/etc")))

(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))

(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-cc" 'org-capture)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)

HTH


El Jueves 16 de enero de 2014 6:47, Rustom Mody <rustompmody@gmail.com> escribió:
Just helped a friend to install and upgrade to latest org.
Method summary:
$ git clone
$ make update
combined with setup of load-paths

Ended with: ox-odt cannot find factory style files

I remember that I too had this problem
http://lists.gnu.org/archive/html/emacs-orgmode/2013-07/msg00341.html
and it had recently disappeared.

Checked that it comes back it I use emacs23; goes away if I use emacs24
Checked that the messages when it works in emacs24 are like thus:

Debug (ox-odt): Searching for OpenDocument styles files...
Debug (ox-odt): Trying /usr/share/emacs/etc/org/styles/... [2 times]
Debug (ox-odt): Trying ~/pdsw/etc/styles/...
Debug (ox-odt): Trying ~/pdsw/org-mode/lisp/etc/styles/...
Debug (ox-odt): Trying /usr/share/emacs/24.3/etc/org/...
Debug (ox-odt): Using styles under /usr/share/emacs/24.3/etc/org/
Debug (ox-odt): Searching for OpenDocument schema files...
Debug (ox-odt): Trying /usr/share/emacs/etc/org/schema/... [2 times]
Debug (ox-odt): No OpenDocument schema files installed

So evidently my 'working' odt export is working because its using the
builtin emacs odt exporter and not the latest one

Looking at org-odt-* stuff I see almost a dozen files and directories
and file lists and what not.

All attempts so far at doing
        (setq org-odt-styles-dir "~/pdsw/org-mode/etc/styles")
in various places, hooks etc have not changed the fact that it gets
the builtin one