Hello,
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:
/home/pi/node/out/Release/.deps//home/pi/node/out/Release/obj.target/icudata/gen/icudt60_dat.o.d.raw
-c -o /home/pi/node/out/Release/obj.target/icudata/gen/icudt60_dat.o
/home/pi/node/out/Release/obj/gen/icudt60_dat.c
virtual memory exhausted: Cannot allocate memory
tools/icu/
icudata.target.mk:141: recipe for target
'/home/pi/node/out/Release/obj.target/icudata/gen/icudt60_dat.o'
failed
make[1]: *** [/home/pi/node/out/Release/obj.target/icudata/gen/icudt60_dat.o]
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
Linux/gcc:
make[0]: Making `all' in `test'
make[1]: Entering directory '/home/pi/icu/source/test'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/pi/icu/source/test'
make[1]: Entering directory '/home/pi/icu/source'
Note: rebuild with "make VERBOSE=1 all-local" to show all compiler parameters.
make[1]: 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[2]: *** [check-local] Error 1
,make[2]: Leaving directory '/home/pi/icu/source/extra/uconv'
Makefile:49: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 2
make[1]: 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
issue?
Please let me know if any other information is needed.
Thank you