<div dir="ltr">Hi Randy,<div><br></div><div>Yes, seeing your earlier post about this is what made me think the instructions might be missing some install instructions (turns out they were buried further down). I moved them up and tested on Ubuntu and it was finally able to complete successfully. Hurrah!</div><div><br></div><div>What worked (for Ubuntu):</div><div>**General prerequisites **</div><div>git git-review </div><div><br></div><div>**Tox prerequisites **</div><div>Ubuntu</div><div>sudo apt-get install gcc gettext python-dev libxml2-dev libxslt1-dev zlib1g-dev</div><div><br></div><div>RHEL/CentOS</div><div>sudo yum install gcc python-devel libxml2-devel libxslt-devel</div><div><br></div><div>then install tox and run the tox commands.</div><div><br></div><div>I'm going to test RHEL/CentOS next to confirm but it looks like this list is shorter for what needs to be installed and gets everything up and running for the docs.</div><div><br></div><div>Thanks being tenacious and finding ways to make things work!</div><div>Amanda</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 7, 2015 at 10:34 AM, <span dir="ltr"><<a href="mailto:Randy_Perryman@dell.com" target="_blank">Randy_Perryman@dell.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div><p><b><span style="font-size:9.0pt;font-family:"Trebuchet MS",sans-serif;color:#aaaaaa">Dell - Internal Use - Confidential </span></b><u></u><u></u></p><p class="MsoNormal">Having just finished installing and getting this work. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I used the instruction on the Ironic page to do this. That worked my first try. I did hve to install Python 2.7 and set it as active with alternatives<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Here is my post on what I did:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">So after spending many hours of setup and struggle. I spoke with one of the local engineers and he said he can build the docs after following the instructions at <a href="http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html" target="_blank">http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html</a>.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">So I followed these instructions, then went back to our documentation at <a href="https://wiki.openstack.org/wiki/Documentation/HowTo#Edit_OpenStack_RST_and.2For_DocBook_documentation" target="_blank">https://wiki.openstack.org/wiki/Documentation/HowTo#Edit_OpenStack_RST_and.2For_DocBook_documentation</a><u></u><u></u></p><p class="MsoNormal"> and went to Building Output Locally. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I can now do a <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">tox –e py27 with no errors<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">activate my virtual environment<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">tox –e docs<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">with No errors<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Basics of what I did <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span lang="SV">Operating System – CentOS 6.6<u></u><u></u></span></p><p class="MsoNormal"><span lang="SV">python 2.7 (</span><a href="https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz" target="_blank"><span lang="SV">https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz</span></a><span lang="SV">)<u></u><u></u></span></p><p class="MsoNormal"><span lang="SV"> setup as an alternative: <u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in;text-indent:.5in"><span lang="SV">alternatives --install /usr/bin/python python /usr/src/Python-2.7.9/python 2<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in;text-indent:.5in"><span lang="DE">alternatives --install /usr/bin/python python /usr/bin/python2.6 1 <u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">alternatiives --config python<u></u><u></u></p><p class="MsoNormal">sudo easy_install nose<u></u><u></u></p><p class="MsoNormal">pip install virtualenv<u></u><u></u></p><p class="MsoNormal">pip install setuptools-git<u></u><u></u></p><p class="MsoNormal">pip install flake8<u></u><u></u></p><p class="MsoNormal">pip install tox <u></u><u></u></p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p>> -----Original Message-----<br>> From: Jeremy Stanley [mailto:<a href="mailto:fungi@yuggoth.org" target="_blank">fungi@yuggoth.org</a>]<br>> Sent: Monday, July 06, 2015 11:58 AM<br>> To: <a href="mailto:openstack-docs@lists.openstack.org" target="_blank">openstack-docs@lists.openstack.org</a><br>> Subject: Re: [OpenStack-docs] Tox on Docs, Docs on Tox<br>> <br>> On 2015-07-06 09:40:56 -0600 (-0600), Matt Kassawara wrote:<br>> > From the note...<br>> ><br>> > Ubuntu and Debian require the following additional dependencies: gcc,<br>> > gettext, python-dev, libxml2-dev, libxslt1-dev, zlib1g-dev<br>> ><br>> > RHEL and variants including Fedora, openSUSE and SUSE Linux Enterprise<br>> > require the following additional dependencies: gcc, python-devel,<br>> > libxml2-devel, libxslt-devel<br>> <br>> Once bindep[1] gets a little more ingrained in our repos (I've got<br>> patches underway to integrate it into our testing mechanisms<br>> currently), this could be solved by adding an other-requirements.txt<br>> file into the repo to which this applies. Its contents would look<br>> something like:<br>> <br>> gcc<br>> gettext [platform:dpkg]<br>> libxml2-dev [platform:dpkg]<br>> libxml2-devel [platform:rpm]<br>> libxslt-devel [platform:rpm]<br>> libxslt1-dev [platform:dpkg]<br>> python-dev [platform:dpkg]<br>> python-devel [platform:rpm]<br>> zlib1g-dev [platform:dpkg]<br>> <br>> And then with a corresponding "bindep" env in your tox.ini, your<br>> instructions could say to install tox and run `tox -e bindep` to get<br>> a list of additional packages you're missing on your platform.<br>> <br>> [1] <a href="https://git.openstack.org/cgit/openstack-infra/bindep/tree/README.rst" target="_blank">https://git.openstack.org/cgit/openstack-infra/bindep/tree/README.rst</a><br>> --<br>> Jeremy Stanley<br>> <br>> _______________________________________________<br>> OpenStack-docs mailing list<br>> <a href="mailto:OpenStack-docs@lists.openstack.org" target="_blank">OpenStack-docs@lists.openstack.org</a><br>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs</a><u></u><u></u></p></div></div></div></div><br>_______________________________________________<br>
OpenStack-docs mailing list<br>
<a href="mailto:OpenStack-docs@lists.openstack.org">OpenStack-docs@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs</a><br>
<br></blockquote></div><br></div></div>