-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node 5.0.0 wasn't compiled with Intl for armhf *.deb #168
Comments
It was for ubuntu vivid if this info is relevant. |
Probably that libicu52 and libicu-dev weren't installed on the ubtuntu machine used to compile node? Or |
It hasn't been compiled with |
Ok guys intl support is not included:
|
@chrislea yes, and we were used to use an intl polyfill that was endorsing the native Intl responsibility in one of our apps till now and... we didn't detect that till now. At the moment this same app don't build anymore because of missing Intl and polyfill problem so I detected that. |
On wich repo can I make a PR to fix that? Also about the deb/rpm packages libicu maybe should become a required dependency. |
Well, if we decide to 'officially' support this compile option, then yes, the libicu libraries would become dependencies. Which is part of the equation regarding if we do it or not, as we'll need to see if that's even feasible on some older distros that we want to keep supporting. I've asked other people at NodeSource about this who know more about the issues and am waiting to hear back from them. I'd just leave this issue open to track it. Whatever we decide to do I will update here. |
Ok no pb. As nodejs official binary distributions includes intl/icu should be a great compatibility lineup BTW. |
Okay. The 4.2.2 builds and the 5.0.0 builds are now compiled with |
@chrislea thx I will give it a try today! 😻 |
@chrislea looks ok but I was running it in a ubuntu vivid container without any locale generated (POSIX was the only one). It's important to generate the right locales. BTW I've seen that node 5.1 has been release today and that the deb don't include any dependency on libicu. Haven't installed it yet but I guess that this release wasn't compiled with system intl support? |
Also, does it exist a way to pin to a specific release? If in my Dockerfile I pu the following lines:
Il will install 5.1.0 release for example.... but if i put
It will fail as the Packages file of your debs repo only expose the last release even if the previous one is still available in the pool. |
@shouze after some annoying issues with using The pinning thing is an issue with the |
Ok I understand about $ node -p process.config | grep locales icu_locales: 'en,root', So let's say that if I need to support other locales in my app... ok no... I will always have to use the intl polyfill it's a shame. |
@shouze: The problem there is that to statically compile in everything using |
node 5.1 released |
@chrislea ok with |
@auvipy yup and the debs are available. |
I close this one as all is ok right now. |
When I run this command:
$ node -e 'var res = typeof Intl; console.log(res);' undefined
Should be
object
of course.The text was updated successfully, but these errors were encountered: