Building the manual on OS X
| From: | Martin Jansen | Date: | Fri, 15 Dec 2006 15:17:48 +0000 |
| Subject: | Building the manual on OS X | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-9074@lists.php.net to get a copy of this message | ||
I recently set up a build environment for the PEAR manual on my MacBook
Pro and things went surprisingly pleasant. Below are the steps that
were necessary:
1) Install MacPorts:
http://trac.macosforge.org/projects/macports/wiki/InstallingMacPorts
This is not only handy for peardoc, but also is of great help if you
want to compile PHP, because most of the dependency hullabaloo
packages are available there. And even if you don't plan to compile
PHP on your own, you'll most likely need something from MacPorts
sooner or later. You are required to download nearly a gigabyte
of data for Apple's Xcode tools, but it's really worth it.
2) Install OpenJade:
$ sudo port -v install openjade
3) Install the DSSSL stylesheets:
$ sudo port -v install docbook-dsssl
4) Get the peardoc sources from CVS
$ cvs -d :pserver:<you>@cvs.php.net:/repository co peardoc
5) Ready! Steady! Go!
$ autoconf && ./configure && make test
I'm heaving issues running "make html", but having a functioning "make
test" is a good start and should be of help for a lot of people.
- Martin