Changing line 37 in file src/Makefile.in to

SETUP_ARGS = -mvqX `realpath "$(DESTDIR)$(collectsdir)"` -M setup

apparently solves the problem.

Explanation:

The documentation in the package is outdated; a newer version of the
MzLib reference describes that (this-expression-source-directory)
returns a relative path if "the directory is within the result of
`find-collects-dir' from `(lib "dirs.ss" "syntax")'".  Apart from the
fact that "dirs.ss" is in "setup" and not "syntax", `find-collects-dir'
does not seems to work if the path is not "complete".  The concatenation
of $(DESTDIR) and $(collectsdir) causes two slashes to appear in a row,
which stops `find-collects-dir' from considering it a complete path.
The command-line utility `realpath' fixes this.

I am, however, not sure if my solution is actually a fix or just a
workaround.  Maybe the behavior of `find-collects-dir' is just faulty.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to