1. instead of rebuilding ICU, you can also just supply the full ICU data
(you already have the full code) at runtime. See
https://nodejs.org/api/intl.html#intl_providing_icu_data_at_runtime and the
full-icu npm module.
2. You don't need to run ICU build or check as 'sudo' (in fact I would not
recommend it). Only 'make install' should be needed as sudo.
3. The node build of ICU (and possibly the separate build) seems to have
failed due to lack of virtual memory. Building ICU data files is memory
4. The reason uconv failed is probably because the data files failed to
Here are my suggestions for you in order:
1. I would investigate the URL above and try using `npm install full-icu`
and following the instructions given.
If you are planning to rebuild node, you can use the system ICU with an
ICU from your system - on raspbian, try 'apt-get install libicu-dev' and it
will install a pre-built ICU. configure with system-icu should pick up the
system-installed libicu-dev. (you will need to manually uninstall ICU,
especially /usr/local/lib/pkgconfig/*icu*.pc and /usr/local/include/unicode
Hope this helps. Replying to both groups because this is relevant both to
node and general ICU build.
On Thu, Feb 22, 2018 at 6:03 AM, Koray <burakko...@gmail.com> wrote:
> I need to provide support for ISO-8859-9 (win-1254) in my application.
> So instead of default implementation of small-icu, I'm installing my
> Node.js with full-icu on my Raspberry Pi which runs Raspbian. However,
> when I try to build it, I get the following error:
> -c -o /home/pi/node/out/Release/obj.target/icudata/gen/icudt60_dat.o
> virtual memory exhausted: Cannot allocate memory
> tools/icu/icudata.target.mk:141: recipe for target
> make: *** [/home/pi/node/out/Release/obj.target/icudata/gen/
> Error 1
> rm 6ca5323700f3659317427b41feb126075d0969d9.intermediate
> Makefile:90: recipe for target 'node' failed
> make: *** [node] Error 2
> I have decided to build ICU and then proceed with Node.js building by
> providing system-icu as configure arguement. However, I seem to fail
> at it as well. The last messages after sudo ./runConfigureICU
> make: Making `all' in `test'
> make: Entering directory '/home/pi/icu/source/test'
> make: Nothing to be done for 'all'.
> make: Leaving directory '/home/pi/icu/source/test'
> make: Entering directory '/home/pi/icu/source'
> Note: rebuild with "make VERBOSE=1 all-local" to show all compiler
> make: Leaving directory '/home/pi/icu/source'
> And the sudo make check gives the following error:
> ./../../bin/uconv: can not initialize ICU. status = U_FILE_ACCESS_ERROR
> Makefile:125: recipe for target 'check-local' failed
> make: *** [check-local] Error 1
> ,make: Leaving directory '/home/pi/icu/source/extra/uconv'
> Makefile:49: recipe for target 'check-recursive' failed
> make: *** [check-recursive] Error 2
> make: Leaving directory '/home/pi/icu/source/extra'
> Makefile:149: recipe for target 'check-recursive' failed
> make: *** [check-recursive] Error 2
> Upon make install, running uconv gives the following error:
> uconv: error while loading shared libraries: libicui18n.so.60: cannot
> open shared object file: No such file or directory
> In the first case of exhaustion of virtual memory, is it possible for
> me to get rid of other languages and only build node.js with
> ISO-8859-9? If not, how can I build the ICU by itself? My knowledge of
> building software and ICU in general ends here, how can I diagnose the
> Please let me know if any other information is needed.
> Thank you
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> icu-support mailing list - icu-supp...@lists.sourceforge.net
> To Un/Subscribe: https://lists.sourceforge.net/lists/listinfo/icu-support
> Archives/Project Info: http://site.icu-project.org/contacts
Job board: http://jobs.nodejs.org/
New group rules:
Old group rules:
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.