|
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 friendsDownload and install The MacTeX Distribution. Install the Xcode ToolsThese are on the OS X installation DVD, under Optional Installs. Install MacPortsFollow the instructions for Installing MacPorts. Install ImageMagick with PerlOpen the Terminal application and enter the following at the command line prompt: sudo port install ImageMagick +perl Install the Perl LWP::UserAgentFrom 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.plWe 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 pathsNow continue with the Install the Server process. |