Date: Fri, 23 Sep 2011 11:17:13 +0200 From: Norman Khine <norman@khine.net> To: freebsd-ports@freebsd.org Subject: nodejs v0.4 Message-ID: <CAKgQ7UJCaDQywC%2BwJdDtWsWwDVHxZ2yBucffazt2hdhECojQvQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
hello, i have tried to build nodejs from the ports, but get this error: # cd /usr/ports/www/node # make install clean && rehash ===> Building for node-0.4.11 Waf: Entering directory `/usr/ports/www/node/work/node-v0.4.11/build' DEST_OS: freebsd DEST_CPU: x64 Parallel Jobs: 1 Product type: program [53/74] cxx: src/node_buffer.cc -> build/default/src/node_buffer_3.o c++ -O2 -pipe -fno-strict-aliasing -pthread -g -O3 -DHAVE_OPENSSL=1 - DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 - DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=0 -DPLATFORM="freebsd" - D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -Idefault/src - I../src -Idefault/deps/libeio -I../deps/libeio -Idefault/deps/ http_parser -I../deps/http_parser -Idefault/deps/libev -I../deps/libev -Idefault/deps/c-ares -I../deps/c-ares -Idefault/deps/c-ares/freebsd- x64 -I../deps/c-ares/freebsd-x64 -I/usr/include -I/usr/local/ include ../src/node_buffer.cc -c -o default/src/node_buffer_3.o ../src/node_buffer.cc: In static member function 'static v8::Handle<v8::Value> node::Buffer::Utf8Write(const v8::Arguments&)': ../src/node_buffer.cc:481: error: 'NO_HINTS' is not a member of 'v8::String' Waf: Leaving directory `/usr/ports/www/node/work/node-v0.4.11/build' Build failed: -> task failed (err #1): {task: cxx node_buffer.cc -> node_buffer_3.o} *** Error code 1 Stop in /usr/ports/www/node. from the node groups, http://groups.google.com/group/nodejs/browse_thread/thread/cc99fb94ecc1238a?pli=1 it was pointed that the port was trying to build against a shared libv8 and it's too old. i tried to follow different suggestions, but no answer as yet, anyone here able to point me in a direction that will allow me to build latest stable nodejs. cheers -- %>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] )
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKgQ7UJCaDQywC%2BwJdDtWsWwDVHxZ2yBucffazt2hdhECojQvQ>