]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/patchqueue/image-magick-prereq.mdwn
web commit by http://id.inelegant.org/
[ikiwiki.git] / doc / patchqueue / image-magick-prereq.mdwn
index fc79e7397c664309e0691ceacb2db5b874e29cc1..bdec4dbb201c7ea7a650a5fa200297554fa2c440 100644 (file)
@@ -1,5 +1,35 @@
 The _img_ plugin is part of the default install and requires _Image::Magick_.
 
+> `img` is not enabled by default though. I don't want to list every module
+> that some plugin can use in there, only the ones in the default install
+> --[[Joey]]
+
+>> 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
+
+>> Here's the result of running `make` on a fresh checkout:
+
+<pre>
+[deletia]
+LANG=C ./ikiwiki.in doc html --templatedir=templates \
+                --underlaydir=basewiki \
+                --wikiname="ikiwiki" --verbose --no-rcs \
+                --exclude=/discussion --no-discussion --userdir=users \
+                --plugin=goodstuff \
+                --plugin=haiku --plugin=polygen --plugin=fortune
+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
+ /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
+ /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7) at IkiWiki/Plugin/img.pm line 9.
+BEGIN failed--compilation aborted at IkiWiki/Plugin/img.pm line 9.
+Compilation failed in require at (eval 14) line 2.
+BEGIN failed--compilation aborted at (eval 14) line 2.
+
+BEGIN failed--compilation aborted at (eval 12) line 2.
+
+make: *** [extra_build] Error 2
+</pre>
+
+>> After `sudo apt-get install perlmagick`, `make` gets past this point. (It then crashes on [[bugs/xgettext_issue]]).
+
 <pre>
 Index: Makefile.PL
 ===================================================================
@@ -12,4 +42,4 @@ Index: Makefile.PL
 +               'Image::Magick'         => 0,
         },
  );
-</pre>
\ No newline at end of file
+</pre>