[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: emacs-w3m doesn't create Makefile (using Windows 10 64-Bit with Cygwin64)

In [emacs-w3m : No.12535]
	On Wed, 25 Nov 2015 12:19:22 +0100, John Wong wrote:
> Thanks for making the changes.
> I downloaded again from the CVS fresh and tried:
> % autoconf
> % ./configure

> The process of ./configure went well but 'make.exe' did not go through probably
> with a similar origin (Windows 10 path of Emacs) of the error:
> % make
> env test ! -f w3m-util.elc -o w3m-util.elc -nt w3m-util.el || make clean
> env test ! -f w3m-proc.elc -o w3m-proc.elc -nt w3m-proc.el || make clean
> /cygdrive/c/Program Files (x86)/GNU Emacs 24.5/bin/emacs -q -no-site-file
> -batch -l ./w3mhack.el 'NONE' -f w3mhack-compile
> /bin/sh: -c: line 0: syntax error near unexpected token `('
> /bin/sh: -c: line 0: `/cygdrive/c/Program Files (x86)/GNU Emacs 24.5/bin/emacs
> -q -no-site-file -batch -l ./w3mhack.el 'NONE' -f w3mhack-compile'
> Makefile:43: recipe for target 'lisp' failed
> make: *** [lisp] Error 1

Thank you for testing it.  I've installed Emacs 24.5 Windows
binary for the further improvement after all.  Could you try
the latest CVS?  aclocal.m4 is unchanged, so you don't have to
run autoconf again.  I verified it's almost ok except for
a little glitch (info/dir).  I did:

Launch Cygwin's xterm with the administrative permission:
$ cygstart --action=runas xterm
(I need it to run `make install' on "c:/Program Files/".)

Prepend "/cygdrive/c/Program Files/GNU Emacs 24.5/bin" to PATH,
and do the usual `configure', `make', and `make install'.

Surprisingly some Cygwin commands understand Windows path name;
I mean

/usr/bin/install -c -m 644 w3m.elc\
"c:/Program Files/GNU Emacs 24.5/share/emacs/site-lisp/w3m/w3m.elc"

works!  However, the `install-info.exe' command doesn't do so,
so I needed to do the following after performing `make install':

$ install-info "/cygdrive/c/Program Files/GNU Emacs 24.5/share/info/emacs-w3m.info"
$ install-info "/cygdrive/c/Program Files/GNU Emacs 24.5/share/info/emacs-w3m-ja.info"
(These commands update the info/dir file so that I can see those
 info documents using `M-x info'.)

I also installed APEL[1] and FLIM[2] for Windows Emacs, and
verified emacs-w3m builds the shimbun libraries successfully.

[1] git clone https://git@xxxxxxxxxx/wanderlust/apel.git
[2] git clone https://git@xxxxxxxxxx/wanderlust/flim.git