Skip to contentSkip to conversation

Found my LIBICONV problem, just ignore that one.

Buildroot Michael S. Zick 3 participants 4 messages Nov 26, 2009 – Nov 27, 2009

lore
Share & tools
lore
#0 lore raw

BR2_PACKAGE_PKG_CONFIG -> BR2_PACKAGE_LIBGLIB2 -> BR2_PACKAGE_LIBINTL && BR2_PACKAGE_LIBICONV So once you select PKG-CONFIG, the others are set and remain set even when you deselect PKG-CONFIG.

It is just one of the irritations of the select "feature" of Kconfig; Kconfig doesn't have an "auto-selected by" marker to support an "auto-unselect"; that would unselect the selections that it had previously over-ridden. ;)

Not fixable, we just have to learn to live with it and use "search" when something gets "locked on".

Mike

#1 lore raw
Quoted 1 line · Michael S. Zick

BR2_PACKAGE_PKG_CONFIG -> BR2_PACKAGE_LIBGLIB2 -> BR2_PACKAGE_LIBINTL && BR2_PACKAGE_LIBICONV

This dependency chain is wrong though, as far as I can see. pkg-config comes with its own copy of glib-1.2.10. It doesn't need libglib2 and it doesn't need libintl or iconv either.

Sven

#2 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Sven" == Sven Neumann <[email protected]> writes:

Quoted 1 line · Michael S. Zick
Quoted 1 line

BR2_PACKAGE_PKG_CONFIG -> BR2_PACKAGE_LIBGLIB2 -> BR2_PACKAGE_LIBINTL && BR2_PACKAGE_LIBICONV

Sven> This dependency chain is wrong though, as far as I can see. pkg-config Sven> comes with its own copy of glib-1.2.10. It doesn't need libglib2 and it Sven> doesn't need libintl or iconv either.

Yes, you can either use the embedded glib copy or you can build with --with-installed-glib. We do the latter for the target because the embedded copy doesn't cross compile easily (and we already did the work for the glib package).

It's a bit of extra bloat if you want pkg-config and not glib, but as you only need pkg-config if you have an entire toolchain, adding glib as well is probably not a big deal.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw
Quoted 5 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Sven" == Sven Neumann <[email protected]> writes:

Quoted 1 line · Michael S. Zick
Quoted 1 line

BR2_PACKAGE_PKG_CONFIG -> BR2_PACKAGE_LIBGLIB2 -> BR2_PACKAGE_LIBINTL && BR2_PACKAGE_LIBICONV

Quoted 8 lines

Sven> This dependency chain is wrong though, as far as I can see. pkg-config Sven> comes with its own copy of glib-1.2.10. It doesn't need libglib2 and it Sven> doesn't need libintl or iconv either.

Yes, you can either use the embedded glib copy or you can build with --with-installed-glib. We do the latter for the target because the embedded copy doesn't cross compile easily (and we already did the work for the glib package).

Ah, that makes sense. Thanks for pointing this out.

Sven