Oz and Mozart Hackers Mailing List

ozmake and new release


From: Kevin Glynn (glynn@info.ucl.ac.be)
Date: Fri Nov 28 2003 - 11:08:46 CET


I have a couple of questions about ozmake. I have been trying to use
it to install a mogul package from a 1.3.0 version of mozart.

1. It seems that pkg files are pickles, and therefore mogul packages
    created with 1.2.x can't be loaded from mozart 1.3.0. I removed
    the try ... catch around method Load in Extactor.oz and get the
    following error message:

        [keving@quaver duchier-ozmake]$ ./ozmake.exe --extract --package=/home/keving/tmp/cetic_ucl-p2ps.pkg
        
        %***************** Error: distributed programming ***************
        %**
        %** Version mismatch during loading of pickle
        %**
        %** File: '/home/keving/tmp/cetic_ucl-p2ps.pkg'
        %** Expected: '3#3'
        %** Got: '3#2'
        %** Pickle version 3#2 corresponds to Oz version: '1.2.0'
        %** In statement: {<P/2 URL.load> '/'#[104 111 109 101]#'/'#[107 101 118 105 110 103]#'/'#[116 109 112]#'/'#(99|101|116|105|99|95|117|99|108|45|,,,|,,,) _}
        %**
        %** Call Stack:
        %** procedure 'Meth_load' in file "/home/keving/MOZART/kosher/mozart/share/lib/init/Resolve.oz", line 61, column 3, PC = 135779240
        %** procedure 'Do_Method' in file "/home/keving/MOZART/kosher/mozart/share/lib/init/Resolve.oz", line 87, column 3, PC = 135780132
        %**--------------------------------------------------------------

    What will happen to the mogul repository when we make release
    1.3.0?

    Once I extracted the package with 1.2.5 ozmake I could build and
    install with 1.3.0 ozmake without problem.

2. It was suggested on the users list that ozmake.exe be included in
    the mozart distribution. Sounds a good idea to me, it would make
    it easier to install mogul packages and hopefully encourage the
    creation of many more (and then we wouldn't need to include an
    ozmake.ozf in mozart-stdlib). Any reason why not? Is ozmake
    stable/ready for this?

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



This archive was generated by hypermail 2b29.