On Fri, Mar 26, 2021 at 9:28 AM Paul Cizmas <ciz...@tamu.edu> wrote: > > Hello: > > I am trying to install libuv on a Mac OS X 10.13.6. > > When I type "make" the process ends with the following error: > > src/unix/fsevents.c:52:5: error: initializer element is not constant > > kFSEventStreamEventFlagItemChangeOwner | > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > src/unix/fsevents.c:59:5: error: initializer element is not constant > > kFSEventStreamEventFlagItemCreated | > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > src/unix/fsevents.c:64:5: error: initializer element is not constant > > kFSEventStreamEventFlagUserDropped | > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > make: *** [Makefile:2612: src/unix/libuv_la-fsevents.lo] Error 1 > > I would appreciate any help to fix this. > > Thank you, > > Paul
It might be fallout caused by [0] but more likely your compiler is just very old. I once fixed a similar issue[1] for macOS 10.6. Feel free to steal the concept and open a pull request. [0] https://github.com/libuv/libuv/commit/75c8850c9 [1] https://github.com/libuv/libuv/commit/983fa68e9f -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to libuv+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/libuv/CAHQurc9jQOVGpiubZS5Y-rO_vMu29EV5VZg5a_Oymu99n%2B-3XA%40mail.gmail.com.