installing error on Mac OS X 10.13.6

36 views
Skip to first unread message

Paul Cizmas

unread,
Mar 26, 2021, 4:28:58 AM3/26/21
to libuv
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

Ben Noordhuis

unread,
Mar 26, 2021, 4:41:30 AM3/26/21
to li...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages