Just a small correction: our method definition contains a colon, which
is normally a method separator, so we have to escape it:

    OZLOAD=prefix=x-ozlib\\://parmenti/xmg/=foo/cache/

Whether to use \\ or \ depends on how exactly you define the variable.
Make sure Mozart will receive a string containing the following
characters when reading environment variable OZLOAD:

    prefix=x-ozlib\://parmenti/xmg/=foo/cache/

Cheers,

Jorge.

2009/9/14 Jorge Marques Pelizzoni <[email protected]>:
> Hi, Eric!!!! Ages, isn't it? How are things?
>
> Here are my two pence. I haven't tried this out but think it might
> work. Define an environment variable thus:
>
>    OZLOAD=prefix=x-ozlib://parmenti/xmg/=foo/cache/
>
> To understand what this means and also other ways to define OZLOAD
> (aka OZ_SEARCH_LOAD or OZ_LOAD):
>
>     http://www.mozart-oz.org/home/doc/system/node50.html
>
> Cheers,
>
> Jorge.
>
> 2009/9/4  <[email protected]>:
>> Dear Mozart users,
>>
>> When I installed a program using ozmake --prefix foo and tried to run
>> it, it gave me this error message:
>>
>> %********************** Error: module manager *******************
>> %**
>> %** Could not link module
>> %**
>> %** Could not load functor at URL: x-ozlib://parmenti/xmg/Normalizer.ozf
>> %**--------------------------------------------------------------
>>
>> I've worked out that the functor lives in foo/cache.  Is there any way, for
>> example, an environment variable or a flag telling the program to look there?
>>
>> Thanks!
>>
>> Eric
>>
>> PS. The program in question is version 1.1.7 of XMG and I get the error
>> with Mozart 1.3.2 and 1.4.0.  The context is that I'm trying to build an
>> standalone demonstrator integrating XMG with other software.  For
>> stability, I want the demonstrator to only use this one specific version
>> of XMG (and the other software).  I neither want to install the software
>> on the user's behalf (and risk clobbering their version of XMG) nor have
>> them install it for me (and lose predictability).  My hope was to use
>> --prefix to install a demo-local version.  Perhaps I'm going about this
>> entirely the wrong way?
>>
>> --
>> Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
>> PGP Key ID: 08AC04F9
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.9 (GNU/Linux)
>>
>> iEYEARECAAYFAkqhJeMACgkQBUrOwgisBPlmsgCgvnVv5jbUiVrAmW0jutInC1V4
>> VSAAoM1owdr4n36rBprDPibtMbUB8Wv0
>> =vf7M
>> -----END PGP SIGNATURE-----
>>
>> _________________________________________________________________________________
>> mozart-users mailing list                               
>> [email protected]
>> http://www.mozart-oz.org/mailman/listinfo/mozart-users
>>
>
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to