Gentoo Archives: gentoo-dev

From: Vitaly Kushneriuk <vitaly_kushneriuk@×××××.com>
To: Gentoo-dev <gentoo-dev@g.o>
Subject: Re: [gentoo-dev] What provides -lpython2.2 ? (needed for koffice)
Date: Sun, 20 Jan 2002 05:28:15
Message-Id: 1011526122.13108.13.camel@uranus.u235.eyep.net
In Reply to: Re: [gentoo-dev] What provides -lpython2.2 ? (needed for koffice) by Juergen Ilse
1 On Sun, 2002-01-20 at 12:59, Juergen Ilse wrote:
2 > Hello,
3 >
4 > On Sun, Jan 20, 2002 at 10:46:53AM +0200, Martin Schlemmer wrote:
5 > > On Sun, 2002-01-20 at 00:41, Juergen Ilse wrote:
6 > > > On Sat, Jan 19, 2002 at 09:44:39PM +0200, Dan Armak wrote:
7 > > > > I haven't been able to find this myself either. What does provide
8 > > > > -lpython2.2? Python doesn't install any libs according to its CONTENTS, but
9 > > > > -lpython2.2 is in the python-config output.
10 > > >
11 > > > The static library mentioned above has the name libpython2.2.a
12 > > > I didn't find a shared version of this library.
13 > ^^^^^^
14 > > it is here:
15 > > /usr/lib/python2.2/config/libpython2.2.a
16 >
17 > I already mentioned the place where to find the static version of this
18 > library. libpython2.2.a is *not* a shared library but a static one.
19 > I don*t know, if a shared version of this library is possible, but
20 > until now, there is no shared version.
21 >
22 > But let us talk about something else ...
23 > I had difficulties to build koffice-i18n-1.1.1 (same problem with some
24 > other packages): It seems so, that the ebuild script wants to change
25 > the directory to work/kde-i18n but there is no such directory in the
26 > unpacked source ... I solved this problem (for me) with a kind of dirty
27 > hack: i changed to /var/tmp/portage/koffice-1.1.1/work and created a
28 > softlink from kde-i18n-1.1.1 to kde-i18n before the unpacking of the
29 > source was complete. How can this problem be solved without this "dirty
30 > hack" of creating a softlink while the build-process is unpacking the
31 > source? Any ideas?
32 Looks like $S ebuild variable has wrong value. As kde stuff uses
33 eclasses, I'm not sure what is the right way to change it. For
34 usual ebuild it's at the beginning:
35 "S=${WORKDIR}/${P}" if unpacked directory is the same as the
36 <package-version>, or "S=${WORKDIR}/_what_ever_the_dir_is" otherwise.