Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2011 00:55:08 +0800
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        Norman Khine <norman@khine.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: nodejs v0.4
Message-ID:  <20110923165508.GC21889@bonjour.sunpoet.net>
In-Reply-To: <CAKgQ7UJCaDQywC%2BwJdDtWsWwDVHxZ2yBucffazt2hdhECojQvQ@mail.gmail.com>
References:  <CAKgQ7UJCaDQywC%2BwJdDtWsWwDVHxZ2yBucffazt2hdhECojQvQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

This problem is already solved by vanilla@. 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:
>=20
> # cd /usr/ports/www/node
> # make install clean && rehash
> =3D=3D=3D>  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=3D1 -
> DEV_FORK_ENABLE=3D0 -DEV_EMBED_ENABLE=3D0 -DEV_MULTIPLICITY=3D0 -
> DX_STACKSIZE=3D65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -
> DEV_MULTIPLICITY=3D0 -DHAVE_FDATASYNC=3D0 -DPLATFORM=3D"freebsd" -
> D__POSIX__=3D1 -Wno-unused-parameter -D_FORTIFY_SOURCE=3D2 -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
>=20
> Stop in /usr/ports/www/node.
>=20
> from the node groups,
> http://groups.google.com/group/nodejs/browse_thread/thread/cc99fb94ecc123=
8a?pli=3D1
> it was pointed that the port was trying to build against a shared
> libv8 and it's too old.
>=20
> 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.
>=20
> cheers
>=20
> --=20
> %>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or
> chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] )
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

--=20
   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

--zhXaljGHf11kAtnf
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iQIcBAEBAgAGBQJOfLnrAAoJENxEJH7MV+Nrhz8P/jwyeSL7no2t6Pl8MiG1qrMy
iCS0GdRKpJTG8K3dD21s9idmTGuRU6XxdRTk74FeyQfj4+ibJO/uSt4na2gc+0MQ
dGJek7PpfBE56Oa7am4HjU0x242bHYtKtKkLVCtksZVChJs3wwimIwDV/XUd8wg6
RS9qD3yYpJh8zDXEaWcRfoI1v8NhDyjqhGjKctGHZll6yN6AsBP+DtDBphuHkd8l
LoUPylbhpxjtWVZZysip3tSZwkvfEieNvvBEywhp9DAFdmxIwfFJtvL7eLO25m+4
DqF6LRlTfCM53hPoyjG01dsB4jws8RmdTLG2ebgZtxzLQyCkFsCxlHofUSqbviec
YYn3XPOiO6KI6cQ7exIhhJGlNTagKHClpxSJPy4Jqpd/2QOhhCYUy/EeuHErAe0+
qFLn/hT8TEUBdwokkyNCexl0tZ5n+HIwIgE3ilDuIm6wABQnITc2XaOuBKxyeDyp
kwKuSk626GAxJClVVojNGVp8r9kOZCagSxe0dtHiAplIBdKdzUfRbySQYgRcr0ez
+MspNZGG1Kd4ca3chYIo2xmxBvg99BIAU3JQnds1KC+3gHXqhRN8QnRdl6jMBE6y
hn+06F6Eo077eG5lYrFFRXXWG2Sm+rGuYbynrJ3Vb7/loBn28/6s9Hul7DbWQ/Af
hAB4eHpZPSJRyu47HTWA
=pDG/
-----END PGP SIGNATURE-----

--zhXaljGHf11kAtnf--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110923165508.GC21889>