{"thread":{"id":"40165","subject":"Re: OS X Yosemite make all doc fails","startedAt":"2015-08-24T09:30:39Z","lastAt":"2015-08-26T19:40:03Z","messageCount":5,"participants":["Jeff S","brian m. carlson","Junio C Hamano","Torsten Bögershausen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"268561","messageId":"CAJD5XBy+RnM7ZYt9_SGXgoE2gOKaiM=rmUv=Tkn3Ndi4S4-atQ@mail.gmail.com","threadId":"40165","inReplyTo":"CAJD5XBy=skwogN+kbqHipa3poUt-EjSxMABxRZKoEk0J+2TM3w@mail.gmail.com","subject":"Re: OS X Yosemite make all doc fails","fromName":"Jeff S","fromEmail":"acornblue@gmail.com","sentAt":"2015-08-24T09:30:39Z","receivedAt":"2015-08-24T09:30:39Z","isPatch":false,"sender":{"key":"acornblue@gmail.com","avatar":null},"body":"I tried building git on a fresh install of OS X Yosemite. Unfortunately it\nerrors out. I've attached the error below as well as cat the xml/catalog\nfile. Please let me know if there is anything else needed. Thanks in\nadvance.\n\nJeff\n\nOS X Yosemite 10.10.5\nXcode 6.4 (6E35b)\ngit\n\ncommit ff86faf2fa02bc21933c9e1dcc75c8d81b3e104a\nMerge: 8f8d0ec 552a736\nAuthor: Junio C Hamano <gitster@pobox.com>\nDate: Wed Aug 19 14:49:37 2015 -0700\n\nSync with maint\n\n* maint:\nStart preparing for 2.5.1\n\n$ brew install autoconf\n$ brew install asciidoc\n$ brew install docbook\n$ brew docbook-xsl\n$ git clone https://github.com/git/git\n$ cd git\n$ make configure\n$ ./configure --prefix=/usr\n$ make all doc\n\nXSLTPROC user-manual.html\nwarning: failed to load external entity\n\"http://docbook.sourceforge.net/release/xsl/current/common/l10n.xsl\"\ncompilation error: file\nhttp://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 29\nelement include\nxsl:include : unable to load\nhttp://docbook.sourceforge.net/release/xsl/current/common/l10n.xsl\nwarning: failed to load external entity\n\"http://docbook.sourceforge.net/release/xsl/current/common/utility.xsl\"\ncompilation error: file\nhttp://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 31\nelement include\nxsl:include : unable to load\nhttp://docbook.sourceforge.net/release/xsl/current/common/utility.xsl\nwarning: failed to load external entity\n\"http://docbook.sourceforge.net/release/xsl/current/common/labels.xsl\"\ncompilation error: file\nhttp://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 32\nelement include\nxsl:include : unable to load\nhttp://docbook.sourceforge.net/release/xsl/current/common/labels.xsl\nwarning: failed to load external entity\n\"http://docbook.sourceforge.net/release/xsl/current/html/autotoc.xsl\"\ncompilation error: file\nhttp://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 39\nelement include\nxsl:include : unable to load\nhttp://docbook.sourceforge.net/release/xsl/current/html/autotoc.xsl\nwarning: failed to load external entity\n\"http://docbook.sourceforge.net/release/xsl/current/html/verbatim.xsl\"\ncompilation error: file\nhttp://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 43\nelement include\nxsl:include : unable to load\nhttp://docbook.sourceforge.net/release/xsl/current/html/verbatim.xsl\nwarning: failed to load external entity\n\"http://docbook.sourceforge.net/release/xsl/current/html/formal.xsl\"\ncompilation error: file\nhttp://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 46\nelement include\nxsl:include : unable to load\nhttp://docbook.sourceforge.net/release/xsl/current/html/formal.xsl\nwarning: failed to load external entity\n\"http://docbook.sourceforge.net/release/xsl/current/common/table.xsl\"\ncompilation error: file\nhttp://docbook.sourceforge.net/release/xsl/current/html/table.xsl line 11\nelement include\nxsl:include : unable to load\nhttp://docbook.sourceforge.net/release/xsl/current/common/table.xsl\nwarning: failed to load external entity\n\"http://docbook.sourceforge.net/release/xsl/current/html/footnote.xsl\"\ncompilation error: file\nhttp://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 51\nelement include\nxsl:include : unable to load\nhttp://docbook.sourceforge.net/release/xsl/current/html/footnote.xsl\nwarning: failed to load external entity\n\"http://docbook.sourceforge.net/release/xsl/current/html/block.xsl\"\ncompilation error: file\nhttp://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 65\nelement include\nxsl:include : unable to load\nhttp://docbook.sourceforge.net/release/xsl/current/html/block.xsl\nwarning: failed to load external entity\n\"http://docbook.sourceforge.net/release/xsl/current/common/stripns.xsl\"\ncompilation error: file\nhttp://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 76\nelement include\nxsl:include : unable to load\nhttp://docbook.sourceforge.net/release/xsl/current/common/stripns.xsl\nmake[1]: *** [user-manual.html] Error 5\nmake: *** [doc] Error 2\n\n\n\n\n\n$ cat /usr/local/etc/xml/catalog\n<?xml version=\"1.0\"?>\n<!DOCTYPE catalog PUBLIC \"-//OASIS//DTD Entity Resolution XML Catalog\nV1.0//EN\"\n\"http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd\">\n<catalog xmlns=\"urn:oasis:names:tc:entity:xmlns:xml:catalog\">\n<nextCatalog\ncatalog=\"file:///usr/local/Cellar/docbook/5.0/docbook/xml/4.2/catalog.xml\"/>\n<nextCatalog\ncatalog=\"file:///usr/local/Cellar/docbook/5.0/docbook/xml/4.1.2/catalog.xml\"/>\n<nextCatalog\ncatalog=\"file:///usr/local/Cellar/docbook/5.0/docbook/xml/4.3/catalog.xml\"/>\n<nextCatalog\ncatalog=\"file:///usr/local/Cellar/docbook/5.0/docbook/xml/4.4/catalog.xml\"/>\n<nextCatalog\ncatalog=\"file:///usr/local/Cellar/docbook/5.0/docbook/xml/4.5/catalog.xml\"/>\n<nextCatalog\ncatalog=\"file:///usr/local/Cellar/docbook/5.0/docbook/xml/5.0/catalog.xml\"/>\n<nextCatalog\ncatalog=\"file:///usr/local/Cellar/docbook-xsl/1.78.1/docbook-xsl/catalog.xml\"/>\n<nextCatalog\ncatalog=\"file:///usr/local/Cellar/docbook-xsl/1.78.1/docbook-xsl-ns/catalog.xml\"/>\n</catalog>\n"},{"id":"268620","messageId":"20150825010428.GA428718@vauxhall.crustytoothpaste.net","threadId":"40165","inReplyTo":"CAJD5XBy+RnM7ZYt9_SGXgoE2gOKaiM=rmUv=Tkn3Ndi4S4-atQ@mail.gmail.com","subject":"Re: OS X Yosemite make all doc fails","fromName":"brian m. carlson","fromEmail":"sandals@crustytoothpaste.net","sentAt":"2015-08-25T01:04:28Z","receivedAt":"2015-08-25T01:04:28Z","isPatch":false,"sender":{"key":"sandals@crustytoothpaste.net","avatar":"https://avatars.githubusercontent.com/u/497054?v=4"},"body":"On Mon, Aug 24, 2015 at 02:30:39AM -0700, Jeff S wrote:\n> XSLTPROC user-manual.html\n> warning: failed to load external entity\n> \"http://docbook.sourceforge.net/release/xsl/current/common/l10n.xsl\"\n> compilation error: file\n> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 29\n> element include\n> xsl:include : unable to load\n> http://docbook.sourceforge.net/release/xsl/current/common/l10n.xsl\n> warning: failed to load external entity\n> \"http://docbook.sourceforge.net/release/xsl/current/common/utility.xsl\"\n> compilation error: file\n> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 31\n> element include\n> xsl:include : unable to load\n> http://docbook.sourceforge.net/release/xsl/current/common/utility.xsl\n> warning: failed to load external entity\n> \"http://docbook.sourceforge.net/release/xsl/current/common/labels.xsl\"\n> compilation error: file\n> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 32\n> element include\n> xsl:include : unable to load\n> http://docbook.sourceforge.net/release/xsl/current/common/labels.xsl\n> warning: failed to load external entity\n> \"http://docbook.sourceforge.net/release/xsl/current/html/autotoc.xsl\"\n> compilation error: file\n> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 39\n> element include\n> xsl:include : unable to load\n> http://docbook.sourceforge.net/release/xsl/current/html/autotoc.xsl\n> warning: failed to load external entity\n> \"http://docbook.sourceforge.net/release/xsl/current/html/verbatim.xsl\"\n> compilation error: file\n> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 43\n> element include\n> xsl:include : unable to load\n> http://docbook.sourceforge.net/release/xsl/current/html/verbatim.xsl\n> warning: failed to load external entity\n> \"http://docbook.sourceforge.net/release/xsl/current/html/formal.xsl\"\n> compilation error: file\n> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 46\n> element include\n> xsl:include : unable to load\n> http://docbook.sourceforge.net/release/xsl/current/html/formal.xsl\n> warning: failed to load external entity\n> \"http://docbook.sourceforge.net/release/xsl/current/common/table.xsl\"\n> compilation error: file\n> http://docbook.sourceforge.net/release/xsl/current/html/table.xsl line 11\n> element include\n> xsl:include : unable to load\n> http://docbook.sourceforge.net/release/xsl/current/common/table.xsl\n> warning: failed to load external entity\n> \"http://docbook.sourceforge.net/release/xsl/current/html/footnote.xsl\"\n> compilation error: file\n> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 51\n> element include\n> xsl:include : unable to load\n> http://docbook.sourceforge.net/release/xsl/current/html/footnote.xsl\n> warning: failed to load external entity\n> \"http://docbook.sourceforge.net/release/xsl/current/html/block.xsl\"\n> compilation error: file\n> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 65\n> element include\n> xsl:include : unable to load\n> http://docbook.sourceforge.net/release/xsl/current/html/block.xsl\n> warning: failed to load external entity\n> \"http://docbook.sourceforge.net/release/xsl/current/common/stripns.xsl\"\n> compilation error: file\n> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 76\n> element include\n> xsl:include : unable to load\n> http://docbook.sourceforge.net/release/xsl/current/common/stripns.xsl\n> make[1]: *** [user-manual.html] Error 5\n> make: *** [doc] Error 2\n\nIt's clear from the message that your catalogs are not properly set up.\nOnce you get that working, the documentation should build correctly.\n\n> <nextCatalog\n> catalog=\"file:///usr/local/Cellar/docbook-xsl/1.78.1/docbook-xsl/catalog.xml\"/>\n> <nextCatalog\n> catalog=\"file:///usr/local/Cellar/docbook-xsl/1.78.1/docbook-xsl-ns/catalog.xml\"/>\n> </catalog>\n\nUnfortunately, this doesn't tell us much, since these are all references\nto other catalogs.  You need to look in the other catalogs, specifically\nthe two mentioned above, and ensure that there are appropriate\nrewriteURI and rewriteSystem entries pointing to the right place.  On my\nsystem, that looks like the following:\n\n  <rewriteURI uriStartString=\"http://docbook.sourceforge.net/release/xsl/current/\" rewritePrefix=\"./\"/>\n  <rewriteSystem systemIdStartString=\"http://docbook.sourceforge.net/release/xsl/current/\" rewritePrefix=\"./\"/>\n\nI don't know how your system is configured, so I can't tell you what\nentries would be correct.  You might ask in an appropriate user forum\nfor Homebrew.\n-- \nbrian m. carlson / brian with sandals: Houston, Texas, US\n+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only\nOpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187\n"},{"id":"268706","messageId":"CAJD5XBze8S23umS5enPaOKF6RFKwqkY-ZyuAfLG4SBp8CbCeRg@mail.gmail.com","threadId":"40165","inReplyTo":"20150825010428.GA428718@vauxhall.crustytoothpaste.net","subject":"Re: OS X Yosemite make all doc fails","fromName":"Jeff S","fromEmail":"acornblue@gmail.com","sentAt":"2015-08-26T00:20:02Z","receivedAt":"2015-08-26T00:20:02Z","isPatch":false,"sender":{"key":"acornblue@gmail.com","avatar":null},"body":"Brian thanks for responding! I'm finally able to build git completely.\nWould it be possible to add the OS X dependency to the git/INSTALL\nfile?\n\nJeff\n\nOSX Yosemite 10.10.5\nXcode 6.4 (6E35b)\n…\n$ brew install autoconf\n$ brew install asciidoc\n$ brew install xmlto\n$ brew install docbook\n$ export XML_CATALOG_FILES=/usr/local/etc/xml/catalog\n$ brew install docbook-xsl\n\nhttp://stackoverflow.com/questions/13519203/git-compilingdocumentation-git-add-xml-does-not-validate\nJeff\n\n--- sent via the nexus ---\n\n\nOn Mon, Aug 24, 2015 at 6:04 PM, brian m. carlson\n<sandals@crustytoothpaste.net> wrote:\n> On Mon, Aug 24, 2015 at 02:30:39AM -0700, Jeff S wrote:\n>> XSLTPROC user-manual.html\n>> warning: failed to load external entity\n>> \"http://docbook.sourceforge.net/release/xsl/current/common/l10n.xsl\"\n>> compilation error: file\n>> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 29\n>> element include\n>> xsl:include : unable to load\n>> http://docbook.sourceforge.net/release/xsl/current/common/l10n.xsl\n>> warning: failed to load external entity\n>> \"http://docbook.sourceforge.net/release/xsl/current/common/utility.xsl\"\n>> compilation error: file\n>> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 31\n>> element include\n>> xsl:include : unable to load\n>> http://docbook.sourceforge.net/release/xsl/current/common/utility.xsl\n>> warning: failed to load external entity\n>> \"http://docbook.sourceforge.net/release/xsl/current/common/labels.xsl\"\n>> compilation error: file\n>> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 32\n>> element include\n>> xsl:include : unable to load\n>> http://docbook.sourceforge.net/release/xsl/current/common/labels.xsl\n>> warning: failed to load external entity\n>> \"http://docbook.sourceforge.net/release/xsl/current/html/autotoc.xsl\"\n>> compilation error: file\n>> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 39\n>> element include\n>> xsl:include : unable to load\n>> http://docbook.sourceforge.net/release/xsl/current/html/autotoc.xsl\n>> warning: failed to load external entity\n>> \"http://docbook.sourceforge.net/release/xsl/current/html/verbatim.xsl\"\n>> compilation error: file\n>> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 43\n>> element include\n>> xsl:include : unable to load\n>> http://docbook.sourceforge.net/release/xsl/current/html/verbatim.xsl\n>> warning: failed to load external entity\n>> \"http://docbook.sourceforge.net/release/xsl/current/html/formal.xsl\"\n>> compilation error: file\n>> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 46\n>> element include\n>> xsl:include : unable to load\n>> http://docbook.sourceforge.net/release/xsl/current/html/formal.xsl\n>> warning: failed to load external entity\n>> \"http://docbook.sourceforge.net/release/xsl/current/common/table.xsl\"\n>> compilation error: file\n>> http://docbook.sourceforge.net/release/xsl/current/html/table.xsl line 11\n>> element include\n>> xsl:include : unable to load\n>> http://docbook.sourceforge.net/release/xsl/current/common/table.xsl\n>> warning: failed to load external entity\n>> \"http://docbook.sourceforge.net/release/xsl/current/html/footnote.xsl\"\n>> compilation error: file\n>> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 51\n>> element include\n>> xsl:include : unable to load\n>> http://docbook.sourceforge.net/release/xsl/current/html/footnote.xsl\n>> warning: failed to load external entity\n>> \"http://docbook.sourceforge.net/release/xsl/current/html/block.xsl\"\n>> compilation error: file\n>> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 65\n>> element include\n>> xsl:include : unable to load\n>> http://docbook.sourceforge.net/release/xsl/current/html/block.xsl\n>> warning: failed to load external entity\n>> \"http://docbook.sourceforge.net/release/xsl/current/common/stripns.xsl\"\n>> compilation error: file\n>> http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl line 76\n>> element include\n>> xsl:include : unable to load\n>> http://docbook.sourceforge.net/release/xsl/current/common/stripns.xsl\n>> make[1]: *** [user-manual.html] Error 5\n>> make: *** [doc] Error 2\n>\n> It's clear from the message that your catalogs are not properly set up.\n> Once you get that working, the documentation should build correctly.\n>\n>> <nextCatalog\n>> catalog=\"file:///usr/local/Cellar/docbook-xsl/1.78.1/docbook-xsl/catalog.xml\"/>\n>> <nextCatalog\n>> catalog=\"file:///usr/local/Cellar/docbook-xsl/1.78.1/docbook-xsl-ns/catalog.xml\"/>\n>> </catalog>\n>\n> Unfortunately, this doesn't tell us much, since these are all references\n> to other catalogs.  You need to look in the other catalogs, specifically\n> the two mentioned above, and ensure that there are appropriate\n> rewriteURI and rewriteSystem entries pointing to the right place.  On my\n> system, that looks like the following:\n>\n>   <rewriteURI uriStartString=\"http://docbook.sourceforge.net/release/xsl/current/\" rewritePrefix=\"./\"/>\n>   <rewriteSystem systemIdStartString=\"http://docbook.sourceforge.net/release/xsl/current/\" rewritePrefix=\"./\"/>\n>\n> I don't know how your system is configured, so I can't tell you what\n> entries would be correct.  You might ask in an appropriate user forum\n> for Homebrew.\n> --\n> brian m. carlson / brian with sandals: Houston, Texas, US\n> +1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only\n> OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187\n"},{"id":"268739","messageId":"xmqqmvxe2bgo.fsf_-_@gitster.dls.corp.google.com","threadId":"40165","inReplyTo":"CAJD5XBze8S23umS5enPaOKF6RFKwqkY-ZyuAfLG4SBp8CbCeRg@mail.gmail.com","subject":"Re* OS X Yosemite make all doc fails","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2015-08-26T17:42:15Z","receivedAt":"2015-08-26T17:42:15Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Jeff S <acornblue@gmail.com> writes:\n\n> Brian thanks for responding! I'm finally able to build git completely.\n> Would it be possible to add the OS X dependency to the git/INSTALL\n> file?\n>\n> OSX Yosemite 10.10.5\n> Xcode 6.4 (6E35b)\n> …\n> $ brew install autoconf\n> $ brew install asciidoc\n> $ brew install xmlto\n> $ brew install docbook\n> $ export XML_CATALOG_FILES=/usr/local/etc/xml/catalog\n> $ brew install docbook-xsl\n\nIt may not be a bad idea to add a whole section at the end of the\ndocument to list the prerequisite packages for various common\nplatforms, whose beginning perhaps would look like this?\n\ndiff --git a/INSTALL b/INSTALL\nindex ffb071e..84fa5cf 100644\n--- a/INSTALL\n+++ b/INSTALL\n@@ -221,3 +221,23 @@ Issues of note:\n          http://www.oasis-open.org/docbook/xml/4.5/xsl/current \\\n          /usr/share/sgml/docbook/xml-dtd-4.5 \\\n      /etc/xml/catalog\n+\n+\n+Platform specific hints:\n+\n+You would need to install prerequiste tools and libraries to compile\n+and use Git from the source.\n+\n+ - OSX needs the following packages installed with 'brew install'\n+   (in addition to the usual make and C compiler suite):\n+\n+   autoconf, asciidoc, xmlto, docbook, docbook-xsl\n+\n+ - Linux distributions derived from Debian need the following packages\n+   instaslled via 'apt-get install' or similar (in addition to the\n+   usual 'make' and C compiler suite that come as part of\n+   build-essential):\n+\n+   autoconf, asciidoc, xmlto, docbook, libz-dev, livcurl4-openssl-dev,\n+   ...\n+\n"},{"id":"268744","messageId":"55DE1613.30804@web.de","threadId":"40165","inReplyTo":"xmqqmvxe2bgo.fsf_-_@gitster.dls.corp.google.com","subject":"Re: Re* OS X Yosemite make all doc fails","fromName":"Torsten Bögershausen","fromEmail":"tboegi@web.de","sentAt":"2015-08-26T19:40:03Z","receivedAt":"2015-08-26T19:40:03Z","isPatch":false,"sender":{"key":"tboegi@web.de","avatar":"https://avatars.githubusercontent.com/u/7138363?v=4"},"body":"On 2015-08-26 19.42, Junio C Hamano wrote:\n> Jeff S <acornblue@gmail.com> writes:\n> \n>> Brian thanks for responding! I'm finally able to build git completely.\n>> Would it be possible to add the OS X dependency to the git/INSTALL\n>> file?\n>>\n>> OSX Yosemite 10.10.5\n>> Xcode 6.4 (6E35b)\n>> …\n>> $ brew install autoconf\n>> $ brew install asciidoc\n>> $ brew install xmlto\n>> $ brew install docbook\n>> $ export XML_CATALOG_FILES=/usr/local/etc/xml/catalog\n>> $ brew install docbook-xsl\n> \n> It may not be a bad idea to add a whole section at the end of the\n> document to list the prerequisite packages for various common\n> platforms, whose beginning perhaps would look like this?\n> \n> diff --git a/INSTALL b/INSTALL\n> index ffb071e..84fa5cf 100644\n> --- a/INSTALL\n> +++ b/INSTALL\n> @@ -221,3 +221,23 @@ Issues of note:\n>           http://www.oasis-open.org/docbook/xml/4.5/xsl/current \\\n>           /usr/share/sgml/docbook/xml-dtd-4.5 \\\n>       /etc/xml/catalog\n> +\n> +\n> +Platform specific hints:\n> +\n> +You would need to install prerequiste tools and libraries to compile\n> +and use Git from the source.\n> +\n> + - OSX needs the following packages installed with 'brew install'\n> +   (in addition to the usual make and C compiler suite):\n> +\n> +   autoconf, asciidoc, xmlto, docbook, docbook-xsl\n> +\n> + - Linux distributions derived from Debian need the following packages\n> +   instaslled via 'apt-get install' or similar (in addition to the\n> +   usual 'make' and C compiler suite that come as part of\n> +   build-essential):\n> +\n> +   autoconf, asciidoc, xmlto, docbook, libz-dev, livcurl4-openssl-dev,\n> +   ...\n> +\nI like this.\n\nThis is what I have been using for Debian (and RHEL 6.5 or so)\n(But it doesn't include \"make doc\")\n\n#!/bin/sh\nif type apt-get; then\n  APTGET=\"sudo apt-get install\"\nfi\nif type yum; then\n  APTGET=\"sudo /usr/bin/yum install\"\nfi\nexport APTGET\n\ntype gcc || $APTGET gcc\ntype curl-config || $APTGET libcurl4-openssl-dev || $APTGET libcurl-devel\ntest -r /usr/include/expat.h || $APTGET libexpat1-dev || $APTGET expat-devel\ntest -r /usr/include/ssl.h || test -r /usr/include/openssl/ssl.h || $APTGET\nopenssl-devel\ntype msgfmt || $APTGET gettext\ntype make || $APTGET make\n"}]}