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

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



Thanks for making the updates again.
It is just a tiny step from getting it accomplished. I ran the commands (install-info) in the elevated console but there are error messages that install-info cannot find the directories / files. Here are the outputs:

[...]
make[1]: Entering directory '/cygdrive/d/home/jwong/.emacs.d/packages/emacs-w3m/doc'
/bin/sh ../mkinstalldirs "c:/Program Files (x86)/GNU Emacs 24.5/share/info"
/usr/bin/install -c -m 644 emacs-w3m.info "c:/Program Files (x86)/GNU Emacs 24.5/share/info/emacs-w3m.info"
/usr/bin/install -c -m 644 emacs-w3m-ja.info "c:/Program Files (x86)/GNU Emacs 24.5/share/info/emacs-w3m-ja.info"
install-info --info-dir="c:/Program Files (x86)/GNU Emacs 24.5/share/info" "c:/Program Files (x86)/GNU Emacs 24.5/share/info/emacs-w3m.info"
install-info: No such file or directory for /Program Files (x86)/GNU Emacs 24.5/share/info/emacs-w3m.info
install-info --info-dir="c:/Program Files (x86)/GNU Emacs 24.5/share/info" "c:/Program Files (x86)/GNU Emacs 24.5/share/info/emacs-w3m-ja.info"
install-info: No such file or directory for /Program Files (x86)/GNU Emacs 24.5/share/info/emacs-w3m-ja.info
make[1]: Leaving directory '/cygdrive/d/home/jwong/.emacs.d/packages/emacs-w3m/doc'
$ install-info "/cygdrive/c/Program Files (x86)/GNU Emacs 24.5/share/info/emacs-w3m.info"
install-info: No dir file specified; try --help for more information.
$ install-info "/cygdrive/c/Program Files (x86)/GNU Emacs 24.5/share/info/emacs-w3m-ja.info"
install-info: No dir file specified; try --help for more information.

On Thu, Nov 26, 2015 at 5:08 AM, Katsumi Yamaoka <yamaoka@xxxxxxx> wrote:
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="" 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