* [Buildroot] uclibc compilation w/ locale not supported? @ 2007-05-20 20:08 rafael2k 2007-05-20 22:27 ` rafael2k 0 siblings, 1 reply; 4+ messages in thread From: rafael2k @ 2007-05-20 20:08 UTC (permalink / raw) To: buildroot hi all, I made a .config for my uclibc 0.9.29, but when i run 'make' inside buildroot, it changes my config to: -UCLIBC_HAS_LOCALE=y -# UCLIBC_PREGENERATED_LOCALE_DATA is not set -# UCLIBC_HAS_XLOCALE is not set +# UCLIBC_HAS_LOCALE is not set thx, rafael diniz -- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Eng. da Computa??o @ Unicamp R?dio Muda, radiolivre.org, TV Piolho, tvlivre.org, www.midiaindependente.org Chave PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x2FF86098 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://busybox.net/lists/buildroot/attachments/20070520/5a2b5787/attachment.pgp ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] uclibc compilation w/ locale not supported? 2007-05-20 20:08 [Buildroot] uclibc compilation w/ locale not supported? rafael2k @ 2007-05-20 22:27 ` rafael2k 2007-05-21 18:58 ` Bernhard Fischer 0 siblings, 1 reply; 4+ messages in thread From: rafael2k @ 2007-05-20 22:27 UTC (permalink / raw) To: buildroot w/ this patch i got locale: diff -u toolchain/uClibc/uclibc.mk.orig toolchain/uClibc/uclibc.mk --- toolchain/uClibc/uclibc.mk.orig 2007-05-20 18:17:26.000000000 -0300 +++ toolchain/uClibc/uclibc.mk 2007-05-20 18:27:35.000000000 -0300 @@ -189,7 +189,7 @@ echo "# PTHREADS_DEBUG_SUPPORT is not set" >> $(UCLIBC_DIR)/.config endif ifeq ($(BR2_ENABLE_LOCALE),y) - $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=y\nUCLIBC_PREGENERATED_LOCALE_DATA=y\nUCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=y\nUCLIBC_HAS_XLOCALE=y\nUCLIBC_HAS_GLIBC_DIGIT_GROUPING=n\n,g' $(UCLIBC_DIR)/.config + $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=y,g' $(UCLIBC_DIR)/.config else $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=n,g' $(UCLIBC_DIR)/.config endif are these options really needed for locale? thx, rafael diniz Em Domingo 20 Maio 2007 17:08, rafael2k escreveu: > hi all, > I made a .config for my uclibc 0.9.29, but when i run 'make' inside > buildroot, it changes my config to: > > -UCLIBC_HAS_LOCALE=y > -# UCLIBC_PREGENERATED_LOCALE_DATA is not set > -# UCLIBC_HAS_XLOCALE is not set > +# UCLIBC_HAS_LOCALE is not set > > > thx, > rafael diniz -- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Eng. da Computa??o @ Unicamp R?dio Muda, radiolivre.org, TV Piolho, tvlivre.org, www.midiaindependente.org Chave PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x2FF86098 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://busybox.net/lists/buildroot/attachments/20070520/9773a3da/attachment.pgp ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] uclibc compilation w/ locale not supported? 2007-05-20 22:27 ` rafael2k @ 2007-05-21 18:58 ` Bernhard Fischer 2007-05-21 13:35 ` rafael2k 0 siblings, 1 reply; 4+ messages in thread From: Bernhard Fischer @ 2007-05-21 18:58 UTC (permalink / raw) To: buildroot On Sun, May 20, 2007 at 07:27:27PM -0300, rafael2k wrote: >w/ this patch i got locale: You did set BR2_ENABLE_LOCALE, didn't you? ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] uclibc compilation w/ locale not supported? 2007-05-21 18:58 ` Bernhard Fischer @ 2007-05-21 13:35 ` rafael2k 0 siblings, 0 replies; 4+ messages in thread From: rafael2k @ 2007-05-21 13:35 UTC (permalink / raw) To: buildroot : > >w/ this patch i got locale: > > You did set BR2_ENABLE_LOCALE, didn't you? yes. I discovered the problem. without my patch to uclibc.mk[1], look at my uclibc .config and the uclibc .config generated by buildroot: -# UCLIBC_HAS_XLOCALE is not set +UCLIBC_HAS_XLOCALE=y this code cannot be correct, as I compiled the system without XLOCALE (w/ my patch): at uclibc.mk line 191: ifeq ($(BR2_ENABLE_LOCALE),y) $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=y\nUCLIBC_PREGENERATE D_LOCALE_DATA=y\nUCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=y\nUCLIBC_HAS_XLOCALE= y\nUCLIBC_HAS_GLIBC_DIGIT_GROUPING=n\n,g' $(UCLIBC_DIR)/.config else $(SED) 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=n,g' $(UCLIBC_DIR)/.c onfig endif [1] - http://gnuden.sarava.org/Patch-uclibcmk/Diff thanks for greeeat tool! <= starting one more time a full port of slack w/ uclibc -- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Eng. da Computa??o @ Unicamp R?dio Muda, radiolivre.org, TV Piolho, tvlivre.org, www.midiaindependente.org Chave PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x2FF86098 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://busybox.net/lists/buildroot/attachments/20070521/32314487/attachment.pgp ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-05-21 18:58 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-05-20 20:08 [Buildroot] uclibc compilation w/ locale not supported? rafael2k 2007-05-20 22:27 ` rafael2k 2007-05-21 18:58 ` Bernhard Fischer 2007-05-21 13:35 ` rafael2k
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox