1 |
Hi there. |
2 |
|
3 |
I'm quite confused by the Perl-Layout... |
4 |
I install most of my Modules by using |
5 |
perl -MCPAN -e shell / perl -MCPAN -e install <module> |
6 |
|
7 |
I just tried to emerge Frozen-Bubble and had several Problems. |
8 |
First i got |
9 |
|
10 |
|
11 |
>>> Source unpacked. |
12 |
make[1]: Entering directory |
13 |
`/var/tmp/portage/frozen-bubble-0.9.3-r1/work/frozen-bubble-0.9.3/c_stuff' |
14 |
test -e Makefile_c || perl Makefile.PL |
15 |
PREFIX=/var/tmp/portage/frozen-bubble-0.9.3-r1/image//usr |
16 |
|
17 |
**ERROR**: SDL_mixer is needed (and, by the way, version >= 1.2.2 |
18 |
will be needed) |
19 |
|
20 |
make[1]: *** [fb_c_stuff] Error 2 |
21 |
make[1]: Leaving directory |
22 |
`/var/tmp/portage/frozen-bubble-0.9.3-r1/work/frozen-bubble-0.9.3/c_stuff' |
23 |
make: *** [dirs] Error 2 |
24 |
|
25 |
in spite of using the latest version of the sdl-mixer-ebuild. |
26 |
|
27 |
I read the Mails from Michael Cummings again and tried to unmerge/merge |
28 |
ExtUtils::MakeMaker, but it didn't resolv the problem. |
29 |
|
30 |
I unmerged perl completely, removed the contents of /usr/lib/perl5 and |
31 |
merged it again. |
32 |
|
33 |
When I try to emerge Frozen-Bubble I get |
34 |
|
35 |
>>> Source unpacked. |
36 |
Can't locate SDL.pm in @INC (@INC contains: |
37 |
/usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 |
38 |
/usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 |
39 |
/usr/lib/perl5/site_perl .) at -e line 1. |
40 |
BEGIN failed--compilation aborted at -e line 1. |
41 |
|
42 |
*** I need perl-SDL installed |
43 |
make: *** [dirs] Error 1 |
44 |
|
45 |
Well, give me a hint guys.. Of course I installed the sdl-perl ebuild, |
46 |
but this script seems to have different include-paths. |
47 |
The Module SDL.pm is in |
48 |
/usr/lib/site_perl/5.6.1/i686-linux/SDL.pm |
49 |
|
50 |
I tried to build the SDL-Module with perl -MCPAN -e install SDL as well, |
51 |
but I get |
52 |
|
53 |
cc1: warning: changing search order for system directory "/usr/include" |
54 |
cc1: warning: as it has already been specified as a non-system |
55 |
directory |
56 |
OpenGL.xs: In function `XS_SDL__OpenGL_NurbsCallback': |
57 |
OpenGL.xs:1747: warning: passing arg 3 of `gluNurbsCallback' from |
58 |
incompatible pointer type |
59 |
OpenGL.xs:1753: warning: passing arg 3 of `gluNurbsCallback' from |
60 |
incompatible pointer type |
61 |
OpenGL.xs:1759: warning: passing arg 3 of `gluNurbsCallback' from |
62 |
incompatible pointer type |
63 |
OpenGL.xs:1765: warning: passing arg 3 of `gluNurbsCallback' from |
64 |
incompatible pointer type |
65 |
OpenGL.xs:1771: warning: passing arg 3 of `gluNurbsCallback' from |
66 |
incompatible pointer type |
67 |
OpenGL.xs:1777: warning: passing arg 3 of `gluNurbsCallback' from |
68 |
incompatible pointer type |
69 |
OpenGL.xs:1783: warning: passing arg 3 of `gluNurbsCallback' from |
70 |
incompatible pointer type |
71 |
OpenGL.xs: In function `XS_SDL__OpenGL_TessCallback': |
72 |
OpenGL.xs:1950: warning: passing arg 3 of `gluTessCallback' from |
73 |
incompatible pointer type |
74 |
OpenGL.xs:1956: warning: passing arg 3 of `gluTessCallback' from |
75 |
incompatible pointer type |
76 |
OpenGL.xs:1962: warning: passing arg 3 of `gluTessCallback' from |
77 |
incompatible pointer type |
78 |
OpenGL.xs:1968: warning: passing arg 3 of `gluTessCallback' from |
79 |
incompatible pointer type |
80 |
OpenGL.xs:1974: warning: passing arg 3 of `gluTessCallback' from |
81 |
incompatible pointer type |
82 |
OpenGL.xs:1980: warning: passing arg 3 of `gluTessCallback' from |
83 |
incompatible pointer type |
84 |
OpenGL.xs: In function `XS_SDL__OpenGL_GL_ALL_CLIENT_ATTRIB_BITS': |
85 |
OpenGL.xs:2510: `GL_ALL_CLIENT_ATTRIB_BITS' undeclared (first use in |
86 |
this function) |
87 |
OpenGL.xs:2510: (Each undeclared identifier is reported only once |
88 |
OpenGL.xs:2510: for each function it appears in.) |
89 |
make: *** [OpenGL.o] Error 1 |
90 |
/usr/bin/make -- NOT OK |
91 |
|
92 |
|
93 |
Sorry for all this logs,but perhaps someone could give me a hint where |
94 |
to look for the problem. |
95 |
|
96 |
Ben |