Gentoo Archives: gentoo-user

From: Daniel D Jones <ddjones@××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] sdl-perl
Date: Wed, 30 Jul 2008 22:36:07
Message-Id: 200807301836.04963.ddjones@riddlemaster.org
In Reply to: Re: [gentoo-user] sdl-perl by Andrey Falko
1 On Wednesday 30 July 2008 03:32:26 Andrey Falko wrote:
2 > On Tue, Jul 29, 2008 at 3:42 PM, Daniel D Jones
3 >
4 > <ddjones@××××××××××××.org> wrote:
5 > > Anyone have a clue as to what would cause the following error:
6 > >>>> Install sdl-perl-2.1.3-r3
7 > >
8 > > into /var/tmp/portage/dev-perl/sdl-perl-2.1.3-r3/image/ category dev-perl
9 > > WARNING: Can't figure out install path for types: arch lib
10 > > Files will not be installed.
11 > >
12 > > The package is already installed, so it succeeded at one time, but
13 > > revdep-rebuild wants to reinstall it and it keeps failing. I believe the
14 > > above is the issue, but I'll paste the full output from the installation
15 > > attempt below. There is also this error:
16 > >
17 > > Error: 'GLint' not in typemap in OpenGL.xs, line 2099
18 > >
19 > > but the process appears to continue after that and I don't _think_ that's
20 > > causing the ultimate failure.
21 > >
22 > > Thanks in advance for any assistance.
23 > >
24 > > -------------------------------------------------------------------------
25 > >------------
26 > >
27 > > # emerge sdl-perl
28 ...
29 > > * If you need support, post the topmost build error, and the call stack
30 > > if relevant.
31 > > * A complete build log is located
32 > > at '/var/tmp/portage/dev-perl/sdl-perl-2.1.3-r3/temp/build.log'.
33 > > * The ebuild environment file is located
34 > > at '/var/tmp/portage/dev-perl/sdl-perl-2.1.3-r3/temp/environment'.
35 > > *
36 > > #
37 >
38 > Can you give us the output of emerge --debug sdl-perl ? Can you verify
39 > that you can successfully install other perl apps like perl-tk or
40 > something else in the dev-perl category?
41
42 Actually, this gave me just the clue I needed to solve the problem. I tried
43 to install another package from dev-perl and got complaints that it was
44 trying to overwrite a file in perl5.10.0. I've manually installed perl 5.10
45 so that I can use the nifty new features but left perl 5.8.8 as the default
46 version on the system. (When I want to use 5.10, I put a shebang line in
47 the script pointing to that executable.) Poking about on the system for a
48 bit revealed that /usr/bin/perl pointed to 5.8.8 but
49 somehow /usr/local/bin/perl was pointing to 5.10. I don't know why that
50 caused the issue, or even why there's a perl executable in both places, but
51 fixing that resolved the issue. Thanks for the assistance.