Oz and Mozart Users Mailing List

Re: importing module importing native module


From: Aleksander Salwa (ololo@zeus.polsl.gliwice.pl)
Date: Mon Aug 06 2001 - 14:37:25 CEST


On 4 Aug 2001, Denys Duchier wrote:

> there must be something that you are not telling us. In particular, I
> am very surprised to see:
[..]
> > URL: file:///home/ololo/oz-ldap/modn.so
> > %**--------------------------------------------------------------
>
> This says that it is trying to load from url file:///home/ololo/oz-ldap/modn.so
> But how did it come to that URL. As far as I can remember of my
> implementation of the Resolver, it never (by default) generates URLs
> with `file' scheme.

Solved.
As you said, it was problem with paths. Specifically with absolute paths,
or relative paths with directories. Now I use plain filenames
(import Foo at 'bar.so{native}') - problem disappeared.

ololo@zeus.polsl.gliwice.pl ololo@webcraft.pl oleks@helper.pl ICQ#:108588073
o--------------------------------------------------------------------------o
                           (c) All rights reversed

-
Please send submissions to users@mozart-oz.org
and administriva mail to users-request@mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.



This archive was generated by hypermail 2b29.