nodejs v0.4

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Fri Sep 23 16:56:10 UTC 2011


Hi,

This problem is already solved by vanilla at . Please update your ports
tree and make sure you have extra-patch-src__node_buffer.cc in
www/node/files/. Then it should be OK to build nodejs on amd64 arch.

On Fri, Sep 23, 2011 at 11:17:13AM +0200, Norman Khine wrote:
> 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" ] )
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

-- 
   Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net> <sunpoet at FreeBSD.org>
           4096R/CC57E36B 8AD8 68F2 7D2B 0A10 7E9B 8CC0 DC44 247E CC57 E36B
                             http://people.FreeBSD.org/~sunpoet/pgpkeys.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20110923/d1e1c877/attachment.pgp


More information about the freebsd-ports mailing list