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 1 and Version 2 of FreeBSDInstall


Ignore:
Timestamp:
01/16/06 15:03:05 (13 years ago)
Author:
"Laurent Daverio" <laurent@…>
Comment:

Added direct installation from FreeBSD ports

Legend:

Unmodified
Added
Removed
Modified
  • FreeBSDInstall

    v1 v2  
    11= Installing TurboGears on FreeBSD = 
    22 
    3 ''This document currently applies to FreeBSD 6.0-RELEASE, though will most likely work with older versions (5.x likely, 4.x less likely).'' 
     3''This document currently applies to FreeBSD 6.0-RELEASE, though it will also work with older versions (5.x, 4.x).'' 
    44 
    5 == Prerequisites == 
     5NB : all installations must be performed as root, i.e. : 
     6{{{ 
     7$ su 
     8password: 
     9}}} 
     10 
     11== Installing Turbogears using the FreebSD ports == 
     12 
     13Turbogears is now available as a FreeBSD port, which provides a convenient alternative to the direct use of the Setuptools. 
     14 
     15The port will install all the required dependencies (Python 2.4, SQLObject, Cheetah, CherryPy, Kid, json-py, ...), plus the modules required for MySQL/PostgreSQL connectivity (MySQLdb, psycopg, ...). 
     16 
     17Install from ports: 
     18{{{ 
     19$ cd /usr/ports/www/py-turbogears 
     20$ make install clean 
     21}}} 
     22 
     23== Installing Turbogears using the Setuptools  == 
    624 
    725The standard [http://www.turbogears.org/download/nix.html TurboGears *nix install] works so we'll just work with the prerequisites. First, you must have Python installed. Thankfully, FreeBSD 6 ships with Python 2.4. 
     
    927Install from ports: 
    1028{{{ 
    11 $ su 
    12 password: 
    1329$ cd /usr/ports/lang/python 
    1430$ make install clean 
    1531}}} 
    16 Or the package install (easier, less time consuming). 
     32Or using [http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html portupgrade] : 
    1733{{{ 
    18 $ su 
    19 password: 
     34portinstall python 
     35}}} 
     36Or the binary package install (easier, less time consuming). 
     37{{{ 
    2038$ pkg_add -r python 
    2139}}} 
     
    2442 
    2543==== SQLite ==== 
     44 
     45This will install [http://www.sqlite.org SQLite 3] and the PySQLite python module. 
     46 
    2647From ports: 
    2748{{{ 
    28 $ su 
    29 password: 
    3049$ cd /usr/ports/databases/py-PySQLite2/ 
    3150$ make install clean 
    3251}}} 
    33 Package install: 
     52Binary package install: 
    3453{{{ 
    3554pkg_add -r py24-pysqlite2 
     
    3756 
    3857==== MySQL ==== 
     58 
     59This will install the MySQL client libraries and MySQLdb python module.  
     60 
    3961From ports: 
    4062{{{ 
    41 $ su 
    42 password: 
    4363$ cd /usr/ports/databases/py-MySQLdb/ 
    4464$ make install clean