#282 closed defect (fixed)

more detailed and targeted docs about installing from source

Reported by: zooko Owned by: warner
Priority: major Milestone: 1.3.0
Component: documentation Version: 0.7.0
Keywords: Cc: arch_o_median, justin
Launchpad Bug:

Description

The current docs/install.html is short and sweet and readable and should work to get you to install from source on any platform (provided you are familiar all the ins and outs of compiling the various manual dependencies on your platform -- Crypto++ and pyOpenSSL are two that people sometimes have trouble with).

It would be nice to have a lot more detail for people who aren't intimately familiar with this stuff, or people who don't want to do the setuptools-centric "run-in-place" method described in docs/install.html.

Some set of interlinked HTML files should be constructed (drawing from the pool of experience that is encoded into the current docs/install-details.html) which provides some combination of (a) more details for particular platforms (for example, did you know that there's a tricky incompatibility between twisted and nevow and tahoe on Ubuntu Dapper?), (b) alternate install techniques -- "Just Get Prebuilt Debs", "Just Run easy_install allmydata-tahoe", "How To Use setuptools To Install Into Specific Places So That It Is GNU Stow Compatible", "How To Build Your Own Debs", and so on.

Justin believes, and I agree, that there should be a file for each platform -- e.g. docs/install-win32.html, docs/install-cygwin.html, docs/install-macosx.html, etc.

Change History (12)

comment:1 Changed at 2008-01-23T03:14:42Z by zooko

  • Summary changed from install-details.html, install-win32.html, install-cygwin.html to more detailed and targeted docs about installing from source

comment:2 Changed at 2008-01-23T03:16:43Z by zooko

  • Cc arch_o_median added

comment:3 Changed at 2008-05-31T01:06:38Z by zooko

Hm. I think that it is possible that the improvements to the install/build process since we opened this ticket make it so that we do not need targeted docs for each platform. In particular, we no longer need to build Crypto++ separately, nor install Twisted. Hopefully soon we will also no longer need to install pyOpenSSL -- #402 (bug in Twisted, triggered by pyOpenSSL-0.7).

That will leave: g++, GNU make, Python, and OpenSSL as requirements that people have to manually satisfy. Fortunately OpenSSL and Python are included with the operating system on Mac.

comment:4 Changed at 2008-05-31T01:12:02Z by zooko

  • Milestone changed from undecided to 1.1.0
  • Owner changed from somebody to zooko
  • Status changed from new to assigned

comment:5 Changed at 2008-06-04T01:04:13Z by zooko

  • Resolution set to wontfix
  • Status changed from assigned to closed

I'm going to close this bug as "wontfix". My strategy for making it possible for people to install from source who are not Python experts (and by the way this is a goal that I highly value) is going to be to make the install process be automated instead of being documented.

comment:6 Changed at 2008-06-05T18:16:07Z by zooko

  • Milestone changed from 1.1.0 to 1.1.1
  • Resolution wontfix deleted
  • Status changed from closed to reopened

Brian has persuaded me that this strategy may not be good enough for my goals -- there are plenty of ways where people could fail to install Tahoe from source while following the simple [docs/install.html], which failures could be fixed by more detailed instructions, including possibly instructions for specific platforms.

However, we don't want to delay 1.1 release while working on this issue, so I'm reopening this ticket and putting it into Milestone 1.1.1.

comment:7 Changed at 2008-06-05T18:17:56Z by zooko

  • Cc justin added

comment:8 Changed at 2008-06-05T19:29:25Z by zooko

Merging in #194 (README.w32).

comment:9 Changed at 2008-08-16T00:45:24Z by arch_o_median

I attempted to install using the docs/install.html instructions, and failed. By examining this thread I realized I needed pycrypto++ and pyopenssl. Once I installed these I was able to install according to the rest of the recipe.

comment:10 Changed at 2008-08-16T14:10:09Z by zooko

Did you try v1.2.0? There is a known bug with that process, which is fixed in trunk. Here's the mailing list message about it:

http://allmydata.org/pipermail/tahoe-dev/2008-August/000740.html

Thank you for the bug report!

By the way pycryptopp is handled automatically, it was only pyOpenSSL that had that problem.

comment:11 Changed at 2008-09-17T17:32:50Z by zooko

  • Milestone changed from 1.3.1 to 1.3.0
  • Owner changed from zooko to warner
  • Status changed from reopened to new

Brian and I agreed on IRC that for the Tahoe 1.3.0 release we would add to install.html a link to a wiki page on allmydata.org. That wiki page would be for (a) platform-specific or installation-method-specific alternatives, (b) further detail which is useful for following the basic install-from-source plan that is in install.html.

(Items in category (b) would be candidates for subsequently moving from the wiki page into install.html itself.)

comment:12 Changed at 2008-09-17T23:13:44Z by warner

  • Resolution set to fixed
  • Status changed from new to closed

Ok, I've added the InstallDetails wiki page, with everything that came to mind just now. It is linked from source:docs/install.html and the [Doc Doc] page.

Feel free to add more details to it as we discover them.

Note: See TracTickets for help on using tickets.