]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/build_fails_oddly_when_older_ikiwiki_is_installed.mdwn
(no commit message)
[ikiwiki.git] / doc / bugs / build_fails_oddly_when_older_ikiwiki_is_installed.mdwn
1 I got this failure when trying to build ikiwiki version 3.20100403:
2
3         $ perl Makefile.PL INSTALL_BASE=/opt/ikiwiki PREFIX=
4         Writing Makefile for IkiWiki
5         $ make
6
7 *...snip...*
8
9         ./pm_filter /opt/ikiwiki 3.20100403 /opt/ikiwiki/lib/perl5 < ikiwiki.in > ikiwiki.out
10         chmod +x ikiwiki.out
11         ./pm_filter /opt/ikiwiki 3.20100403 /opt/ikiwiki/lib/perl5 < ikiwiki-transition.in > ikiwiki-transition.out
12         chmod +x ikiwiki-transition.out
13         ./pm_filter /opt/ikiwiki 3.20100403 /opt/ikiwiki/lib/perl5 < ikiwiki-calendar.in > ikiwiki-calendar.out
14         chmod +x ikiwiki-calendar.out
15         HOME=/home/me /usr/bin/perl -Iblib/lib   ikiwiki.out -libdir . -dumpsetup ikiwiki.setup
16         Use of uninitialized value $IkiWiki::Setup::config{"setuptype"} in concatenation (.) or string at IkiWiki/Setup.pm line 53.
17         Can't locate IkiWiki/Setup/.pm in @INC (@INC contains: . /opt/ikiwiki/lib/perl5/i486-linux-gnu-thread-multi /opt/ikiwiki/lib/perl5 blib/lib /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at (eval 35) line 3.
18
19         make: *** [ikiwiki.setup] Error 2
20
21 Note that I had been trying to upgrade with an installed ikiwiki 3.20091114
22 already in place under /opt/ikiwiki.  The build does not fail for me
23 if I first remove the old ikiwiki installation, nor does it fail with
24 3.20100403 or newer installed at /opt/ikiwiki.  Hence this is not
25 really a critical bug, although it's somewhat perplexing to me why it
26 ought to make a difference.
27
28 > So, using INSTALL_BASE causes a 'use lib' to be hardcoded into the `.out`
29 > files; which overrides the -libdir and the -I, and so the old version
30 > of IkiWiki.pm is used.
31 > [[fixed|done]] --[[Joey]]