I am using clisp to build ABCL. This requires the use of the JDK path plus "bin/java". The JDK path is "/usr/local/java/jdk1.6/" merge-pathnames delivers "/usr/local/java.6/bin/java"
This bug report is now marked as "pending"/"works for me".
This means that we think that we cannot reproduce the problem
and cannot do anything about it.
Unless you - the reporter - act within 2 weeks
(e.g., by submitting a self-contained test case
or answering our other recent requests),
the bug will be permanently closed.
Sorry about the inconvenience -
we hope your silence means that
you are no longer observing the problem either.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
indeed, without the trailing slash, the last component becomes a file name, not a part of the directory list, therefore the name "jdk1" is discarded (because "bin/java" already has a name - "java") while the extension ".6" is merged into, thus you end up with #P"/usr/local/java/bin/java.6". http://clisp.cons.org/impnotes/dir-is-not-file.html#probe-path should help you avoid this problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
WFM:
> (merge-pathnames "bin/java" "/usr/local/java/jdk1.6/" )
#P"/usr/local/java/jdk1.6/bin/java"
please supply a test case instead of a free text description of the problem.
This bug report is now marked as "pending"/"works for me".
This means that we think that we cannot reproduce the problem
and cannot do anything about it.
Unless you - the reporter - act within 2 weeks
(e.g., by submitting a self-contained test case
or answering our other recent requests),
the bug will be permanently closed.
Sorry about the inconvenience -
we hope your silence means that
you are no longer observing the problem either.
The work around I found was that it needed a slash after the jdk...
Sorry to bother you.
indeed, without the trailing slash, the last component becomes a file name, not a part of the directory list, therefore the name "jdk1" is discarded (because "bin/java" already has a name - "java") while the extension ".6" is merged into, thus you end up with #P"/usr/local/java/bin/java.6".
http://clisp.cons.org/impnotes/dir-is-not-file.html#probe-path should help you avoid this problem.
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).