emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Build fail on OSX
@ 2012-10-03  9:39 Neuwirth Erich
  2012-10-03  9:52 ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Neuwirth Erich @ 2012-10-03  9:39 UTC (permalink / raw)
  To: Mode Org

Until now, I was able to build from git (OSX 10.8.2, Emacs 24.2),
but just now 
make up1 
fails with the following error


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-390-g50fe7c.dirty)
Loading /Users/neuwirth/devel/org-mode/lisp/org-compat.el (source)...
Loading /Users/neuwirth/devel/org-mode/mk/org-fixup.el (source)...
Wrong number of arguments: (lambda (org-release org-git-version) "Make the file org-version.el in the current directory.
This function is internally used by the build system and should
be used by foreign build systems or installers to produce this
file in the installation directory of org-mode.  Org will not
work correctly if this file is not present (except directly from
the Git work tree)." (with-temp-buffer (insert ";;; org-version.el --- autogenerated file, do not edit
;;
;;; Code:
;;;###autoload
(defun org-release ()
  \"The release version of org-mode.
  Inserted by installing org-mode or when a release is made.\"
   (let ((org-release \"" org-release "\"))
     org-release))
;;;###autoload
(defun org-git-version ()
  \"The Git version of org-mode.
  Inserted by installing org-mode or when a release is made.\"
   (let ((org-git-version \"" org-git-version "\"))
     org-git-version))


(provide 'org-version)


;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; coding: utf-8
;; End:
;;; org-version.el ends here
") (toggle-read-only 0) (write-file "org-version.el"))), 3
make[1]: *** [org-version.el] Error 255
make: *** [all] Error 2

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Build fail on OSX
  2012-10-03  9:39 Build fail on OSX Neuwirth Erich
@ 2012-10-03  9:52 ` Bastien
  2012-10-03 15:55   ` Neuwirth Erich
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2012-10-03  9:52 UTC (permalink / raw)
  To: Neuwirth Erich; +Cc: Mode Org

Hi Erich,

Neuwirth Erich <erich.neuwirth@univie.ac.at> writes:

> Until now, I was able to build from git (OSX 10.8.2, Emacs 24.2),
> but just now 
> make up1 
> fails with the following error

Please git pull manually before using make up1 and let us know if 
this fixes your problem.

Thanks,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Build fail on OSX
  2012-10-03  9:52 ` Bastien
@ 2012-10-03 15:55   ` Neuwirth Erich
  2012-10-03 16:08     ` Achim Gratz
  0 siblings, 1 reply; 7+ messages in thread
From: Neuwirth Erich @ 2012-10-03 15:55 UTC (permalink / raw)
  To: Mode Org

The probleme persists even if I try what you suggested/

On Oct 3, 2012, at 11:52 AM, Bastien <bzg@altern.org> wrote:

> Hi Erich,
> 
> Neuwirth Erich <erich.neuwirth@univie.ac.at> writes:
> 
>> Until now, I was able to build from git (OSX 10.8.2, Emacs 24.2),
>> but just now 
>> make up1 
>> fails with the following error
> 
> Please git pull manually before using make up1 and let us know if 
> this fixes your problem.
> 
> Thanks,
> 
> -- 
> Bastien

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Build fail on OSX
  2012-10-03 15:55   ` Neuwirth Erich
@ 2012-10-03 16:08     ` Achim Gratz
  2012-10-03 16:37       ` Neuwirth Erich
  0 siblings, 1 reply; 7+ messages in thread
From: Achim Gratz @ 2012-10-03 16:08 UTC (permalink / raw)
  To: emacs-orgmode

Neuwirth Erich writes:
> The probleme persists even if I try what you suggested/

You need to be a bit more specific if you want help.

make up0
make config
make up1

Also, this indicates that you have local changes:
org-version: 7.9.2 (release_7.9.2-390-g50fe7c.dirty)

git status

The error you've reported originally seems to be a mismatch between the
Makefile (eithzer default.mk or local.mk) and org-fixup.el, but that
should have been fixed by Bastien already.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Build fail on OSX
  2012-10-03 16:08     ` Achim Gratz
@ 2012-10-03 16:37       ` Neuwirth Erich
  2012-10-03 16:52         ` Achim Gratz
  0 siblings, 1 reply; 7+ messages in thread
From: Neuwirth Erich @ 2012-10-03 16:37 UTC (permalink / raw)
  To: Achim Gratz, Mode Org

[-- Attachment #1: Type: text/plain, Size: 2445 bytes --]

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 = org-e-* org-md org-export # e.g. the new exporter
BTEST_EXTRA = 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

========= Emacs executable and Installation paths
EMACS	= /Applications/Emacs.app/Contents/MacOS/Emacs
DESTDIR	= 
ORGCM	= dirall
ORG_MAKE_DOC	= info html pdf
lispdir	= /Applications/Emacs.App/Contents/Resources/site-lisp/org
infodir	= /Applications/Emacs.App/Contents/Resources/info
datadir	= /Applications/Emacs.App/Contents/Resources/etc/org
testdir	= /var/folders/cl/zktxb0v51ng7jfv0mspj2w940000gn/T//tmp-orgtest
========= 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
========= Org version
make:  Org-mode version 7.9.2 (release_7.9.2-399-g2e9427.dirty => /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)


[-- Attachment #2: local.mk --]
[-- Type: application/octet-stream, Size: 4941 bytes --]

##----------------------------------------------------------------------
##  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 <path-to>/ert      # needed for Emacs23, Emacs24 has ert built in
              # -L <path-to>/ess      # needed for running R tests
              # -L <path-to>/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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Build fail on OSX
  2012-10-03 16:37       ` Neuwirth Erich
@ 2012-10-03 16:52         ` Achim Gratz
  2012-10-03 17:11           ` Neuwirth Erich
  0 siblings, 1 reply; 7+ messages in thread
From: Achim Gratz @ 2012-10-03 16:52 UTC (permalink / raw)
  To: emacs-orgmode

Neuwirth Erich writes:
> ========= Org version
> make:  Org-mode version 7.9.2 (release_7.9.2-399-g2e9427.dirty => /Applications/Emacs.App/Contents/Resources/site-lisp/org)

We still don't know why a freshly pulled Org is "dirty".  That seems
very strange, so again, what is the output of "git status"?

> Here is my local.mk (which worked up until now)

Remove the part after "##->8-----------" or compare to mk/default.mk and
take note of the changes that have been made there.



Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Build fail on OSX
  2012-10-03 16:52         ` Achim Gratz
@ 2012-10-03 17:11           ` Neuwirth Erich
  0 siblings, 0 replies; 7+ messages in thread
From: Neuwirth Erich @ 2012-10-03 17:11 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode

The problem was my fault.
I simply used the old local.mk.
After creating a new local.mk from mk/default.mk
and changing the settings in there, building works again.




On Oct 3, 2012, at 6:52 PM, Achim Gratz <Stromeko@nexgo.de> wrote:

> Neuwirth Erich writes:
>> ========= Org version
>> make:  Org-mode version 7.9.2 (release_7.9.2-399-g2e9427.dirty => /Applications/Emacs.App/Contents/Resources/site-lisp/org)
> 
> We still don't know why a freshly pulled Org is "dirty".  That seems
> very strange, so again, what is the output of "git status"?
> 
>> Here is my local.mk (which worked up until now)
> 
> Remove the part after "##->8-----------" or compare to mk/default.mk and
> take note of the changes that have been made there.
> 
> 
> 
> Regards,
> Achim.
> -- 
> +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
> 
> Wavetables for the Terratec KOMPLEXER:
> http://Synth.Stromeko.net/Downloads.html#KomplexerWaves
> 
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-10-03 17:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-03  9:39 Build fail on OSX Neuwirth Erich
2012-10-03  9:52 ` Bastien
2012-10-03 15:55   ` Neuwirth Erich
2012-10-03 16:08     ` Achim Gratz
2012-10-03 16:37       ` Neuwirth Erich
2012-10-03 16:52         ` Achim Gratz
2012-10-03 17:11           ` Neuwirth Erich

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).