In svn revision 8881, using mingw / msys on XP,
> make install
still fails on line 94 of "trunk/Makefile",
obviously trying to execute "trunk/INSTALL"
instead of "/bin/install.exe".
Apparently, this can be fixed by surrounding at least one
of the arguments of "install" with double quotes, e.g.:
@${SUDO} ${INSTALL_DATA} "${SRCDIR}/mk/agar.m4"
${DESTDIR}${PREFIX}/share/aclocal
A better fix might be to determine the absolute path
of install.exe and pass this in the corresponding
make variables INSTALL_*...
----
Some of my investigations / results concerning this:
- The issue can also be fixed by taking away the current working directory "."
as the first directory in the search path $PATH.
(I would like to avoid doing that, since this $PATH appears to be the
default from the msys installation and I don't want to break
packages expecting this.)
- It can also be fixed by renaming "trunk/INSTALL" to e.g. "trunk/INSTALL.txt".
This appears to have been the original name up to revision 8762...
- Given the case insensitivity of the msys environment, I don't know
why the other calls of "install" don't try to call trunk/INSTALL, as well.
The poblematic call on line 94 appears to be the only one
that doesn't contain a shell variable (as opposed to make-variable).
Perhaps "make" tries to do shell-variable and other expansions itself,
but forgets (only in this case?) to pass the correct PATH and other
environment settings when executing the result of the expansion?
- Modifying INSTALL to start with the line "echo $*"
shows the expected arguments of bin/install.exe:
"-c -m 664 /home/agar8881/1/mk/agar.m4 /usr/local/share/aclocal"
_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html