Subject: make install: No rule to make target `index.hhk'
From: David Billinghurst
Date: Wed, 16 May 2012 09:01:14 +1000
On 16/05/2012 5:53 AM, Barton Willis wrote:
> Thanks--I fixed this the low-cost and easy way: tried a different machine. I think make install finishes OK. There is a problem with make iss that seems fairly minor.
>
> Like it or not, the majority of Maxima downloads are for Microsoft Windows. It would, I think, be great if Maxima would build under Windows without
> a herculean effort (uses an up-to-date mingw, builds under sbcl, ccl, and gcl, and ...)
>
> Thanks for working on this.
>
> $ make iss
> test -d "/usr/local/share/maxima/branch_5_27_base_34_ge0bcf8c/doc" || mkdir -p "/usr/local/share/maxima/branch_5_27_base_34_ge0bcf8c/doc"
> for file in AUTHORS COPYING INSTALL README README.lisps ; \
> do \
> /usr/bin/install -c -m 644 $file "/usr/local/share/maxima/branch_5_27_base_34_ge0bcf8c/doc" ; \
> done
> make -C interfaces/xmaxima/win32 gcccopy install
> make[1]: Entering directory `/cygdrive/c/Users/willisb/maximagit3/maxima/interfaces/xmaxima/win32'
> test -d "/usr/local/bin" || mkdir -p "/usr/local/bin"
> test -d "/usr/local/include" || mkdir -p "/usr/local/include"
> test -d "/usr/local/include/sys" || mkdir -p "/usr/local/include/sys"
> test -d "/usr/local/lib/gcc-lib/mingw32/3.3.1/include" \
> || mkdir -p "/usr/local/lib/gcc-lib/mingw32/3.3.1/include"
> cp /usr/local/bin/gcc.exe /usr/local/bin
> cp: cannot stat `/usr/local/bin/gcc.exe': No such file or directory
> Makefile:55: recipe for target `gcccopy' failed
> make[1]: *** [gcccopy] Error 1
> make[1]: Leaving directory `/cygdrive/c/Users/willisb/maximagit3/maxima/interfaces/xmaxima/win32'
> Makefile:789: recipe for target `iss' failed
> make: *** [iss] Error 2
>
> --bw
Agree 100%. There are some very ugly parts of the windows build and
install. The "make iss" rule assumes you are using gcl. which needs
gcc. Obviously not required for other lisps. In the short term, you
could remove the gcccopy dependency from interfaces/xmaxima/win32/Makefile
We need to use automake in interfaces/xmaxima/win32, to allow other
lisps. Also need to restructure the install. For example, the
generation of the chm documentation files is part of "make iss" and
driven from interfaces/xmaxima/win32/Makefile, which is sub-optimal.