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
1 On Thu, 2007-05-03 at 13:45 -0500, Marshall McMullen wrote:
2 > I'm sure I'm missing some other patches and some other details here,
3 > but I tried applying the patch provided above, and then emerging
4 > gettext, and it still fails with:
5
6 Even if you had the patch to get it installed without errors, it will
7 not work, because the binaries will not find their installed sharedlibs
8 correctly.
9
10 This is a libtool problem, probably fixed with vanilla libtool-1.5.23b,
11 but definitively not with vanilla libtool-1.5.22, although there are
12 patches out (and applied in gentoo) for 1.5.22 IIRC.
13
14 Now there are two ways to fix gettext:
15
16 1) completely re-libtoolize gettext with libtool-1.5.23b (currently it
17 uses libtool-1.5.22), or fixed libtool-1.5.22. But this may be tricky.
18
19 2) create more patches like 'aixrtl' and 'instprefixlink' for
20 'elibtoolize', to fix gettext-shipped libtool-things (ltmain.sh,
21 configure) directly.
22 This also will be useful for other packages with similar problems.
23
24 So we really want 2), and 1) _may_ be of some help to gain 2).
25
26 This is what I call "aix libtool hell"...
27
28 /haubi/
29 >
30 > powerpc-ibm-aix5.2.0.0-gcc:
31 > /home/mdmcmull/.overlay/usr/lib/libgettextlib.a: No such file or
32 > directory
33 > libtool: install: error: relink `libgettextsrc.la' with the above
34 > command before installing it
35 > make[4]: *** [install-libLTLIBRARIES] Error 1
36 > make[4]: Leaving directory
37 > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools/src'
38 > make[3]: *** [install-am] Error 2
39 > make[3]: Leaving directory
40 > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools/src'
41 > make[2]: *** [install] Error 2
42 > make[2]: Leaving directory
43 > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools/src'
44 > make[1]: *** [install-recursive] Error 1
45 > make[1]: Leaving directory
46 > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools'
47 > make: *** [install-recursive] Error 1
48 >
49 > Are there other patches I need to have applied perhaps ?
50 >
51 > On 5/3/07, Michael Haubenwallner <michael.haubenwallner@×××××××.at> wrote:
52 > > On Wed, 2007-05-02 at 10:06 -0500, Marshall McMullen wrote:
53 > > > Ah, I figured that was what was going on. I'll have to go back and
54 > > > re-read your email about aix-libtool hell :-).
55 > >
56 > > Err, the previous was "aix dll hell", this one is "aix libtool hell",
57 > > what I meant to repeat was "aix ... hell" ;)
58 > >
59 > > Grobian, attached is a patch for things like that:
60 > >
61 > > eclass/ELT-patches/instprefixlink/1.5.20:
62 > > The patch to fix package-shipped libtool.
63 > >
64 > > eclass/toolchain-funcs.eclass
65 > > This one is still not in svn yet.
66 > >
67 > > eclass/libtool.eclass
68 > > Hunk#1: use above libtool-patch
69 > > Hunk#2: still not in svn yet, required for aixrtl.
70 > >
71 > > sys-devel/gettext/gettext-0.16.1.ebuild
72 > > Need to elibtoolize the package.
73 > >
74 > > Package with the same problem might be fixed with 'elibtoolize' now.
75 > >
76 > >
77 > > >
78 > > > Thanks for taking the time to reply and update me on it, I aprpeciate it.
79 > >
80 > > Sooner or later I'd have done it anyway - was in hope that someone else
81 > > might have done it before me ;). I was just focused on linux recently,
82 > > where our first packages are done so far to give prefix to my first
83 > > colleagues :)
84 > >
85 > > /haubi/
86 > >
87 > > >
88 > > > I'm just glad I was able to get the new vim installed finally,
89 > > > vertical split is really cool :-).
90 > > >
91 > > > Thanks!
92 > > >
93 > > > On 5/2/07, Michael Haubenwallner <michael.haubenwallner@×××××××.at> wrote:
94 > > > > On Mon, 2007-04-30 at 14:42 -0500, Marshall McMullen wrote:
95 > > > > > Anyone else making any progress on this yet? I think this is the last
96 > > > > > package I am unable to install on AIX from system.
97 > > > > >
98 > > > > > Any thoughts appreciated.
99 > > > >
100 > > > > In danger of repeating myself: "Welcome to aix-libtool hell"
101 > > > >
102 > > > > This is the main reason why I do not use DESTDIR on aix in
103 > > > > prefix-launcher (aka. toolsbox).
104 > > > >
105 > > > > We will see many packages having this problem, the next one will be
106 > > > > dev-libs/libxml2, a prerequisite of subversion.
107 > > > >
108 > > > > They all have the same libtool problem, but I'm unsure if there is
109 > > > > already a fix out there - maybe libtool-1.5.23b ?
110 > > > >
111 > > > > Grobian: while trying to 'elibtoolize' gettext, I had to apply attached
112 > > > > patch to eclass/libtool.eclass, based on my previous patch for
113 > > > > aix-dllhell.
114 > > > >
115 > > > > This does not fix the gettext-problem, but a bug in libtool.eclass only.
116 > > > >
117 > > > > /haubi/
118 > > > >
119 > > > >
120 > > > > >
121 > > > > > Thanks!
122 > > > > >
123 > > > > >
124 > > > > > On 4/20/07, Marshall McMullen <marshall.mcmullen@×××××.com> wrote:
125 > > > > > > I've emerged libiconv now, but when trying to emerge gettext I get:
126 > > > > > >
127 > > > > > > powerpc-ibm-aix5.2.0.0-gcc:
128 > > > > > > /home/mdmcmull/.overlay/usr/lib/libgettextlib.a: No such file or
129 > > > > > > directory
130 > > > > > > libtool: install: error: relink `libgettextsrc.la' with the above
131 > > > > > > command before installing it
132 > > > > > > make[4]: *** [install-libLTLIBRARIES] Error 1
133 > > > > > > make[4]: Leaving directory
134 > > > > > > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools/src'
135 > > > > > > make[3]: *** [install-am] Error 2
136 > > > > > > make[3]: Leaving directory
137 > > > > > > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools/src'
138 > > > > > > make[2]: *** [install] Error 2
139 > > > > > > make[2]: Leaving directory
140 > > > > > > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools/src'
141 > > > > > > make[1]: *** [install-recursive] Error 1
142 > > > > > > make[1]: Leaving directory
143 > > > > > > `/home/mdmcmull/.overlay/var/tmp/portage/sys-devel/gettext-0.16.1/work/gettext-0.16.1/gettext-tools'
144 > > > > > > make: *** [install-recursive] Error 1
145 > > > > > >
146 > > > > > >
147 > > > > > > --
148 > > > > > > Marshall McMullen
149 > > > > > > marshall.mcmullen@×××××.com
150 > > > > > > mjmcmullen@×××××.net
151 > > > > > > mdmcmullen@××××××.com
152 > > > > > >
153 > > > > > > In France, there's a popular saying about Linux that essentially translates as:
154 > > > > > > "Linux? You can get a less powerful system, but it will cost you more."
155 > > > > > >
156 > > > > >
157 > > > > >
158 > > > > > --
159 > > > > > Marshall McMullen
160 > > > > > marshall.mcmullen@×××××.com
161 > > > > > mjmcmullen@×××××.net
162 > > > > > mdmcmullen@××××××.com
163 > > > > >
164 > > > > > In France, there's a popular saying about Linux that essentially translates as:
165 > > > > > "Linux? You can get a less powerful system, but it will cost you more."
166 > > > >
167 > > > > --
168 > > > > Salomon Automation GmbH - Friesachstrasse 15 - A-8114 Friesach bei Graz
169 > > > > Sitz der Gesellschaft: Friesach bei Graz
170 > > > > UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K
171 > > > > Firmenbuchgericht: Landesgericht fur Zivilrechtssachen Graz
172 > > > >
173 > > > >
174 > > > >
175 > > >
176 > > >
177 > > > --
178 > > > Marshall McMullen
179 > > > marshall.mcmullen@×××××.com
180 > > > mjmcmullen@×××××.net
181 > > > mdmcmullen@××××××.com
182 > > >
183 > > > In France, there's a popular saying about Linux that essentially translates as:
184 > > > "Linux? You can get a less powerful system, but it will cost you more."
185 > >
186 > >
187 >
188 >
189 > --
190 > Marshall McMullen
191 > marshall.mcmullen@×××××.com
192 > mjmcmullen@×××××.net
193 > mdmcmullen@××××××.com
194 >
195 > In France, there's a popular saying about Linux that essentially translates as:
196 > "Linux? You can get a less powerful system, but it will cost you more."
197
198
199 --
200 Salomon Automation GmbH - Friesachstrasse 15 - A-8114 Friesach bei Graz
201 Sitz der Gesellschaft: Friesach bei Graz
202 UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K
203 Firmenbuchgericht: Landesgericht für Zivilrechtssachen Graz
204
205 --
206 gentoo-alt@g.o mailing list

Replies

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