1 |
The i686-linux directory below is where architecture specific code goes |
2 |
(.so and similar). This is normal. (If you're wondering why it is this |
3 |
way it is so the same /lib tree can be mounted on different |
4 |
architectures. It separates the compiled code from the text based .pm |
5 |
files which can be shared as-is) |
6 |
|
7 |
> It seems to me that the reason the make step for OpenCA can't find |
8 |
> XML::Parser::Expat is because on my system, it's not named exactly that |
9 |
> but has this i686-linux:: prefix, presumably because the files are |
10 |
> located in the |
11 |
> /usr/lib/perl5/vendor_perl/5.8.4/i686-linux/XML/Parser/Expat.pm |
12 |
> directory but perhaps not (the head of this file is simply |
13 |
> XML::Parser::Expat). |
14 |
|
15 |
Any CPAN distribution that has xs (c code) in it will be installed into |
16 |
an architecture specific directory. |
17 |
|
18 |
> /usr/lib/perl5/vendor_perl/5.8.4/i686-linux/XML/Parser.pm |
19 |
> /usr/lib/perl5/vendor_perl/5.8.4/i686-linux/XML/Parser/Expat.pm |
20 |
This is ok ^^^^^^^^^^ |
21 |
|
22 |
Running `perl -V` on the cmdline will show you the search path for |
23 |
modules, you should see the architecture specific path in there, ie mine is: |
24 |
|
25 |
%perl -V |
26 |
[...] |
27 |
Characteristics of this binary (from libperl): |
28 |
Compile-time options: USE_LARGE_FILES |
29 |
Built under linux |
30 |
Compiled at Aug 5 2004 11:46:59 |
31 |
@INC: |
32 |
/etc/perl |
33 |
/usr/lib/perl5/site_perl/5.8.4/i686-linux |
34 |
/usr/lib/perl5/site_perl/5.8.4 |
35 |
/usr/lib/perl5/site_perl/5.8.2/i686-linux |
36 |
/usr/lib/perl5/site_perl/5.8.2 |
37 |
/usr/lib/perl5/site_perl/5.8.0/i686-linux |
38 |
/usr/lib/perl5/site_perl/5.8.0 |
39 |
/usr/lib/perl5/site_perl |
40 |
/usr/lib/perl5/vendor_perl/5.8.4/i686-linux |
41 |
/usr/lib/perl5/vendor_perl/5.8.4 |
42 |
/usr/lib/perl5/vendor_perl/5.8.2/i686-linux |
43 |
/usr/lib/perl5/vendor_perl/5.8.2 |
44 |
/usr/lib/perl5/vendor_perl/5.8.0/i686-linux |
45 |
/usr/lib/perl5/vendor_perl/5.8.0 |
46 |
/usr/lib/perl5/vendor_perl |
47 |
/usr/lib/perl5/5.8.4/i686-linux |
48 |
/usr/lib/perl5/5.8.4 |
49 |
/usr/local/lib/site_perl |
50 |
/usr/lib/perl5/site_perl/5.8.2/i686-linux |
51 |
/usr/lib/perl5/site_perl/5.8.2 |
52 |
/usr/lib/perl5/site_perl/5.8.0/i686-linux |
53 |
/usr/lib/perl5/site_perl/5.8.0 |
54 |
. |
55 |
|
56 |
Hmmm that @INC looks slightly busted actually (the 4 entries at the |
57 |
bottom are dups). |
58 |
|
59 |
Please post the output of your `perl -V` if you continue to have problems. |
60 |
|
61 |
Thanks, |
62 |
|
63 |
ds |
64 |
|
65 |
-- |
66 |
gentoo-dev@g.o mailing list |