Your message dated Wed, 10 Sep 2008 12:36:33 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#498458: ikiwiki: rst plugin fails with "Can't locate 
RPC/XML.pm in @INC"
has caused the Debian Bug report #498458,
regarding ikiwiki: rst plugin fails with "Can't locate RPC/XML.pm in @INC"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
498458: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498458
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: ikiwiki
Version: 2.53
Severity: normal

When enabling the 'rst' plugin, ikiwiki fails with the error:

    Can't locate RPC/XML.pm in @INC … at 
/usr/share/perl5/IkiWiki/Plugin/external.pm line 10.

The following script session shows the problem.

=====
Script started on Wed 10 Sep 2008 15:28:43 EST

$ ikiwiki --version
ikiwiki version 2.53

$ topdir=$(mktemp -d)
$ cd $topdir
$ pwd
/tmp/tmp.oGCwZkFmzT

$ SRCDIR=src
$ DESTDIR=dest
$ mkdir $SRCDIR
$ echo 'Hello, world!' > $SRCDIR/index.mdwn

$ cat <<_EOT_ > ./ikiwiki.setup
#! /usr/bin/perl
use IkiWiki::Setup::Standard {
    wikiname => "Foo",
    adminemail => '[EMAIL PROTECTED]',
    srcdir => "src",
    destdir => "dest",
    url => "http://example.org/";,
    wrappers => [
    ],
    add_plugins => [qw{ openid prettydate }],
    openidsignup => "http://myopenid.com/";,
}
_EOT_
$ ikiwiki --setup ./ikiwiki.setup
$

$ sed --in-place -e 's/add_plugins => \[qw{/& rst/' ./ikiwiki.setup
$ cat ./ikiwiki.setup
#! /usr/bin/perl
use IkiWiki::Setup::Standard {
    wikiname => "Foo",
    adminemail => '[EMAIL PROTECTED]',
    srcdir => "src",
    destdir => "dest",
    url => "http://example.org/";,
    wrappers => [
    ],
    add_plugins => [qw{ rst openid prettydate }],
    openidsignup => "http://myopenid.com/";,
}
$ ikiwiki --setup ./ikiwiki.setup
./ikiwiki.setup: Can't locate RPC/XML.pm in @INC (@INC contains: /etc/perl 
/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 
/usr/local/lib/site_perl .) at /usr/share/perl5/IkiWiki/Plugin/external.pm line 
10.
BEGIN failed--compilation aborted at 
/usr/share/perl5/IkiWiki/Plugin/external.pm line 10.
Compilation failed in require at /usr/share/perl5/IkiWiki.pm line 172.
BEGIN failed--compilation aborted at (eval 10) line 14.

$ cd
$ rm -r $topdir/
$ exit

Script done on Wed 10 Sep 2008 15:44:05 EST
=====


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (90, 'unstable')
Architecture: powerpc (ppc64)

Kernel: Linux 2.6.25-2-powerpc64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_AU.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ikiwiki depends on:
ii  libhtml-parser-perl        3.56-1+b1     A collection of modules that parse
ii  libhtml-scrubber-perl      0.08-4        Perl extension for scrubbing/sanit
ii  libhtml-template-perl      2.9-1         HTML::Template : A module for usin
ii  liburi-perl                1.35.dfsg.1-1 Manipulates and accesses URI strin
ii  markdown                   1.0.1-7       Text-to-HTML conversion tool
ii  perl                       5.10.0-13     Larry Wall's Practical Extraction 

Versions of packages ikiwiki recommends:
ii  bzr                        1.5-1.1       easy to use distributed version co
ii  gcc [c-compiler]           4:4.3.1-2     The GNU C compiler
ii  gcc-4.2 [c-compiler]       4.2.4-3       The GNU C compiler
ii  gcc-4.3 [c-compiler]       4.3.1-9       The GNU C compiler
ii  git-core                   1:1.5.6.5-1   fast, scalable, distributed revisi
ii  libauthen-passphrase-perl  0.005-3       Perl module encapsulating hashed p
ii  libc6-dev [libc-dev]       2.7-13        GNU C Library: Development Librari
ii  libcgi-formbuilder-perl    3.05.01-6     Easily generate and process statef
ii  libcgi-session-perl        4.35-1        Persistent session data in CGI app
ii  liblwpx-paranoidagent-perl 1.03-1.1      a "paranoid" subclass of LWP::User
ii  libmail-sendmail-perl      0.79-5        Send email from a perl script
ii  libnet-openid-consumer-per 0.14-4        library for consumers of OpenID id
ii  libtimedate-perl           1.1600-9      Time and date functions for Perl
ii  libxml-simple-perl         2.18-1        Perl module for reading and writin
ii  mercurial                  1.0.1-5       Scalable distributed version contr
ii  monotone                   0.40-7        A distributed version (revision) c
ii  subversion                 1.5.1dfsg1-1  Advanced version control system
ii  tla                        1.3.5+dfsg-12 GNU Arch revision control system

Versions of packages ikiwiki suggests:
ii  graphviz            2.20.2-2             rich set of graph drawing tools
ii  libcrypt-ssleay-per 0.57-1+b1            Support for https protocol in LWP
ii  libdigest-sha1-perl 2.11-2+b1            NIST SHA-1 message digest algorith
pn  libfile-mimeinfo-pe <none>               (no description available)
ii  liblocale-gettext-p 1.05-4               Using libc functions for internati
ii  libmailtools-perl   2.03-1               Manipulate email in perl programs
pn  libnet-amazon-s3-pe <none>               (no description available)
pn  librpc-xml-perl     <none>               (no description available)
pn  libsearch-xapian-pe <none>               (no description available)
pn  libtext-csv-perl    <none>               (no description available)
pn  libtext-typography- <none>               (no description available)
pn  libtext-wikiformat- <none>               (no description available)
pn  libxml-feed-perl    <none>               (no description available)
ii  perlmagick          7:6.3.7.9.dfsg1-2+b2 Perl interface to the libMagick gr
ii  polygen             1.0.6.ds2-6          generator of random sentences from
ii  python              2.5.2-2              An interactive high-level object-o
ii  python-docutils     0.5-2                Utilities for the documentation of
ii  tidy                20080116cvs-2        HTML syntax checker and reformatte
pn  viewvc | gitweb | v <none>               (no description available)
pn  xapian-omega        <none>               (no description available)

-- no debconf information

-- 
 \               “There's no excuse to be bored. Sad, yes. Angry, yes. |
  `\    Depressed, yes. Crazy, yes. But there's no excuse for boredom, |
_o__)                                          ever.” —Viggo Mortensen |
Ben Finney <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Ben Finney wrote:
> When enabling the 'rst' plugin, ikiwiki fails with the error:
> 
>     Can't locate RPC/XML.pm in @INC … at 
> /usr/share/perl5/IkiWiki/Plugin/external.pm line 10.

This is why ikiwiki suggests librpc-xml-perl, which is needed for all
external plugins such as rst. This is also why the plugin page for rst
says:

   You need to have [[!cpan RPC::XML]], python and the
   python-docutils module installed to use it.
 
-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to