make install: No rule to make target `index.hhk'



On Wed, May 16, 2012 at 1:01 AM, David Billinghurst <dbmaxima at gmail.com> wrote:
> 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.

Some time ago I changed Makefiles so that "make install" would build a
ccl compiled maxima. The changes are in my github repository:

https://github.com/andrejv/maxima/tree/windows-ccl

It should be easy to modify this branch so that it uses some other
lisp which does not depend on gcc.

HTH, Andrej