Summary: Mostly about installing the docbook stuff on a very old Mac...
< And with that, ##make xmlto# and ##make bitlbee## worked!
> And with that, ##make xmlto## and ##make bitlbee## worked!
Yeah, I know. Why the hell am I still using Mac OS 10.4 instead of upgrading – or moving to a Debian system? I dunno!
So I was trying to compile the ui-fix branch for BitlBee. It includes the killerbee branch, so it uses libpurple and all that.
LDFLAGS=-lintlin the Makefile to compile it.
I wasted a lot of time on this.
This is so sad.
The sun was shining, too.
I was unable to find something prepackaged for me. So I started to follow the instructions in DocBook XSL: The Complete Guide.
Installing the DocBook DTD – xmlto doesn’t use the latest one so I got version 4.2 – http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip and unpacked it. I wanted everything in
/usr/local/share/xml so that’s what I did –
sudo mv docbook-xml-4.2 /usr/local/share/xml…
Installing the DocBook stylesheets – so now we need stylesheets to create the manpages. I got the following file: http://sourceforge.net/projects/docbook/files/docbook-xsl-ns/1.75.2/docbook-xsl-ns-1.75.2.tar.bz2/download and used
sudo mv docbook-xsl-ns-1.75.2 /usr/local/share/xml…
How to write an XML catalog file – next I needed to write the catalog for the minimum stuff I needed. I created a the file
/usr/local/share/xml/docbook.cat with the following content:
<?xml version="1.0"?> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> <group prefer="public" xml:base="file:///usr/local/share/xml/" > <public publicId="-//OASIS//DTD DocBook XML V4.2//EN" uri="docbook-xml-4.2/docbookx.dtd"/> <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current/" rewritePrefix="docbook-xsl-ns-1.75.2/" /> </group> </catalog>
I set the environment variable in my .bashrc:
And with that,
make xmlto and
make bitlbee worked!
Define external redirect: BitlBee