Installation failed with the following error messages: mkdir -p. In order to successfully build getopt I had to make a small modification to its Makefile: 47c47 # download getopt dependency (required by xmlto) from: # download gettext dependency (required by getopt) from mirror: The Linux flavor of getoptlong in turn depends on the enormous GNU gettext. I found xmlto here:īut it depends on getoptlong although Mac OS X has it’s own, BSD-derived getoptlong, this doesn’t seem to be acceptable to xmlto. It appears that this ( xmlto) is an unlisted dependency in the Git installation documentation. Note that the Git build itself works but the documentation build fails. The real problem comes when the build process expects to find an xmlto command: xsltproc -xinclude -stringparam html.stylesheet docbook-xsl.css -o user-manual.html user-manual.xmlĪsciidoc -b docbook -d manpage -f nf \ It turns out that the "nightmare dependency" isn’t really asciidoc in itself it was relatively easy to install as shown above. (As an aside, note that I later found out that even passing in the ASCIIDOC8=YesPlease compatibility switch didn’t yield correct output and I had to downgrade to AsciiDoc 7 as described in " Setting up the Git documentation build chain on Mac OS X Leopard".) Make prefix=/usr/local ASCIIDOC8=YesPlease all doc # test (should generate doc/asciidoc.html) # get source for asciidoc dependency from: Building and installing the documentation, however, has one " nightmare dependency" (asciidoc) and being the masochist that I am, I decided to try installing that as well. The only dependency I had no choice but to install was the Expat library. These notes were made while installing Git for the first time (version 1.5.2.3 is the latest version at the time of writing) on Mac OS X Tiger.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |