On Tue, Nov 5, 2013 at 1:56 PM,  <[email protected]> wrote:
> Hi,
>
> I'm trying to install the Fibers (https://npmjs.org/package/fibers) Node 
> module on OpenBSD but it seems to be failing. I contacted the author and he 
> told me to check the bindings.gyp file:
>
> Anything here OpenBSD might react to?

...

> gmake: Entering directory `/home/opendaddy/myapp/node_modules/fibers/build'
>   g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DUSE_CORO' 
> '-DCORO_GUARDPAGES=1' '-DCORO_UCONTEXT' '-DBUILDING_NODE_EXTENSION' 
> -I/home/opendaddy/.node-gyp/0.8.18/src 
> -I/home/opendaddy/.node-gyp/0.8.18/deps/uv/include 
> -I/home/opendaddy/.node-gyp/0.8.18/deps/v8/include  -I/usr/include -fPIC 
> -Wall -pthread -m64 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink 
> -fno-rtti -fno-exceptions -MMD -MF 
> ./Release/.deps/Release/obj.target/fibers/src/fibers.o.d.raw  -c -o 
> Release/obj.target/fibers/src/fibers.o ../src/fibers.cc
> In file included from ../src/coroutine.h:4,
>                  from ../src/fibers.cc:1:
> ../src/libcoro/coro.h:321:23: warning: ucontext.h: No such file or directory

OpenBSD lacks the ucontext.h and associated functions
(setcontext/getcontext, swapcontext, and makecontext).

Reply via email to