Google Groups

Re: type_conv/ocaml4 release


Yury Sep 7, 2012 8:48 PM
Posted in group: ocaml-core
Yes, sorry that's my fault. Ill fix the packages tomorrow, but in the
meantime I think you can just globally replace
[Filename.get_temp_dir_name ()] with [Filename.temp_dir_name] in
*/{myocamlbuild,setup}.ml

Yury

On Sep 7, 2012, at 9:24 PM, Yaron Minsky <ymi...@janestreet.com> wrote:

> Doesn't seem like there should be.  We're only using 4.0
> experimentally internally, so we definitely support 3.12.1 in our
> internal tree.  Yury made some small modifications for the external
> tarball, so maybe there's an issue there.
>
> y
>
> On Fri, Sep 7, 2012 at 8:43 PM, Anil Madhavapeddy <an...@recoil.org> wrote:
>> Trying it now. I've pushed updates to the avsm/opam-core-pre0 and am
>> compiling them now.
>>
>> Is there a hard requirement on ocaml-4.00.0 now? bin_prot's myocamlbuild:
>>
>> + + /usr/bin/ocamlopt.opt -I /usr/lib/ocaml/ocamlbuild unix.cmxa
>> /usr/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml
>> /usr/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
>> + File "myocamlbuild.ml", line 506, characters 24-50:
>> + Error: Unbound value Filename.get_temp_dir_name
>>
>> ...which only appeared in ocaml-4.00.0, so 3.12.1 compilation fails
>> (Debian/wheezy).
>>
>> -anil
>>
>> On 7 Sep 2012, at 17:13, Yury Sulsky <yury....@gmail.com> wrote:
>>
>> Hi Anil,
>>
>> I've just uploaded new packages to
>> https://ocaml.janestreet.com/ocaml-core/108.07.00-pre1/. I've moved the
>> async hack down into base/async/setup.ml, so it should work when building
>> async individually.
>>
>> Could you take a look and see if they work for you?
>>
>> Thanks,
>> Yury
>>
>> On Thu, Sep 6, 2012 at 7:12 PM, Anil Madhavapeddy <an...@recoil.org> wrote:
>>>
>>> Spot on... looks like OPAM might be leaking an environment variable that
>>> is pointing to the wrong DLL stubs directory after a compiler switch.
>>> Should be easy to fix.
>>>
>>> Sorry about that; I'll clean up the 25 different OCaml installations I
>>> have and do a more fresh build as soon as I get a chance!
>>>
>>> -anil
>>>
>>>
>>> On 6 Sep 2012, at 16:09, Yury Sulsky <yury....@gmail.com> wrote:
>>>
>>> Ah, okay. Anil, it looks like there might be some mixup in your install.
>>> The string "caml_hash_mix_double" only appears ocaml-4.00, but nowhere in
>>> ocaml-3.12.
>>> Also, I was confused. It turned out I was testing with 3.12.1 on Mac OS
>>> after all, which is why I didn't catch that unused value warning. I'll
>>> install and test with 4.00 on a Mac tomorrow.
>>>
>>> On Thu, Sep 6, 2012 at 6:55 PM, Yury Sulsky <yury....@gmail.com> wrote:
>>>>
>>>> Hi Markus,
>>>>
>>>> A few of your sexplib changes didn't make it into this release, and I'll
>>>> take a look at your patch queue to see what else we're missing. But I've
>>>> been building and testing on Mac OS X. I'll see if I can recreate Anil's
>>>> missing symbol problem (I haven't been testing with 3.12.1)
>>>>
>>>>
>>>> On Thu, Sep 6, 2012 at 6:42 PM, Markus Mottl <markus...@gmail.com>
>>>> wrote:
>>>>>
>>>>> On Thursday, September 6, 2012, Anil Madhavapeddy wrote:
>>>>>>
>>>>>> The warnings are due to unused variables,
>>>>>
>>>>>
>>>>> You might also want to apply my Bitbucket patch queue for ocaml-core.
>>>>> The resulting tree should build fine on Mac OS X, fixes a couple of bugs,
>>>>> and adds some useful features.
>>>>>
>>>>> Regards,
>>>>> Markus
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Markus Mottl        http://www.ocaml.info        markus...@gmail.com
>>>>
>>>>
>>>
>>>
>>
>>