Thanks for your response. I was finally able to install it with below steps and also the work around. The mkinstalldir script does not work directories with space which is common on Mac for e.g. /Library/Application\ Support/.... To work around this I ran the installed commands manually by looking up in the configuration.log file.|
alias emacs='open -a /Applications/Aquamacs\ Emacs.app'
export EMACS="/Applications/Aquamacs\ Emacs.app/Contents/MacOS/Aquamacs\ Emacs"
./configure --prefix="/Library/Application Support/Aquamacs\ Emacs"
sudo make install
Create info and w3m directories and run failed install commands manually as logged in configuration.log
On Mac please also make sure the w3m and gc.h is also installed for the above to work.
> Date: Mon, 17 Nov 2008 11:51:56 +0900
> From: yamaoka@xxxxxxx
> To: rgouda@xxxxxxxxxxx
> CC: emacs-w3m@xxxxxxxxxx
> Subject: Re: [emacs-w3m:10433]
>>>>>> In [emacs-w3m : No.10433] Ravajappa Gouda wrote:
>> I am trying to setup w3m to browse webpages/news groups through my
>> "Aquamacs" (which is built on top of emacs 22) for Mac OS 10.4
>> OS: Mac 10.4.11.
>> Following are the steps followed on my macbook and the error at the bottom,
>> anybody's help is much appreciated?
>> 1. Downloaded w3m from the link - emacs-w3m-1.4.4.tar.gz
>> 2. Unzipped/tared the file in my home directory - ~/emacs-w3m-1.4.4/
>> 3. Started command shell in Aquamacs (M-x shell)
>> 4. Now ran the command -
>> $ pwd
>> $ ./configure
>> checking whether make sets $(MAKE)... yes
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking for makeinfo... makeinfo
>> checking for texi2dvi... texi2dvi
>> checking for ptex... false
>> checking for jbibtex... false
>> checking for egrep... egrep
>> checking for emacs... /usr/bin/emacs
>> checking what a flavor does /usr/bin/emacs have... cat: ./conftest-7107: No
>> such file or directory
> I remember dimly that I saw such a problem and fixed, though I
> don't recall what I did then. Sorry. If you have time, could
> you try the latest emacs-w3m that is under development? That is:
> To use this, you need to run the GNU autoconf command first to
> make the configure script. If you don't have autoconf installed,
> please use this: