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 5 and Version 6 of OperatingSystemSpecificConsiderations


Ignore:
Timestamp:
11/18/05 16:23:28 (9 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OperatingSystemSpecificConsiderations

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