Re: [O] make compile fails

2017-08-20 Thread Jarmo Hurri

Adrian Bradd  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




Re: [O] make compile fails

2017-08-19 Thread Achim Gratz
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




Re: [O] make compile fails

2017-08-19 Thread Adam Porter
Jarmo Hurri  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.




Re: [O] make compile fails

2017-08-19 Thread Adrian Bradd
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  wrote:

> Colin Baxter  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
>
>
>


Re: [O] make compile fails

2017-08-19 Thread Colin Baxter
Dear Jarmo,
> Jarmo Hurri  writes:

> Hi Colin.

> Colin Baxter  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
m43...@yandex.com
GnuPG fingerprint: 68A8 799C 0230 16E7 BF68  2A27 BBFA 2492 91F5 41C8



Re: [O] make compile fails

2017-08-19 Thread Jarmo Hurri
Colin Baxter  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




Re: [O] make compile fails

2017-08-19 Thread Colin Baxter
Dear Jarmo,

> Jarmo Hurri  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
m43...@yandex.com
GnuPG fingerprint: 68A8 799C 0230 16E7 BF68  2A27 BBFA 2492 91F5 41C8



Re: [O] make compile fails

2017-08-19 Thread Jarmo Hurri

Hi Colin.

Colin Baxter  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