-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS X Lion installation #9
Comments
Sure, an architecture is wrong. Then, I'm tried to change CXXFLAGS in wscript like this: and got:
|
The problem is in node-waf wrapper: nodejs/node-v0.x-archive#3633. I think the simpliest solution for now is to build the extension manually. I've written this simple makefile and it worked for me under OSX Lion: CC=g++
CFLAGS=-g -fPIC -DPIC -D_LARGEFILE_SOURCE -m64 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DEV_MULTIPLICITY=0 -I/usr/local/include/node -c
LFLAGS=-flat_namespace -undefined suppress -bundle -L/usr/local/lib
all: init rtmfp.node keyexchange.node after
init:
mkdir -p build/Release
rtmfp.o: src/rtmfp.cc
$(CC) $(CFLAGS) src/rtmfp.cc -o build/rtmfp.o
keyexchange.o: src/keyexchange.cc
$(CC) $(CFLAGS) src/keyexchange.cc -o build/keyexchange.o
rtmfp.node: rtmfp.o
$(CC) $(LFLAGS) build/rtmfp.o -o build/Release/rtmfp.node
keyexchange.node: keyexchange.o
$(CC) $(LFLAGS) build/keyexchange.o -o build/Release/keyexchange.node
after:
rm build/rtmfp.o
rm build/keyexchange.o
clean:
rm -rf build |
Problem description
After installing ArcusNode on Mac OS X Lion system, it won't run and raise following error:
How to reproduce
configure --prefix=/usr/local/bin
to prevent "Checking for node prefix: not found" during building of ArcusNode).The text was updated successfully, but these errors were encountered: