Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 3 and Version 4 of OperatingSystemSpecificConsiderations


Ignore:
Timestamp:
11/18/05 13:03:23 (14 years ago)
Author:
SuperJared
Comment:

Merged this page with legacy SystemInstall page

Legend:

Unmodified
Added
Removed
Modified
  • OperatingSystemSpecificConsiderations

    v3 v4  
    55Installation is affected by [http://qa.mandriva.com/show_bug.cgi?id=19376 this bug]. Read more [http://groups.google.com/group/turbogears/browse_thread/thread/7b956e7276616221/cfe4bd143c0386cd?q=mandriva&rnum=1#cfe4bd143c0386cd here]. 
    66 
    7 == Debian Sarge == 
     7== Ubuntu == 
    88 
    9 Installation requires a few more steps than the docs page. Read more [http://groups.google.com/group/turbogears/browse_thread/thread/3a6f0198821f815c here]. 
     9To install Turbogears on Ubuntu, the '*libc6-dev*' package needs to be installed. This package provides header files etc. needed to do the compile. 
    1010 
    11 == Ubuntu Linux == 
     11Coming Soon: GentooInstall - For now see http://eggs.gentooexperimental.org/ 
    1212 
    13 To install Turbogears on Ubuntu, the 'libc6-dev' package needs to be installed. This package provides header files etc. needed to do the compile. 
     13 
     14== Debian and Ubuntu == 
     15 
     16They are *not* binary compatible.  Mark Shuttleworth clarified this in 
     17something which was posted to Slashdot sometime in the last couple of 
     18weeks.  Ubuntu is built fresh from Debian Unstable *source* every 6 
     19months by picking a snapshot, fixing bugs and running q/a on the CD 
     20images.  Bugs fixed are pushed back upstream. 
     21 
     22The stuff below should work for Ubuntu ... but they may already be on 
     23python2.4 ... 
     24 
     25== Debian Packaging == 
     26 
     27Ian Bicking noted that there is a python tool for creating Debian packages: 
     28http://easy-deb.sourceforge.net/ 
     29 
     30== Debian Sarge and Sid (unstable): Non-root installs == 
     31 
     32Here $ is your prompt. 
     33 
     341.  Make sure you are a member of the 'staff' group.  This group 
     35has permission to write in the '/usr/local' tree.  Debian packages set 
     36up some empty directories in this tree with the correct permissions so 
     37that non-root installs of supplementary modules etc can be done. 
     38 
     39The 'id' program will show you what groups you are already a member of.  If your  
     40username is 'me' and your uid is 1001 then the output of 'id' will appear as shown and you need to 
     41list all the present additional groups as well as 'staff' when running 'usermod'.  If 'staff' is already listed 
     42then you can skip this step. 
     43 
     44{{{ 
     45$ id  
     46uid=1001(me) gid=1001(mygroup) groups=24(cdrom),29(audio),1001(mygroup) 
     47$ sudo usermod -G 24,29,staff me 
     48}}} 
     49 
     50You need to log out and in again for this to take effect. 
     51 
     52 
     532. Install python2.4-dev.  [example: Debian provides methods other than sudo ...] 
     54 
     55{{{ 
     56$ sudo apt-get install python2.4-dev 
     57}}} 
     58 
     593. Create a pydistutils.cfg file in your home directory. [or use vi/emacs/...] 
     60 
     61{{{ 
     62$ cat > ~/.pydistutils.cfg << EOF 
     63[install] 
     64install_lib = /usr/local/lib/python2.4/site-packages 
     65 
     66[easy_install] 
     67site_dirs=/usr/local/lib/python2.4/site-packages 
     68EOF 
     69}}} 
     70 
     71Please notice that the easy_install section does not support the $ variables. Just write the complete path. 
     72 
     734. Run ez_setup.py from the Turbogears download page. 
     74 
     75{{{ 
     76$ python2.4 ez_setup.py -f http://www.turbogears.org/download/index.html --script-dir /usr/local/bin TurboGears 
     77}}}