Load behaviour on Maxima 5.18.0 and above using ecl
Subject: Load behaviour on Maxima 5.18.0 and above using ecl
From: Matthew Gwynne
Date: Sat, 30 May 2009 02:21:13 +0100
On Fri, May 29, 2009 at 1:40 PM, Raymond Toy <raymond.toy at stericsson.com> wrote:
> Matthew Gwynne wrote:
>> On Thu, May 28, 2009 at 8:12 PM, Raymond Toy <raymond.toy at stericsson.com> wrote:
>>
>>> Matthew Gwynne wrote:
>>>
>>>> On Thu, May 28, 2009 at 6:07 PM, Raymond Toy <raymond.toy at stericsson.com> wrote:
>>>>
>>>>
>>>>> ...
>>>>>
>>>>> What does :lisp (truename (pathname (concatenate 'string
>>>>> *maxima-sharedir* "/"))) return?
>>>>>
>>>>>
>>>> (%i1) :lisp (truename (pathname (concatenate 'string *maxima-sharedir* "/")))
>>>>
>>>> /home/aeternus/Work/OKlibrary/OKlibTest/maxima-5.18.1/install/share/maxima/5.18.1/share/
>>>>
>>>>
>>>>
>>> Is there a symlink involved here somewhere? ?If not, then I have no idea
>>> why share-root is one thing, but directory produces pathnames with a
>>> different directory.
>>>
>>
>> Yes, precisely, the problem only occurs when maxima is build with a
>> symlink (in this case OKlibTestSym is a symlink to OKlibTest) on the
>> path. Otherwise it's fine.
>>
>> Sorry, I should have mentioned this as you asked in the last e-mail.
>>
>>
> Can you try:
>
> :lisp (directory (pathname (concatenate 'string *maxima-sharedir* "/")))
This gives:
(%i1) :lisp (directory (pathname (concatenate 'string *maxima-sharedir* "/")))
(/home/aeternus/Work/OKlibrary/OKlibTest/maxima-5.18.1/install/share/maxima/5.18.1/share/)
>
> I think this will follow the symlink and give us what we want.
>
> Ray
>
>
Matthew