]> sipb.mit.edu Git - ikiwiki.git/blob - doc/patchqueue/image-magick-prereq.mdwn
web commit by http://id.inelegant.org/
[ikiwiki.git] / doc / patchqueue / image-magick-prereq.mdwn
1 The _img_ plugin is part of the default install and requires _Image::Magick_.
2
3 > `img` is not enabled by default though. I don't want to list every module
4 > that some plugin can use in there, only the ones in the default install
5 > --[[Joey]]
6
7 >> Isn't it part of the `goodstuff` bundle, which is enabled in the `Makefile.PL`? I was testing out install on another box earlier and the build failed because `Image::Magick` wasn't installed; after `sudo cpan Image::Magick`, that error went away. --Ben
8
9 >> Here's the result of running `make` on a fresh checkout:
10
11 <pre>
12 [deletia]
13 LANG=C ./ikiwiki.in doc html --templatedir=templates \
14                 --underlaydir=basewiki \
15                 --wikiname="ikiwiki" --verbose --no-rcs \
16                 --exclude=/discussion --no-discussion --userdir=users \
17                 --plugin=goodstuff \
18                 --plugin=haiku --plugin=polygen --plugin=fortune
19 Failed to load plugin IkiWiki::Plugin::goodstuff: Failed to load plugin IkiWiki::Plugin::img: Can't locate Image/Magick.pm in @INC (@INC contains: . /etc/perl
20  /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl
21  /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7) at IkiWiki/Plugin/img.pm line 9.
22 BEGIN failed--compilation aborted at IkiWiki/Plugin/img.pm line 9.
23 Compilation failed in require at (eval 14) line 2.
24 BEGIN failed--compilation aborted at (eval 14) line 2.
25
26 BEGIN failed--compilation aborted at (eval 12) line 2.
27
28 make: *** [extra_build] Error 2
29 </pre>
30
31 >> After `sudo apt-get install perlmagick`, `make` gets past this point. (It then crashes on [[bugs/xgettext_issue]]).
32
33 <pre>
34 Index: Makefile.PL
35 ===================================================================
36 --- Makefile.PL (revision 2675)
37 +++ Makefile.PL (working copy)
38 @@ -83,5 +83,6 @@
39                 'Mail::Sendmail'        => 0,
40                 'HTML::Parser'          => 0,
41                 'URI'                   => 0,
42 +               'Image::Magick'         => 0,
43         },
44  );
45 </pre>