From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neuwirth Erich Subject: Re: Build fail on OSX Date: Wed, 3 Oct 2012 18:37:20 +0200 Message-ID: <93998354-906B-4B56-AF60-98A111EDE5AC@univie.ac.at> References: <16049284-8772-4F11-915B-5106302DC9C7@univie.ac.at> <87haqbj31g.fsf@bzg.ath.cx> <54E36255-0DD7-4C3F-A892-49EC68BB6A95@univie.ac.at> <87zk43h728.fsf@Rainer.invalid> Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\)) Content-Type: multipart/mixed; boundary="Apple-Mail=_A47B427A-A25C-4066-8DCF-54299E4ED938" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJRwy-00082q-N4 for emacs-orgmode@gnu.org; Wed, 03 Oct 2012 12:37:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJRws-0005rS-MK for emacs-orgmode@gnu.org; Wed, 03 Oct 2012 12:37:32 -0400 Received: from grace.univie.ac.at ([131.130.3.115]:39518) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJRws-0005rF-8o for emacs-orgmode@gnu.org; Wed, 03 Oct 2012 12:37:26 -0400 In-Reply-To: <87zk43h728.fsf@Rainer.invalid> 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: Achim Gratz , Mode Org --Apple-Mail=_A47B427A-A25C-4066-8DCF-54299E4ED938 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I do have my own local.mk (at the end of the message) where set things up OSXwise. I also add things for the new exporter and for R ORG_ADD_CONTRIB =3D org-e-* org-md org-export # e.g. the new exporter BTEST_EXTRA =3D ess-site # load ESS for R tests Here is more of my output: Mahler:org-mode neuwirth$ make up0 git remote update Fetching origin git pull Already up-to-date. Mahler:org-mode neuwirth$ make config =3D=3D=3D=3D=3D=3D=3D=3D=3D Emacs executable and Installation paths EMACS =3D /Applications/Emacs.app/Contents/MacOS/Emacs DESTDIR =3D=20 ORGCM =3D dirall ORG_MAKE_DOC =3D info html pdf lispdir =3D /Applications/Emacs.App/Contents/Resources/site-lisp/org infodir =3D /Applications/Emacs.App/Contents/Resources/info datadir =3D /Applications/Emacs.App/Contents/Resources/etc/org testdir =3D = /var/folders/cl/zktxb0v51ng7jfv0mspj2w940000gn/T//tmp-orgtest =3D=3D=3D=3D=3D=3D=3D=3D=3D Additional files from contrib/lisp org-e-ascii.el org-e-beamer.el org-e-groff.el org-e-html.el = org-e-latex.el org-e-man.el org-e-odt.el org-e-publish.el = org-e-texinfo.el org-md.el org-export.el =3D=3D=3D=3D=3D=3D=3D=3D=3D Org version make: Org-mode version 7.9.2 (release_7.9.2-399-g2e9427.dirty =3D> = /Applications/Emacs.App/Contents/Resources/site-lisp/org) make up1 produces (towards the end) make[1]: Nothing to be done for `all'. rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc install -m 644 -p ../contrib/lisp/org-e-ascii.el = ../contrib/lisp/org-e-beamer.el ../contrib/lisp/org-e-groff.el = ../contrib/lisp/org-e-html.el ../contrib/lisp/org-e-latex.el = ../contrib/lisp/org-e-man.el ../contrib/lisp/org-e-odt.el = ../contrib/lisp/org-e-publish.el ../contrib/lisp/org-e-texinfo.el = ../contrib/lisp/org-md.el ../contrib/lisp/org-export.el . org-version: 7.9.2 (release_7.9.2-399-g2e9427.dirty) Loading /Users/neuwirth/devel/org-mode/lisp/org-compat.el (source)... Loading /Users/neuwirth/devel/org-mode/mk/org-fixup.el (source)... Saving file /Users/neuwirth/devel/org-mode/lisp/org-version.el... Loading vc-git... Wrote /Users/neuwirth/devel/org-mode/lisp/org-version.el org-install: 7.9.2 (release_7.9.2-399-g2e9427.dirty) Loading /Users/neuwirth/devel/org-mode/lisp/org-compat.el (source)... Loading /Users/neuwirth/devel/org-mode/mk/org-fixup.el (source)... Symbol's function definition is void: org-make-org-install make[1]: *** [org-loaddefs.el] Error 255 make: *** [all] Error 2 Here is my local.mk (which worked up until now) --Apple-Mail=_A47B427A-A25C-4066-8DCF-54299E4ED938 Content-Disposition: attachment; filename=local.mk Content-Type: application/octet-stream; name="local.mk" Content-Transfer-Encoding: 7bit ##---------------------------------------------------------------------- ## NEVER EDIT THIS FILE, PUT ANY ADAPTATIONS INTO local.mk ##-8<------------------------------------------------------------------- ## CHECK AND ADAPT THE FOLLOWING DEFINITIONS ##---------------------------------------------------------------------- # Name of your emacs binary #EMACS = emacs EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs # Where local software is found #prefix = /usr/share prefix = /Applications/Emacs.App/Contents/Resources # Where local lisp files go. #lispdir= $(prefix)/emacs/site-lisp/org lispdir= $(prefix)/site-lisp/org # Where local data files go. #datadir = $(prefix)/emacs/etc/org datadir = $(prefix)/etc/org # Where info files go. infodir = $(prefix)/info # Define if you only need info documentation, the default includes html and pdf #ORG_MAKE_DOC = info # html pdf # Define if you want to include some (or all) files from contrib/lisp # just the filename please (no path prefix, no .el suffix), maybe with globbing ORG_ADD_CONTRIB = org-e-* org-md org-export # e.g. the new exporter # Where to create temporary files for the testsuite # respect TMPDIR if it is already defined in the environment TMPDIR ?= /tmp testdir = $(TMPDIR)/tmp-orgtest # Configuration for testing # add options before standard load-path BTEST_PRE = # add options after standard load path BTEST_POST = # -L /ert # needed for Emacs23, Emacs24 has ert built in # -L /ess # needed for running R tests # -L /htmlize # need at least version 1.34 for source code formatting BTEST_OB_LANGUAGES = awk C fortran maxima octave python sh R # R # requires ESS to be installed and configured # lilypond # extra packages to require for testing BTEST_EXTRA = ess-site # load ESS for R tests ##->8------------------------------------------------------------------- ## YOU MAY NEED TO ADAPT THESE DEFINITIONS ##---------------------------------------------------------------------- # How to run tests req-ob-lang = --eval '(require '"'"'ob-$(ob-lang))' req-extra = --eval '(require '"'"'$(req))' BTEST = $(BATCH) \ $(BTEST_PRE) \ --eval '(add-to-list '"'"'load-path "./lisp")' \ --eval '(add-to-list '"'"'load-path "./testing")' \ $(BTEST_POST) \ -l org-install.el \ -l testing/org-test.el \ $(foreach ob-lang,$(BTEST_OB_LANGUAGES),$(req-ob-lang)) \ $(foreach req,$(BTEST_EXTRA),$(req-extra)) \ --eval '(setq org-confirm-babel-evaluate nil)' \ -f org-test-run-batch-tests # Using emacs in batch mode. # BATCH = $(EMACS) -batch -vanilla # XEmacs BATCH = $(EMACS) -batch -Q # How to generate local.mk MAKE_LOCAL_MK = $(BATCH) \ --eval '(add-to-list '"'"'load-path "./lisp")' \ --eval '(load "org-compat.el")' \ --eval '(load "../mk/org-fixup.el")' \ --eval '(org-make-local-mk)' # Emacs must be started in lisp directory BATCHL = $(BATCH) \ --eval '(add-to-list '"'"'load-path ".")' # How to generate org-install.el MAKE_ORG_INSTALL = $(BATCHL) \ --eval '(load "org-compat.el")' \ --eval '(load "../mk/org-fixup.el")' \ --eval '(org-make-org-install)' # How to generate org-version.el MAKE_ORG_VERSION = $(BATCHL) \ --eval '(load "org-compat.el")' \ --eval '(load "../mk/org-fixup.el")' \ --eval '(org-make-org-version "$(ORGVERSION)" "$(GITVERSION)" "$(datadir)")' # How to byte-compile the whole source directory ELCDIR = $(BATCHL) \ --eval '(batch-byte-recompile-directory 0)' # How to byte-compile a single file ELC = $(BATCHL) \ --eval '(batch-byte-compile)' # How to make a pdf file from a texinfo file TEXI2PDF = texi2pdf --batch --clean # How to make a pdf file from a tex file PDFTEX = pdftex # How to create directories with leading path components # MKDIR = mkdir -m 755 -p # try this if you have no install MKDIR = install -m 755 -d # How to create the info files from the texinfo file MAKEINFO = makeinfo # How to create the HTML file TEXI2HTML = makeinfo --html --number-sections # How to find files FIND = find # How to remove files RM = rm -f # How to remove files recursively RMR = rm -fr # How to copy the lisp files and elc files to their destination. # CP = cp -p # try this if you have no install CP = install -m 644 -p # How to obtain administrative privileges # leave blank if you don't need this # SUDO = SUDO = sudo # Name of the program to install info files # INSTALL_INFO = ginstall-info # Debian: avoid harmless warning message INSTALL_INFO = install-info # target method for 'compile' ORGCM = dirall # ORGCM = dirall # 1x slowdown compared to default compilation method # ORGCM = single # 4x one Emacs process per compilation # ORGCM = source # 5x ditto, but remove compiled file immediately # ORGCM = slint1 # 3x possibly elicit more warnings # ORGCM = slint2 # 7x possibly elicit even more warnings --Apple-Mail=_A47B427A-A25C-4066-8DCF-54299E4ED938--