|
Notes from Christian about installing Wikipublisher and its server. How it worksMachines, softwares and services:
Requests sent between services aree denoted
Summary of requests:
R0
browser@MB -------------------------------------------> wiki@MA
^ |
| {form to request PDF from pdfserver@MC} |
'-------------------------------------------------------'
R1
browser@MB --------> pdfserver@MC R2
^ | ^ '----------------------> wiki@MA
| | | {page as Wikibook XML} |
| {PDF} | '---------------------------'
'--------------------'
The sequence of requests and actions involved in converting a wiki page to PDF via Wikibook XML and LATEX will now be described:
When the PDF has been created, the pdfserver@MC
responds to the original request (R1) by returning
the PDF to the browser@MB.
Older stuffReading Wikipublisher.InstallTheServer, I have some questions:
Checking software requirementsPerlTry this command to check for perl perl —version On Suse 9.1 this returned This is perl, v5.8.3 built for i586-linux-thread-multi … libwww-perlTesting for libwww-perl on Suse 9.1… perhaps like this? $ locate libwww-perl /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi/auto/libwww-perl /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi/auto/libwww-perl/.packlist /usr/share/doc/packages/perl-libwww-perl /usr/share/doc/packages/perl-libwww-perl/Changes /usr/share/doc/packages/perl-libwww-perl/README /usr/share/doc/packages/perl-libwww-perl/README.SSL /var/adm/perl-modules/perl-libwww-perl Not sure if this is a positive result though… LATEXOn Suse 9.1… $ latex --version TeX (Web2C 7.4.5) 3.14159 kpathsea version 3.4.5 ... Image Magick?IIRC, the tool $ convert -version Version: ImageMagick 5.5.7 11/02/04 Q16 http://www.imagemagick.org Copyright: Copyright (C) 2003 ImageMagick Studio LLC Image Magick? perl interfacelibxml utilitieslibxslt utilitiesconvert —version Note that you can check if a perl package is installed with perl itself. On my laptop, libwww-perl and the Image Magick? perl interface are installed, so perl returns no errors when I try to use them: donald@frogstar:~$ perl -e ‘use LWP::Simple’ donald@frogstar:~$ perl -e ‘use Image::Magick’ but if I try this with module that isn’t installed, it tells me: donald@frogstar:~$ perl -e ‘use Module::I::Have::Not::Installed’ Can’t locate Module/I/Have/Not/Installed.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at -e line 1. BEGIN failed—compilation aborted at -e line 1. |