public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] uclibc + glib 2 - possible?
@ 2009-07-06  2:19 Ed W
  2009-07-06  6:56 ` yoshi watanabe
  0 siblings, 1 reply; 5+ messages in thread
From: Ed W @ 2009-07-06  2:19 UTC (permalink / raw
  To: gentoo-embedded

Does anyone have any suggestions to getting glib 2.6 or newer to build 
against uclibc 0.9.30.1 (or similar)?

The docs claim it's masked because glib 2.6 and newer require iconv, 
which is increasingly unavailable on newer uclibc builds...

Actually I don't need locales, I just want to build gpsd to use dbus, 
and that appears to require a recent glib ...  Any suggestions?

Thanks

Ed W



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-embedded] uclibc + glib 2 - possible?
  2009-07-06  2:19 [gentoo-embedded] uclibc + glib 2 - possible? Ed W
@ 2009-07-06  6:56 ` yoshi watanabe
  2009-07-06 11:23   ` Ed W
  2009-07-10 14:13   ` Ed W
  0 siblings, 2 replies; 5+ messages in thread
From: yoshi watanabe @ 2009-07-06  6:56 UTC (permalink / raw
  To: gentoo-embedded

2009/7/6 Ed W <lists@wildgooses.com>:
> Does anyone have any suggestions to getting glib 2.6 or newer to build
> against uclibc 0.9.30.1 (or similar)?
>
> The docs claim it's masked because glib 2.6 and newer require iconv, which
> is increasingly unavailable on newer uclibc builds...
>
> Actually I don't need locales, I just want to build gpsd to use dbus, and
> that appears to require a recent glib ...  Any suggestions?
>
> Thanks
>
> Ed W
>
>

yes, there is a hack on bugs gentoo org  , bug #104468 . it seems like
not much is happening with this bug, unfortunately :/



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-embedded] uclibc + glib 2 - possible?
  2009-07-06  6:56 ` yoshi watanabe
@ 2009-07-06 11:23   ` Ed W
  2009-07-10 14:13   ` Ed W
  1 sibling, 0 replies; 5+ messages in thread
From: Ed W @ 2009-07-06 11:23 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 820 bytes --]

yoshi watanabe wrote:
> 2009/7/6 Ed W <lists@wildgooses.com>:
>   
>> Does anyone have any suggestions to getting glib 2.6 or newer to build
>> against uclibc 0.9.30.1 (or similar)?
>>
>> The docs claim it's masked because glib 2.6 and newer require iconv, which
>> is increasingly unavailable on newer uclibc builds...
>>
>> Actually I don't need locales, I just want to build gpsd to use dbus, and
>> that appears to require a recent glib ...  Any suggestions?
>>
>> Thanks
>>
>> Ed W
>>
>>
>>     
>
> yes, there is a hack on bugs gentoo org  , bug #104468 . it seems like
> not much is happening with this bug, unfortunately :/
>
>   

Hmm, interesting - patch seems clean - will try it shortly.  Anyone 
tried it on a more recent glib and can point out any issues before I 
spend too much time on it?

Thanks

Ed W

[-- Attachment #2: Type: text/html, Size: 1354 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-embedded] uclibc + glib 2 - possible?
  2009-07-06  6:56 ` yoshi watanabe
  2009-07-06 11:23   ` Ed W
@ 2009-07-10 14:13   ` Ed W
  2009-07-11  9:03     ` Ed W
  1 sibling, 1 reply; 5+ messages in thread
From: Ed W @ 2009-07-10 14:13 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 908 bytes --]

yoshi watanabe wrote:
> 2009/7/6 Ed W <lists@wildgooses.com>:
>   
>> Does anyone have any suggestions to getting glib 2.6 or newer to build
>> against uclibc 0.9.30.1 (or similar)?
>>
>> The docs claim it's masked because glib 2.6 and newer require iconv, which
>> is increasingly unavailable on newer uclibc builds...
>>
>> Actually I don't need locales, I just want to build gpsd to use dbus, and
>> that appears to require a recent glib ...  Any suggestions?
>>
>> Thanks
>>
>> Ed W
>>
>>
>>     
>
> yes, there is a hack on bugs gentoo org  , bug #104468 . it seems like
> not much is happening with this bug, unfortunately :/
>
>   

How do you override profile/packages ...??

I tried adding an entries to
/etc/portage/package.unmask
/etc/portage/profiles/package.unmask
/etc/portage/profile/packages (added just *dev-libs/glib - is this right?)

Still glib says it's profile masked??!!

Thanks

Ed W

[-- Attachment #2: Type: text/html, Size: 1473 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-embedded] uclibc + glib 2 - possible?
  2009-07-10 14:13   ` Ed W
@ 2009-07-11  9:03     ` Ed W
  0 siblings, 0 replies; 5+ messages in thread
From: Ed W @ 2009-07-11  9:03 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 2269 bytes --]

Ed W wrote:
> yoshi watanabe wrote:
>> 2009/7/6 Ed W <lists@wildgooses.com>:
>>   
>>> Does anyone have any suggestions to getting glib 2.6 or newer to build
>>> against uclibc 0.9.30.1 (or similar)?
>>>
>>> The docs claim it's masked because glib 2.6 and newer require iconv, which
>>> is increasingly unavailable on newer uclibc builds...
>>>
>>> Actually I don't need locales, I just want to build gpsd to use dbus, and
>>> that appears to require a recent glib ...  Any suggestions?
>>>
>>> Thanks
>>>
>>> Ed W
>>>
>>>
>>>     
>>
>> yes, there is a hack on bugs gentoo org  , bug #104468 . it seems like
>> not much is happening with this bug, unfortunately :/
>>
>>   
>
> How do you override profile/packages ...??

OK, progress so far:

These patches allows glib to build:
    http://bugs.gentoo.org/show_bug.cgi?id=104468
    http://bugs.gentoo.org/show_bug.cgi?id=268647

You need to unmask it by appending to /etc/portage/profiles/packages:
    -<dev-libs/glib-2.5


However, then dbus-glib fails to build (which was my original goal) with 
an error about lacking gettext.  I patched this test out and it then 
falls over


 i386-gentoo-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. 
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-
2.0 -I/usr/lib/glib-2.0/include -DDBUS_COMPILATION=1 
-DDBUS_LOCALEDIR=\"/usr//locale\" -DDBUS_API_SUBJECT_TO_CHANGE=1 
-march=k6-2 -Os -pi
pe -fomit-frame-pointer -Wall -Wchar-subscripts -Wmissing-declarations 
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align
 -Wfloat-equal -Wsign-compare -MT dbus-gmain.lo -MD -MP -MF 
.deps/dbus-gmain.Tpo -c dbus-gmain.c  -fPIC -DPIC -o .libs/dbus-gmain.o

dbus-glib.c:32:21dbus-gmain.c:36:21: libintl.h: No such file or directory
: libintl.h: No such file or directory
make[4]: *** [dbus-glib.lo] Error 1



I guess I need to fix this to get it going, but wondered if anyone had 
any experience?

I see that uclibc recent builds have a "locale" option which isn't 
enabled by default.  I'm still baffled by the relationship between 
"locales", gettext and iconv.  Does it help or hinder my cause to be 
looking at enabling locales in uclibc?  (I have minimal needs for non 
english charactersets right now)

Thanks for any pointers

Ed W

[-- Attachment #2: Type: text/html, Size: 3332 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-07-11  9:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-06  2:19 [gentoo-embedded] uclibc + glib 2 - possible? Ed W
2009-07-06  6:56 ` yoshi watanabe
2009-07-06 11:23   ` Ed W
2009-07-10 14:13   ` Ed W
2009-07-11  9:03     ` Ed W

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox