* make compile fails
@ 2017-08-19 5:16 Jarmo Hurri
2017-08-19 6:17 ` Colin Baxter
0 siblings, 1 reply; 9+ messages in thread
From: Jarmo Hurri @ 2017-08-19 5:16 UTC (permalink / raw)
To: emacs-orgmode
Greetings.
Just pulled the latest version and tried to compile it. I get the
following error:
------------------------------------------------------------------
[jarmo@localhost org-mode]$ make compile
make -C doc clean; make -C lisp clean;
make[1]: Entering directory '/home/jarmo/src/org-mode/doc'
rm -f org *.pdf *.html *_letter.tex org-version.inc org-version.tex \
*.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg *.pgs \
*.toc *.tp *.tps *.vr *.vrs *.log *.html *.ps
make[1]: Leaving directory '/home/jarmo/src/org-mode/doc'
make[1]: Entering directory '/home/jarmo/src/org-mode/lisp'
rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc org-install.elc
rm -f *.elc
make[1]: Leaving directory '/home/jarmo/src/org-mode/lisp'
make -C lisp compile
make[1]: Entering directory '/home/jarmo/src/org-mode/lisp'
rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc org-install.elc
install -m 644 -p .
install: missing destination file operand after '.'
Try 'install --help' for more information.
make[1]: *** [Makefile:64: addcontrib] Error 1
make[1]: Leaving directory '/home/jarmo/src/org-mode/lisp'
make: *** [mk/targets.mk:95: compile] Error 2
------------------------------------------------------------------
System specs:
------------------------------------------------------------------
[jarmo@localhost org-mode]$ uname -a
Linux localhost.localdomain 4.12.5-300.fc26.x86_64 #1 SMP Mon Aug 7 15:27:25 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[jarmo@localhost org-mode]$ dnf list installed emacs
Installed Packages
emacs.x86_64 1:25.2-3.fc26 @updates
------------------------------------------------------------------
Any ideas?
Jarmo
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: make compile fails
2017-08-19 5:16 make compile fails Jarmo Hurri
@ 2017-08-19 6:17 ` Colin Baxter
2017-08-19 7:30 ` Jarmo Hurri
0 siblings, 1 reply; 9+ messages in thread
From: Colin Baxter @ 2017-08-19 6:17 UTC (permalink / raw)
To: Jarmo Hurri; +Cc: emacs-orgmode
Dear Jarmo,
>>>>> Jarmo Hurri <jarmo.hurri@iki.fi> writes:
> Greetings.
> Just pulled the latest version and tried to compile it. I get the
> following error:
> ------------------------------------------------------------------
> [jarmo@localhost org-mode]$ make compile make -C doc clean; make
> -C lisp clean; make[1]: Entering directory
> '/home/jarmo/src/org-mode/doc' rm -f org *.pdf *.html *_letter.tex
> org-version.inc org-version.tex \ *.aux *.cp *.cps *.dvi *.fn
> *.fns *.ky *.kys *.pg *.pgs \ *.toc *.tp *.tps *.vr *.vrs *.log
> *.html *.ps make[1]: Leaving directory
> '/home/jarmo/src/org-mode/doc' make[1]: Entering directory
> '/home/jarmo/src/org-mode/lisp' rm -f org-version.el
> org-loaddefs.el org-version.elc org-loaddefs.elc org-install.elc
> rm -f *.elc make[1]: Leaving directory
> '/home/jarmo/src/org-mode/lisp' make -C lisp compile make[1]:
> Entering directory '/home/jarmo/src/org-mode/lisp' rm -f
> org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc
> org-install.elc install -m 644 -p . install: missing destination
> file operand after '.' Try 'install --help' for more information.
> make[1]: *** [Makefile:64: addcontrib] Error 1 make[1]: Leaving
> directory '/home/jarmo/src/org-mode/lisp' make: ***
> [mk/targets.mk:95: compile] Error
> 2 ------------------------------------------------------------------
> System specs:
> ------------------------------------------------------------------
> [jarmo@localhost org-mode]$ uname -a Linux localhost.localdomain
> 4.12.5-300.fc26.x86_64 #1 SMP Mon Aug 7 15:27:25 UTC 2017 x86_64
> x86_64 x86_64 GNU/Linux [jarmo@localhost org-mode]$ dnf list
> installed emacs Installed Packages emacs.x86_64 1:25.2-3.fc26
> @updates ------------------------------------------------------------------
Works for me using 'make clean' followed by 'make all'.
Colin.
--
--
Colin Baxter
m43cap@yandex.com
GnuPG fingerprint: 68A8 799C 0230 16E7 BF68 2A27 BBFA 2492 91F5 41C8
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: make compile fails
2017-08-19 6:17 ` Colin Baxter
@ 2017-08-19 7:30 ` Jarmo Hurri
2017-08-19 7:49 ` Colin Baxter
0 siblings, 1 reply; 9+ messages in thread
From: Jarmo Hurri @ 2017-08-19 7:30 UTC (permalink / raw)
To: emacs-orgmode
Hi Colin.
Colin Baxter <m43cap@yandex.com> writes:
> Works for me using 'make clean' followed by 'make all'.
For some reason I still get the same error even with that sequence of
commands.
Make reports that the error is coming from addcontrib. Isn't there some
file that controls local contrib config? Was it local.mk? It's been
years, but I remember having to make a change in that file. If I run a
diff against what was probably the original, I get the following:
------------------------------------------------------------------------
jarmo@localhost org-mode]$ diff local.mk local.mk~
31c31
< ORG_ADD_CONTRIB = htmlize
---
> #ORG_ADD_CONTRIB = ox-* # e.g. the contributed exporter
------------------------------------------------------------------------
Maybe the issue is somehow related to this? Anyway, I was still able to
compile on August 11th, so something has changed since then.
Jarmo
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: make compile fails
2017-08-19 7:30 ` Jarmo Hurri
@ 2017-08-19 7:49 ` Colin Baxter
2017-08-19 8:30 ` Jarmo Hurri
0 siblings, 1 reply; 9+ messages in thread
From: Colin Baxter @ 2017-08-19 7:49 UTC (permalink / raw)
To: Jarmo Hurri; +Cc: emacs-orgmode
Dear Jarmo,
>>>>> Jarmo Hurri <jarmo.hurri@iki.fi> writes:
> Hi Colin.
> Colin Baxter <m43cap@yandex.com> writes:
>> Works for me using 'make clean' followed by 'make all'.
> For some reason I still get the same error even with that sequence
> of commands.
> Make reports that the error is coming from addcontrib. Isn't there
> some file that controls local contrib config? Was it local.mk?
> It's been years, but I remember having to make a change in that
> file. If I run a diff against what was probably the original, I
> get the following:
> ------------------------------------------------------------------------
> jarmo@localhost org-mode]$ diff local.mk local.mk~ 31c31 <
> ORG_ADD_CONTRIB = htmlize ---
>> #ORG_ADD_CONTRIB = ox-* # e.g. the contributed exporter
> ------------------------------------------------------------------------
> Maybe the issue is somehow related to this? Anyway, I was still
> able to compile on August 11th, so something has changed since
> then.
I don't know of any issues surrounding local.mk. All I can suggest is
that you try a 'make distclean' first. Failing that, why not just delete
(or rename) your org-mode git directory and git clone a fresh source? That
way, you'd be certain you don't have any old "corrupting" files in your
git tree.
Best wishes,
Colin.
--
--
Colin Baxter
m43cap@yandex.com
GnuPG fingerprint: 68A8 799C 0230 16E7 BF68 2A27 BBFA 2492 91F5 41C8
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: make compile fails
2017-08-19 7:49 ` Colin Baxter
@ 2017-08-19 8:30 ` Jarmo Hurri
2017-08-20 0:53 ` Adrian Bradd
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Jarmo Hurri @ 2017-08-19 8:30 UTC (permalink / raw)
To: emacs-orgmode
Colin Baxter <m43cap@yandex.com> writes:
> > ------------------------------------------------------------------------
> > jarmo@localhost org-mode]$ diff local.mk local.mk~ 31c31 <
> > ORG_ADD_CONTRIB = htmlize ---
> >> #ORG_ADD_CONTRIB = ox-* # e.g. the contributed exporter
> > ------------------------------------------------------------------------
>
> > Maybe the issue is somehow related to this? Anyway, I was still
> > able to compile on August 11th, so something has changed since
> > then.
>
> I don't know of any issues surrounding local.mk. All I can suggest is
> that you try a 'make distclean' first. Failing that, why not just
> delete (or rename) your org-mode git directory and git clone a fresh
> source? That way, you'd be certain you don't have any old "corrupting"
> files in your git tree.
Running 'make cleanall' didn't help.
However, a fresh clone followed by a reconfiguration of local.mk solved
the issue. Most likely the result of a local.mk that is no longer
consistent.
Up and running again. Thanks!
Jarmo
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: make compile fails
2017-08-19 8:30 ` Jarmo Hurri
@ 2017-08-20 0:53 ` Adrian Bradd
2017-08-20 12:39 ` Jarmo Hurri
2017-08-20 2:53 ` Adam Porter
2017-08-20 6:26 ` Achim Gratz
2 siblings, 1 reply; 9+ messages in thread
From: Adrian Bradd @ 2017-08-20 0:53 UTC (permalink / raw)
To: Jarmo Hurri; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1519 bytes --]
Looks like htmlize was removed from contrib a few days ago
(commit d0ced9894) which is probably the cause of your issue. You can get
it from https://github.com/hniksic/emacs-htmlize
You can generate a new local.mk by running 'make local.mk'. You may have to
remove or rename the existing local.mk for this to work.
On 19 August 2017 at 04:30, Jarmo Hurri <jarmo.hurri@iki.fi> wrote:
> Colin Baxter <m43cap@yandex.com> writes:
>
> > > ------------------------------------------------------------
> ------------
> > > jarmo@localhost org-mode]$ diff local.mk local.mk~ 31c31 <
> > > ORG_ADD_CONTRIB = htmlize ---
> > >> #ORG_ADD_CONTRIB = ox-* # e.g. the contributed exporter
> > > ------------------------------------------------------------
> ------------
> >
> > > Maybe the issue is somehow related to this? Anyway, I was still
> > > able to compile on August 11th, so something has changed since
> > > then.
> >
> > I don't know of any issues surrounding local.mk. All I can suggest is
> > that you try a 'make distclean' first. Failing that, why not just
> > delete (or rename) your org-mode git directory and git clone a fresh
> > source? That way, you'd be certain you don't have any old "corrupting"
> > files in your git tree.
>
> Running 'make cleanall' didn't help.
>
> However, a fresh clone followed by a reconfiguration of local.mk solved
> the issue. Most likely the result of a local.mk that is no longer
> consistent.
>
> Up and running again. Thanks!
>
> Jarmo
>
>
>
[-- Attachment #2: Type: text/html, Size: 2677 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: make compile fails
2017-08-19 8:30 ` Jarmo Hurri
2017-08-20 0:53 ` Adrian Bradd
@ 2017-08-20 2:53 ` Adam Porter
2017-08-20 6:26 ` Achim Gratz
2 siblings, 0 replies; 9+ messages in thread
From: Adam Porter @ 2017-08-20 2:53 UTC (permalink / raw)
To: emacs-orgmode
Jarmo Hurri <jarmo.hurri@iki.fi> writes:
> Running 'make cleanall' didn't help.
>
> However, a fresh clone followed by a reconfiguration of local.mk solved
> the issue. Most likely the result of a local.mk that is no longer
> consistent.
Just FYI, you can avoid having to re-clone the repo by running
git reset --hard && git clean -dfx
which resets the working tree completely and deletes all files that are
unknown to git. Of course, you should probably add `--dry-run` first,
to make sure you don't delete anything you want.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: make compile fails
2017-08-19 8:30 ` Jarmo Hurri
2017-08-20 0:53 ` Adrian Bradd
2017-08-20 2:53 ` Adam Porter
@ 2017-08-20 6:26 ` Achim Gratz
2 siblings, 0 replies; 9+ messages in thread
From: Achim Gratz @ 2017-08-20 6:26 UTC (permalink / raw)
To: emacs-orgmode
Jarmo Hurri writes:
> Running 'make cleanall' didn't help.
Yes, because you need to install htmlize most likely (if you need it at
all). I installed the one from Marmalade. You need to activate it for
testing (since during test local packages are not visible by default):
BTEST_POST = --eval '(add-to-list '"'"'load-path "~/.emacs.d/elpa/htmlize-1.39")'
(if there is already something in BTEST_POST defined, then _add_ this by
using '+=' instead of '='.
> However, a fresh clone followed by a reconfiguration of local.mk solved
> the issue. Most likely the result of a local.mk that is no longer
> consistent.
Ugh, this isn't Windows, you know? There is really nothing that you can
achieve by re-cloning that you couldn't achieve in a better way without
it. In your case, just realizing that it was htmlize that was missing
and removing that from your local customization would have been
sufficient.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: make compile fails
2017-08-20 0:53 ` Adrian Bradd
@ 2017-08-20 12:39 ` Jarmo Hurri
0 siblings, 0 replies; 9+ messages in thread
From: Jarmo Hurri @ 2017-08-20 12:39 UTC (permalink / raw)
To: emacs-orgmode
Adrian Bradd <adrian.bradd@gmail.com> writes:
> Looks like htmlize was removed from contrib a few days ago
> (commit d0ced9894) which is probably the cause of your issue. You can get
> it from https://github.com/hniksic/emacs-htmlize
>
> You can generate a new local.mk by running 'make local.mk'. You may have to
> remove or rename the existing local.mk for this to work.
Yeah, did these already (when I posted that the problem had been
solved).
All the best,
Jarmo
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-08-20 12:39 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-19 5:16 make compile fails Jarmo Hurri
2017-08-19 6:17 ` Colin Baxter
2017-08-19 7:30 ` Jarmo Hurri
2017-08-19 7:49 ` Colin Baxter
2017-08-19 8:30 ` Jarmo Hurri
2017-08-20 0:53 ` Adrian Bradd
2017-08-20 12:39 ` Jarmo Hurri
2017-08-20 2:53 ` Adam Porter
2017-08-20 6:26 ` Achim Gratz
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).