Recent Changes · Search:

Support the Project

Wikipublisher

PmWiki

edit SideBar

 

The following instructions worked for Mac OS X 10.5.2, client version. It should ensure all the requirements for running the Wikibook Server are satisfied.

Install LATEX and friends

Download and install The MacTeX Distribution.

Install the Xcode Tools

These are on the OS X installation DVD, under Optional Installs.

Install MacPorts

Follow the instructions for Installing MacPorts.

Install ImageMagick with Perl

Open the Terminal application and enter the following at the command line prompt:

   sudo port install ImageMagick +perl

Install the Perl LWP::UserAgent

From the Terminal, enter the following at the command line prompt:

   sudo perl -MCPAN -e shell;

This will start a Perl session and present a number of prompts. Reply “no” to the first prompt and “yes” to the rest. Then enter the following command at the CPAN console prompt:

   install LWP::UserAgent

When it has finished (it will ask a number of questions), enter “q” to return to the Terminal.

Set the Perl path in mkpdf.pl

We have to use the version of Perl that MacPorts installed, not the one that ships with Mac OS X. Change the first line of mkpdf.pl to read:

   #!/opt/local/bin/perl

Configure the paths

Now continue with the Install the Server process.

Creative Commons License
Edit · History · Print · Recent Changes · Search · Links
Page last modified on 12 March 2008, at 01:16 PM