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

Re: make install problem



Oops, this is my fault.

>>>>> In [emacs-w3m : No.02892]
>>>>>	David Aspinwall <aspinwall@timesten.com> wrote:

> Hi.  I was trying to install w3m_el-1.2.5, to try using it with gnus.
> When I do a 'make install', it tries to install to the wrong
> directory.  I think that is because the Makefile says:

> prefix       = /dj/aspin/w3m
> lispdir      = $(datadir)/emacs/site-lisp/w3m

> $(datadir) is not defined, so probably it should have been:

> lispdir      = $(prefix)/emacs/site-lisp/w3m

> I ran configure with '--prefix=/dj/aspin/w3m'.

Thank you very much for the information.  I'll attach a pacth
for Makefile.in.  I think it should work in your system like
Gnus does.  Could you please test it?

--- Makefile.in~	2002-02-25 10:15:02.000000000 +0000
+++ Makefile.in	2002-03-07 01:40:36.580803084 +0000
@@ -1,6 +1,7 @@
 INSTALL      = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 prefix       = @prefix@
+datadir      = @datadir@
 lispdir      = @lispdir@
 PACKAGEDIR   = @PACKAGEDIR@
 ICONDIR      = @ICONDIR@
-- 
Katsumi Yamaoka <yamaoka@namazu.org>