Changes between Version 7 and Version 8 of CompileError


Ignore:
Timestamp:
2013-01-16T21:15:18Z (11 years ago)
Author:
davidsarah
Comment:

trivial correction (Tahoe-LAFS also uses pure-Python libraries that don't need to be mentioned)

Legend:

Unmodified
Added
Removed
Modified
  • CompileError

    v7 v8  
    1919=== Why This Happens ===
    2020
    21 To decide what to do about this, you have to understand that the Tahoe-LAFS software itself is written in 100% pure Python and never gets compiled. However, Tahoe-LAFS uses several libraries which themselves contain native C or C++ code that needs to be compiled. Currently there are six libraries that Tahoe-LAFS uses: {{{Twisted}}}, {{{pyOpenSSL}}}, {{{pycrypto}}}, {{{pycryptopp}}}, {{{zfec}}}, and {{{zope.interface}}}.
     21To decide what to do about this, you have to understand that the Tahoe-LAFS software itself is written in 100% pure Python and never gets compiled. However, Tahoe-LAFS uses several libraries which themselves contain native C or C++ code that needs to be compiled. Currently there are six such libraries that Tahoe-LAFS uses: {{{Twisted}}}, {{{pyOpenSSL}}}, {{{pycrypto}}}, {{{pycryptopp}}}, {{{zfec}}}, and {{{zope.interface}}}.
    2222
    23 To understand why the compile failure happens and how to get past it, you have to understand that {{{python setup.py build}}} tries ''three'' different methods of satisfying Tahoe-LAFS's need for its libraries, and only if all three methods fail does it emit an error message like this.
     23To understand why the compile failure happens and how to get past it, you have to understand that {{{python setup.py build}}} tries ''three'' different methods of satisfying Tahoe-LAFS' need for its libraries, and only if all three methods fail does it emit an error message like this.
    2424
    25251. First, if a suitable version of the library is already installed in your system, then Tahoe-LAFS will use it. So for example if the compile failure is happening because it can't compile {{{Twisted}}}, and if you were to install Twisted into your operating system — such as by running {{{sudo apt-get install python-twisted}}} on Debian, or by downloading and running the MSI installer for Twisted from http://twistedmatrix.com/trac/ on Windows — then the compile failure would stop happening, because it would no longer attempt to compile Twisted, because it would use the installed Twisted on your system instead.
     
    3737If there are any blank cells in your row of the table, then that's your problem. The problem is that one of those dependencies is not available in precompiled binary form. To get this fixed, please send an email to [//cgi-bin/mailman/listinfo/tahoe-dev the tahoe-dev mailing list] requesting that someone who has your platform build a precompiled binary of that dependency for you.
    3838
    39 === for Tahoe-LAFS developers and packagers ===
     39=== For Tahoe-LAFS developers and packagers ===
    4040
    4141See also wiki:Packaging, wiki:OSPackages, wiki:Manual, and wiki:NewbieDeveloperSetup