Red icon indicating copy to clipboard operation
Red copied to clipboard

DB::Pg is Linux only due to reliance on epoll?

Open MattOates opened this issue 7 years ago • 13 comments

DB::Pg relies on epoll which isn't available on macOS/BSD and I assume Windows etc. The further dependence on LibUUID is also Linux specific unless you go to the extra effort of installing it. DBIish however works just fine, is there any way to have this be an optional dependence with some checking for either back end?

MattOates avatar Nov 03 '18 21:11 MattOates

Ill take a look how, but its working on my mac. I use a mac machine to develop Red...

FCO avatar Nov 04 '18 11:11 FCO

it looks to not install poll on mac, but seems to work: https://travis-ci.org/FCO/Red/jobs/450572717

FCO avatar Nov 04 '18 19:11 FCO

Did it work for you?

FCO avatar Nov 21 '18 11:11 FCO

@MattOates did it work?

FCO avatar Dec 19 '18 20:12 FCO

I'm wondering whether the uv_io_t abstraction in libuv (which is already loaded by MoarVM,) can provide a more cross-platform solution to this, of course it doesn't solve it for people who don't use MoarVM.....

jonathanstowe avatar Dec 22 '18 19:12 jonathanstowe

Is anyone having problem to install Red on a Mac? For me it’s ok... I don’t have a windows, so I can’t test it...

Sent with GitHawk

FCO avatar Feb 10 '19 05:02 FCO

FWIW there is a libepoll that provides the epoll for non-Linux OS, however I have no idea where it is packaged.

jonathanstowe avatar Feb 10 '19 10:02 jonathanstowe

I tried to install Red on a new Mac and had the same problem... I've done zen install epoll --/test then everything seems to work... Probably I have something not working... I'll find it sooner or later...

FCO avatar Feb 28 '19 08:02 FCO