From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MPYU7-00055D-8O for garchives@archives.gentoo.org; Sat, 11 Jul 2009 09:03:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09BC0E049C; Sat, 11 Jul 2009 09:03:06 +0000 (UTC) Received: from mail1.nippynetworks.com (mail.mailasail.com [212.227.250.41]) by pigeon.gentoo.org (Postfix) with ESMTP id 7CFA0E049C for ; Sat, 11 Jul 2009 09:03:05 +0000 (UTC) Received: from localhost (mail1.nippynetworks.com [127.0.2.1]) by mail1.nippynetworks.com (Postfix) with ESMTP id E0C1F6746E9 for ; Sat, 11 Jul 2009 10:03:04 +0100 (BST) X-Virus-Scanned: amavisd-new at nippynetworks.com Received: from mail1.nippynetworks.com ([127.0.2.1]) by localhost (mail1.nippynetworks.com [127.0.2.1]) (amavisd-new, port 10024) with LMTP id 5dbasPrVyciu for ; Sat, 11 Jul 2009 10:03:04 +0100 (BST) Received: from ed-wildgooses-macbook-pro.local (office.nippynetworks.com [94.194.201.187]) (Authenticated sender: edward@wildgooses.com) by mail1.nippynetworks.com (Postfix) with ESMTPSA id 85BD26746B6 for ; Sat, 11 Jul 2009 10:03:04 +0100 (BST) Message-ID: <4A585547.30601@wildgooses.com> Date: Sat, 11 Jul 2009 10:03:03 +0100 From: Ed W User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] uclibc + glib 2 - possible? References: <4A515F46.1050200@wildgooses.com> <51029ae90907052356l66802fafrc8b50db82a6939a0@mail.gmail.com> <4A574CA4.3040805@wildgooses.com> In-Reply-To: <4A574CA4.3040805@wildgooses.com> Content-Type: multipart/alternative; boundary="------------090301020802090203070109" X-Archives-Salt: 514f3379-dfff-4b22-9499-65d7872b129f X-Archives-Hash: 05b5dcd40a3566ca2dfe891d0d9d8aa7 This is a multi-part message in MIME format. --------------090301020802090203070109 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Ed W wrote: > yoshi watanabe wrote: >> 2009/7/6 Ed W : >> >>> 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: - 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, whic=
h
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 ... =C2=A0Any 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:
=C2=A0=C2=A0=C2=A0 http://bugs.gentoo.org/show_bug.c= gi?id=3D104468
=C2=A0=C2=A0=C2=A0 http://bugs.gentoo.org/show_bug.c= gi?id=3D268647

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


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


=C2=A0i386-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-<= br> 2.0 -I/usr/lib/glib-2.0/include -DDBUS_COMPILATION=3D1 -DDBUS_LOCALEDIR=3D\"/usr//locale\" -DDBUS_API_SUBJECT_TO_CHANGE=3D1 -march=3Dk6-2 -Os -pi
pe -fomit-frame-pointer -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align
=C2=A0-Wfloat-equal -Wsign-compare -MT dbus-gmain.lo -MD -MP -MF =2Edeps/dbus-gmain.Tpo -c dbus-gmain.c=C2=A0 -fPIC -DPIC -o .libs/dbus-gm= ain.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.=C2=A0 I'm still baffled by the relationship between "locales", gettext and iconv.=C2=A0 Does it help or hinder my cause to be= looking at enabling locales in uclibc?=C2=A0 (I have minimal needs for no= n english charactersets right now)

Thanks for any pointers

Ed W
--------------090301020802090203070109--