# \#mac

**URL:** https://discuss.ocaml.org/tag/mac/59.md

[Latest](https://discuss.ocaml.org/latest.md) · [Categories](https://discuss.ocaml.org/categories.md) · [Tags](https://discuss.ocaml.org/tags.md)

---

## [\[ANN\] NotInriaCaml\_Std.Wenv@0.1.0 - create Windows envs on macOS \[dk0\]](https://discuss.ocaml.org/t/ann-notinriacaml-std-wenv-0-1-0-create-windows-envs-on-macos-dk0/17858)

<div class="topic-metadata">

**Author:** [@jbeckford](https://discuss.ocaml.org/u/jbeckford)\
**Replies:** 0\
**Last updated:** [February 27, 2026, 8:04pm UTC](https://discuss.ocaml.org/t/ann-notinriacaml-std-wenv-0-1-0-create-windows-envs-on-macos-dk0/17858 "2026-02-27T20:04:45Z")

</div>

It is my pleasure to announce the following package for the dk0 build system that creates a Windows environment (“wenv”) containing OCaml using a custom Wine build for macOS: NotInriaCaml\_Std.Wenv@0.1.0 Here is a samp…

---

## [mac os zarith problem](https://discuss.ocaml.org/t/mac-os-zarith-problem/10611)

<div class="topic-metadata">

**Author:** [@Doug\_Telford](https://discuss.ocaml.org/u/Doug_Telford)\
**Replies:** 6\
**Last updated:** [October 13, 2022, 2:00am UTC](https://discuss.ocaml.org/t/mac-os-zarith-problem/10611 "2022-10-13T02:00:17Z")

</div>

I am using macos monterey 12.6 on a mac mini m1. I use the ocaml language quite a bit on linux mint, and was trying to get it working on the m1. My programs (from linux) use package zarith (which is a multiple precision…

---

## [OpenGL+LablGL on Mac](https://discuss.ocaml.org/t/opengl-lablgl-on-mac/9605)

<div class="topic-metadata">

**Author:** [@Jon\_Harrop](https://discuss.ocaml.org/u/Jon_Harrop)\
**Replies:** 2\
**Last updated:** [March 30, 2022, 2:34pm UTC](https://discuss.ocaml.org/t/opengl-lablgl-on-mac/9605 "2022-03-30T14:34:06Z")

</div>

I have some old OCaml code that uses OpenGL. I gather OpenGL is now deprecated on Mac but I’m wondering how I might resurrect this code on my Mac? LablGL installs but compiling my code with it fails with: File "\_none\_"…

---

## [Where's the Unix library?](https://discuss.ocaml.org/t/wheres-the-unix-library/8782)

<div class="topic-metadata">

**Author:** [@TimLeonard](https://discuss.ocaml.org/u/TimLeonard)\
**Replies:** 5\
**Last updated:** [November 9, 2021, 3:46pm UTC](https://discuss.ocaml.org/t/wheres-the-unix-library/8782 "2021-11-09T15:46:28Z")

</div>

I’m using ocaml 4.12.0 on a Mac, and the Unix standard library doesn’t appear to exist. For example, typing “Unix.time;;” to the prompt results in “Error: Reference to undefined global \`Unix’”. Do I need to do something …

---

## [Installing emacs caml-mode](https://discuss.ocaml.org/t/installing-emacs-caml-mode/8740)

<div class="topic-metadata">

**Author:** [@TimLeonard](https://discuss.ocaml.org/u/TimLeonard)\
**Replies:** 6\
**Last updated:** [November 6, 2021, 12:51pm UTC](https://discuss.ocaml.org/t/installing-emacs-caml-mode/8740 "2021-11-06T12:51:57Z")

</div>

I’m trying to install caml-mode on emacs using opam, and it fails with “sandbox-exec: execvp() of ‘emacs’ failed: No such file or directory”. I don’t know enough about opam or installing emacs packages to have any idea h…

---

## [OCaml for ARM MacOS](https://discuss.ocaml.org/t/ocaml-for-arm-macos/6019)

<div class="topic-metadata">

**Author:** [@Blaisorblade](https://discuss.ocaml.org/u/Blaisorblade)\
**Replies:** 23\
**Last updated:** [February 23, 2021, 4:33am UTC](https://discuss.ocaml.org/t/ocaml-for-arm-macos/6019 "2021-02-23T04:33:14Z")

</div>

As a user of Coq on Macs, I wonder if OCaml will add native support for their new ARM CPUs, and how hard it is, and how long would that take roughly — 1month, 1 year, 10 years? I realize this question might be very hard…

---

## [Building OCaml 4.02.3 on macOS Big Sur](https://discuss.ocaml.org/t/building-ocaml-4-02-3-on-macos-big-sur/7127)

<div class="topic-metadata">

**Author:** [@ELLIOTTCABLE](https://discuss.ocaml.org/u/ELLIOTTCABLE)\
**Replies:** 5\
**Last updated:** [January 22, 2021, 5:00pm UTC](https://discuss.ocaml.org/t/building-ocaml-4-02-3-on-macos-big-sur/7127 "2021-01-22T17:00:16Z")

</div>

Anybody know why I might be having trouble building 4.02.3 on macOS? I’m trying to pick back up a project that’s languished for a year or so; I have an opam-lockfile with all my dependencies, but I’m having trouble repli…

---

## [Compilation failure upon running \`opam install mechaml\`](https://discuss.ocaml.org/t/compilation-failure-upon-running-opam-install-mechaml/5993)

<div class="topic-metadata">

**Author:** [@jahan](https://discuss.ocaml.org/u/jahan)\
**Replies:** 1\
**Last updated:** [June 16, 2020, 9:19pm UTC](https://discuss.ocaml.org/t/compilation-failure-upon-running-opam-install-mechaml/5993 "2020-06-16T21:19:51Z")

</div>

I used to have XCode on my Mac but removed it cause it took so much storage. Installed OCaml(via brew install ocaml) and Opam successfully but failed on opam install mechaml. This is the error log: I used to have XCod…

---

## [Sending UDP on macOS fails](https://discuss.ocaml.org/t/sending-udp-on-macos-fails/636)

<div class="topic-metadata">

**Author:** [@Leonidas](https://discuss.ocaml.org/u/Leonidas)\
**Replies:** 7\
**Last updated:** [July 31, 2017, 10:50pm UTC](https://discuss.ocaml.org/t/sending-udp-on-macos-fails/636 "2017-07-31T22:50:27Z")

</div>

Hi, I’m trying to send an UDP packet using Async: (\* corebuild -pkg async sendudp.native \*) open Core.Std open Async.Std let buf = "hello world\\n" |\> Iobuf.of\_string |\> Iobuf.read\_only let addr = Unix.Inet\_addr.o…
