Gentoo Archives: gentoo-alt

From: Michael Haubenwallner <michael.haubenwallner@×××××××.at>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Re: AIX: gettext fails
Date: Fri, 04 May 2007 07:54:41
Message-Id: 1178265250.11041.23.camel@sapc154
In Reply to: Re: [gentoo-alt] Re: AIX: gettext fails by Marshall McMullen
On Thu, 2007-05-03 at 13:45 -0500, Marshall McMullen wrote:
> I'm sure I'm missing some other patches and some other details here, > but I tried applying the patch provided above, and then emerging > gettext, and it still fails with:
Even if you had the patch to get it installed without errors, it will not work, because the binaries will not find their installed sharedlibs correctly. This is a libtool problem, probably fixed with vanilla libtool-1.5.23b, but definitively not with vanilla libtool-1.5.22, although there are patches out (and applied in gentoo) for 1.5.22 IIRC. Now there are two ways to fix gettext: 1) completely re-libtoolize gettext with libtool-1.5.23b (currently it uses libtool-1.5.22), or fixed libtool-1.5.22. But this may be tricky. 2) create more patches like 'aixrtl' and 'instprefixlink' for 'elibtoolize', to fix gettext-shipped libtool-things (ltmain.sh, configure) directly. This also will be useful for other packages with similar problems. So we really want 2), and 1) _may_ be of some help to gain 2). This is what I call "aix libtool hell"... /haubi/
> > powerpc-ibm-aix5.2.0.0-gcc: > /home/mdmcmull/.overlay/usr/lib/libgettextlib.a: No such file or > directory > libtool: install: error: relink `libgettextsrc.la' with the above > command before installing it > make[4]: *** [install-libLTLIBRARIES] Error 1 > make[4]: Leaving directory > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools/src' > make[3]: *** [install-am] Error 2 > make[3]: Leaving directory > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools/src' > make[2]: *** [install] Error 2 > make[2]: Leaving directory > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools/src' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools' > make: *** [install-recursive] Error 1 > > Are there other patches I need to have applied perhaps ? > > On 5/3/07, Michael Haubenwallner <michael.haubenwallner@×××××××.at> wrote: > > On Wed, 2007-05-02 at 10:06 -0500, Marshall McMullen wrote: > > > Ah, I figured that was what was going on. I'll have to go back and > > > re-read your email about aix-libtool hell :-). > > > > Err, the previous was "aix dll hell", this one is "aix libtool hell", > > what I meant to repeat was "aix ... hell" ;) > > > > Grobian, attached is a patch for things like that: > > > > eclass/ELT-patches/instprefixlink/1.5.20: > > The patch to fix package-shipped libtool. > > > > eclass/toolchain-funcs.eclass > > This one is still not in svn yet. > > > > eclass/libtool.eclass > > Hunk#1: use above libtool-patch > > Hunk#2: still not in svn yet, required for aixrtl. > > > > sys-devel/gettext/gettext-0.16.1.ebuild > > Need to elibtoolize the package. > > > > Package with the same problem might be fixed with 'elibtoolize' now. > > > > > > > > > > Thanks for taking the time to reply and update me on it, I aprpeciate it. > > > > Sooner or later I'd have done it anyway - was in hope that someone else > > might have done it before me ;). I was just focused on linux recently, > > where our first packages are done so far to give prefix to my first > > colleagues :) > > > > /haubi/ > > > > > > > > I'm just glad I was able to get the new vim installed finally, > > > vertical split is really cool :-). > > > > > > Thanks! > > > > > > On 5/2/07, Michael Haubenwallner <michael.haubenwallner@×××××××.at> wrote: > > > > On Mon, 2007-04-30 at 14:42 -0500, Marshall McMullen wrote: > > > > > Anyone else making any progress on this yet? I think this is the last > > > > > package I am unable to install on AIX from system. > > > > > > > > > > Any thoughts appreciated. > > > > > > > > In danger of repeating myself: "Welcome to aix-libtool hell" > > > > > > > > This is the main reason why I do not use DESTDIR on aix in > > > > prefix-launcher (aka. toolsbox). > > > > > > > > We will see many packages having this problem, the next one will be > > > > dev-libs/libxml2, a prerequisite of subversion. > > > > > > > > They all have the same libtool problem, but I'm unsure if there is > > > > already a fix out there - maybe libtool-1.5.23b ? > > > > > > > > Grobian: while trying to 'elibtoolize' gettext, I had to apply attached > > > > patch to eclass/libtool.eclass, based on my previous patch for > > > > aix-dllhell. > > > > > > > > This does not fix the gettext-problem, but a bug in libtool.eclass only. > > > > > > > > /haubi/ > > > > > > > > > > > > > > > > > > Thanks! > > > > > > > > > > > > > > > On 4/20/07, Marshall McMullen <marshall.mcmullen@×××××.com> wrote: > > > > > > I've emerged libiconv now, but when trying to emerge gettext I get: > > > > > > > > > > > > powerpc-ibm-aix5.2.0.0-gcc: > > > > > > /home/mdmcmull/.overlay/usr/lib/libgettextlib.a: No such file or > > > > > > directory > > > > > > libtool: install: error: relink `libgettextsrc.la' with the above > > > > > > command before installing it > > > > > > make[4]: *** [install-libLTLIBRARIES] Error 1 > > > > > > make[4]: Leaving directory > > > > > > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools/src' > > > > > > make[3]: *** [install-am] Error 2 > > > > > > make[3]: Leaving directory > > > > > > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools/src' > > > > > > make[2]: *** [install] Error 2 > > > > > > make[2]: Leaving directory > > > > > > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools/src' > > > > > > make[1]: *** [install-recursive] Error 1 > > > > > > make[1]: Leaving directory > > > > > > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools' > > > > > > make: *** [install-recursive] Error 1 > > > > > > > > > > > > > > > > > > -- > > > > > > Marshall McMullen > > > > > > marshall.mcmullen@×××××.com > > > > > > mjmcmullen@×××××.net > > > > > > mdmcmullen@××××××.com > > > > > > > > > > > > In France, there's a popular saying about Linux that essentially translates as: > > > > > > "Linux? You can get a less powerful system, but it will cost you more." > > > > > > > > > > > > > > > > > > > > > -- > > > > > Marshall McMullen > > > > > marshall.mcmullen@×××××.com > > > > > mjmcmullen@×××××.net > > > > > mdmcmullen@××××××.com > > > > > > > > > > In France, there's a popular saying about Linux that essentially translates as: > > > > > "Linux? You can get a less powerful system, but it will cost you more." > > > > > > > > -- > > > > Salomon Automation GmbH - Friesachstrasse 15 - A-8114 Friesach bei Graz > > > > Sitz der Gesellschaft: Friesach bei Graz > > > > UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K > > > > Firmenbuchgericht: Landesgericht fur Zivilrechtssachen Graz > > > > > > > > > > > > > > > > > > > > > -- > > > Marshall McMullen > > > marshall.mcmullen@×××××.com > > > mjmcmullen@×××××.net > > > mdmcmullen@××××××.com > > > > > > In France, there's a popular saying about Linux that essentially translates as: > > > "Linux? You can get a less powerful system, but it will cost you more." > > > > > > > -- > Marshall McMullen > marshall.mcmullen@×××××.com > mjmcmullen@×××××.net > mdmcmullen@××××××.com > > In France, there's a popular saying about Linux that essentially translates as: > "Linux? You can get a less powerful system, but it will cost you more."
-- Salomon Automation GmbH - Friesachstrasse 15 - A-8114 Friesach bei Graz Sitz der Gesellschaft: Friesach bei Graz UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K Firmenbuchgericht: Landesgericht für Zivilrechtssachen Graz -- gentoo-alt@g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] Re: AIX: gettext fails Marshall McMullen <marshall.mcmullen@×××××.com>