Thank you! It does indeed seem like find-collects-dir is faulty. This
would explain why upstream couldn't reproduce the problem, because I was
passing a trailing slash into DESTDIR and upstream wasn't. I'll try
removing the trailing slash and see if that will fix the problem.

On Tue, 2006-10-03 at 15:52 +0200, Soeren D. Schulze wrote:
> 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