ikiwiki (3.20130711) unstable; urgency=low
[ikiwiki.git] / doc / bugs / INC_location_not_set_correctly_in_make_test.mdwn
1 'make test' has the following errors:
2
3 Can't locate Locale/gettext.pm in @INC (@INC contains: /home/turian/utils//lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /home/turian/utils//lib/perl5/site_perl/5.8.8 . /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8) at (eval 254) line 2.
4
5 What's weird is that I already have gettext.pm:
6    /home/turian/utils/lib/perl5/lib/i386-linux-thread-multi/Locale/gettext.pm
7
8 That directory should be part of @INC, because I have:
9   export PERL5LIB="$PERL5LIB:$UTILS/lib/perl5/lib/i386-linux-thread-multi/"
10 in my .bashrc. However, /home/turian/utils/lib/perl5/lib/i386-linux-thread-multi/ does not appear in that @INC line.
11
12 How do I get the proper @INC locations set?
13
14 > Nothing in ikiwiki touches whatever PERL5DIR setting you may have,
15 > so AFAICS, this must be some sort of local configuration problem.
16 > How do
17 > `/home/turian/utils//lib/perl5/site_perl/5.8.8/i386-linux-thread-multi`
18 > and `/home/turian/utils//lib/perl5/site_perl/5.8.8` get into the
19 > displayed `@INC`? The likely way seems to be that something in your
20 > system sets PERL5LIB to contain those directories, clobbering 
21 > the earlier setting in your `.bashrc`.
22 > --[[Joey]] 
23
24 [[!tag done]]