# =========================================================
# Header details
#
# Copyright ........: Frank Schulte (fschulte\@hightek.com)
# Module/method ....: ./sourceforge.net/doc/pkg/python/index.html
# Version ..........: 00001
# CVS ..............: $Id: index.html,v 1.1.1.1 2001/07/18 01:50:42 fschulte Exp $
# Analyst ..........: FS
# Developers .......: FS  - Frank Schulte (fschulte\@hightek.com)
# Description ......: Python installation documentation.
#
#  LastAmended Name
#  ----------- -------------------------------------------------------------
#
# History ..........:
#
# Vers.     Date    SSR   By  Reason
# ----- ----------- ---- ---- ------------------------------
# 00001 19.12.2000  n/a  FS   Begin Documentation of installation process
# 00002 21.02.2001  n/a  FS   Move changelog into a seperate file.
# =========================================================
0. Changelog: here

# Python:
http://sourceforge.net/projects/python/
http://download.sourceforge.net/python/Python-2.0.tar.gz

4.0.2 Python-2.0:

cd ${BASE_SOURCES}/sourceforge.net-binaries-needed-software

cd Python-2.0

./configure --prefix=${PKG}/python/2.0
make
make test

su -
<root-password>

cd ${BASE_SOURCES}/sourceforge.net-binaries-needed-software

cd Python-2.0

mkdir -p ${PKG}/python/2.0

make install
 

4.1.3. Installing Python interface to Postgres Database

If not done automatically you can do this:

cd ${BASE_SOURCES}/sourceforge.net-binaries-needed-software
cd postgres-7.1beta1-cvs/pgsql/src/interfaces/python

PATH=${PKG}/python/bin:${PATH} gmake clean
PATH=${PKG}/python/bin:${PATH} gmake
PATH=${PKG}/python/bin:${PATH} gmake install

4.1.3.1. Verify the Python DB connection

su - normaluser
<normaluser-password>

# This user should have the permission to connect to the Pg Database (see 4.1.2. Installing Perl DBI DBD::Pg Module)

cd sf-genericinst

./scripts/test.db.pg.py.sh