Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Can we update NodeJS package to 0.12.*
@ 2015-04-13 16:05 George Chen
  2015-04-13 19:19 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: George Chen @ 2015-04-13 16:05 UTC (permalink / raw)
  To: buildroot

Current 2015.03 buildroot contains NodeJS 0.10.36

Is there a way to customly configure the package to 0.11.* or 0.12.*?

The reason for the newer NodeJS version is that IPv6 is not fully supported in 0.10.*



I tried to change Config.mk

- NODEJS_VERSION = 0.10.36 
+ NODEJS_VERSION = 0.12.0


And then I changed nodejs-remove-python-bz2-dependency.patch

Index: b/deps/v8/tools/js2c.py
===================================================================
--- a/deps/v8/tools/js2c.py
+++ b/deps/v8/tools/js2c.py
@@ -34,7 +34,6 @@
 import os, re, sys, string
 import optparse
 import jsmin
-import bz2
 import textwrap
 
 
@@ -492,6 +491,7 @@
   if compression_type == "off":
     return sources_bytes
   elif compression_type == "bz2":
+    import bz2
     return bz2.compress(sources_bytes)
   else:
     raise Error("Unknown compression type %s." % compression_type)


However, I am getting the make error:

../deps/v8/src/base/atomicops_internals_arm_gcc.h:258:4: error: #error "Your CPU's ARM architecture is not supported yet"


Is there an easy way to update the NodeJS package?
Is my only option to add NodeJS 0.12.0 as a custom package?

Thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-15  8:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-13 16:05 [Buildroot] Can we update NodeJS package to 0.12.* George Chen
2015-04-13 19:19 ` Thomas Petazzoni
2015-04-15  8:02   ` Jörg Krause

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox