1 |
Hey there Dar, |
2 |
|
3 |
Wish I could give you the solution; unfortunately, I have a rather long bug going on on bugz regarding the sdl problems with perl. As an aside, portage isn't "smart" enough to check to see if you have manually installed your perl modules, so if you install something that depends on a perl module, portage will trot over, grab the ebuild for it, and emerge it - even if you already installed it yourself. |
4 |
Your problems with the pathing are related to the MakeMaker that came with perl5 (or should be - that's what determines where your module gets installed in the make phase). |
5 |
Also, when you unmerged perl, you wiped all of your installed modules - but portage doesn't know that. So it thinks your perl module dependancies are already met, even if they aren't. |
6 |
|
7 |
Are you by chance running gcc 3.2? I've noticed a trend on my own systems that the 2.95.3 boxes have no problem with sdl in frozen bubble, but the 3.2 box has the exact same issues as the bug. Just curious on the last bit, pulling at straws here. I'm more than welcome to any hints anyone else on the list might have, |
8 |
|
9 |
|
10 |
Michael |
11 |
|
12 |
On 23 Sep 2002 06:25:39 +0200 |
13 |
Dar-Klajid <Dar@××××××××××.de> wrote: |
14 |
|
15 |
> Hi there. |
16 |
> |
17 |
> I'm quite confused by the Perl-Layout... |
18 |
> I install most of my Modules by using |
19 |
> perl -MCPAN -e shell / perl -MCPAN -e install <module> |
20 |
> |
21 |
> I just tried to emerge Frozen-Bubble and had several Problems. |
22 |
> First i got |
23 |
> |
24 |
> |
25 |
> >>> Source unpacked. |
26 |
> make[1]: Entering directory |
27 |
> `/var/tmp/portage/frozen-bubble-0.9.3-r1/work/frozen-bubble-0.9.3/c_stuff' |
28 |
> test -e Makefile_c || perl Makefile.PL |
29 |
> PREFIX=/var/tmp/portage/frozen-bubble-0.9.3-r1/image//usr |
30 |
> |
31 |
> **ERROR**: SDL_mixer is needed (and, by the way, version >= 1.2.2 |
32 |
> will be needed) |
33 |
> |
34 |
> make[1]: *** [fb_c_stuff] Error 2 |
35 |
> make[1]: Leaving directory |
36 |
> `/var/tmp/portage/frozen-bubble-0.9.3-r1/work/frozen-bubble-0.9.3/c_stuff' |
37 |
> make: *** [dirs] Error 2 |
38 |
> |
39 |
> in spite of using the latest version of the sdl-mixer-ebuild. |
40 |
> |
41 |
> I read the Mails from Michael Cummings again and tried to unmerge/merge |
42 |
> ExtUtils::MakeMaker, but it didn't resolv the problem. |
43 |
> |
44 |
> I unmerged perl completely, removed the contents of /usr/lib/perl5 and |
45 |
> merged it again. |
46 |
> |
47 |
> When I try to emerge Frozen-Bubble I get |
48 |
> |
49 |
> >>> Source unpacked. |
50 |
> Can't locate SDL.pm in @INC (@INC contains: |
51 |
> /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 |
52 |
> /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 |
53 |
> /usr/lib/perl5/site_perl .) at -e line 1. |
54 |
> BEGIN failed--compilation aborted at -e line 1. |
55 |
> |
56 |
> *** I need perl-SDL installed |
57 |
> make: *** [dirs] Error 1 |
58 |
> |
59 |
> Well, give me a hint guys.. Of course I installed the sdl-perl ebuild, |
60 |
> but this script seems to have different include-paths. |
61 |
> The Module SDL.pm is in |
62 |
> /usr/lib/site_perl/5.6.1/i686-linux/SDL.pm |
63 |
> |
64 |
> I tried to build the SDL-Module with perl -MCPAN -e install SDL as well, |
65 |
> but I get |
66 |
> |
67 |
> cc1: warning: changing search order for system directory "/usr/include" |
68 |
> cc1: warning: as it has already been specified as a non-system |
69 |
> directory |
70 |
> OpenGL.xs: In function `XS_SDL__OpenGL_NurbsCallback': |
71 |
> OpenGL.xs:1747: warning: passing arg 3 of `gluNurbsCallback' from |
72 |
> incompatible pointer type |
73 |
> OpenGL.xs:1753: warning: passing arg 3 of `gluNurbsCallback' from |
74 |
> incompatible pointer type |
75 |
> OpenGL.xs:1759: warning: passing arg 3 of `gluNurbsCallback' from |
76 |
> incompatible pointer type |
77 |
> OpenGL.xs:1765: warning: passing arg 3 of `gluNurbsCallback' from |
78 |
> incompatible pointer type |
79 |
> OpenGL.xs:1771: warning: passing arg 3 of `gluNurbsCallback' from |
80 |
> incompatible pointer type |
81 |
> OpenGL.xs:1777: warning: passing arg 3 of `gluNurbsCallback' from |
82 |
> incompatible pointer type |
83 |
> OpenGL.xs:1783: warning: passing arg 3 of `gluNurbsCallback' from |
84 |
> incompatible pointer type |
85 |
> OpenGL.xs: In function `XS_SDL__OpenGL_TessCallback': |
86 |
> OpenGL.xs:1950: warning: passing arg 3 of `gluTessCallback' from |
87 |
> incompatible pointer type |
88 |
> OpenGL.xs:1956: warning: passing arg 3 of `gluTessCallback' from |
89 |
> incompatible pointer type |
90 |
> OpenGL.xs:1962: warning: passing arg 3 of `gluTessCallback' from |
91 |
> incompatible pointer type |
92 |
> OpenGL.xs:1968: warning: passing arg 3 of `gluTessCallback' from |
93 |
> incompatible pointer type |
94 |
> OpenGL.xs:1974: warning: passing arg 3 of `gluTessCallback' from |
95 |
> incompatible pointer type |
96 |
> OpenGL.xs:1980: warning: passing arg 3 of `gluTessCallback' from |
97 |
> incompatible pointer type |
98 |
> OpenGL.xs: In function `XS_SDL__OpenGL_GL_ALL_CLIENT_ATTRIB_BITS': |
99 |
> OpenGL.xs:2510: `GL_ALL_CLIENT_ATTRIB_BITS' undeclared (first use in |
100 |
> this function) |
101 |
> OpenGL.xs:2510: (Each undeclared identifier is reported only once |
102 |
> OpenGL.xs:2510: for each function it appears in.) |
103 |
> make: *** [OpenGL.o] Error 1 |
104 |
> /usr/bin/make -- NOT OK |
105 |
> |
106 |
> |
107 |
> Sorry for all this logs,but perhaps someone could give me a hint where |
108 |
> to look for the problem. |
109 |
> |
110 |
> Ben |
111 |
> |
112 |
> |
113 |
> |
114 |
> _______________________________________________ |
115 |
> gentoo-dev mailing list |
116 |
> gentoo-dev@g.o |
117 |
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |