Here a my notes from my installation of python and turbogears on a
upgraded Centos 4.1into /usr/local
this is the raw from my personal wiki
== Install python 2.4.3 in a local directory ==
install or update all required package
Upgrade or install all package python can use
{{{
[EMAIL PROTECTED] ~]# yum install db4-devel readline-devel libtermcap-devel
openssl-devel gmp-devel ncurses-devel gdbm-devel zlib-devel expat-
devel tetex-latex Mesa-devel tk tix gcc-c++ XFree86-devel glibc-devel
bzip2 tar pkgconfig tcl-devel tk-devel tix-devel bzip2-devel
}}}
I you want tu use another version of a package, install it first, say
in /usr/local/tcl-tk then use
{{{
export LD_LIBRARY_PATH=/usr/local/tcl-tk-lib
}}}
before to compile and install python.[[br]] in this case dont forget
to use the same '''LD_LIBRARY_PATH''' before to start any program
using this version of python
[HOWTO: Python 2.3 on Fedora Core 1 Linux|http://mail.python.org/
pipermail/python-list/2003-November/196774.html]
{{{
# ./configure --prefix=/usr/local/python-2.4.3
# make install
# ll /usr/local/python-2.4.3/bin/
total 6676
-rwxr-xr-x 1 root root 109 Jul 14 18:23 idle
-rwxr-xr-x 1 root root 94 Jul 14 18:23 pydoc
-rwxr-xr-x 2 root root 3397522 Jul 14 18:24 python
-rwxr-xr-x 2 root root 3397522 Jul 14 18:24 python2.4
-rwxr-xr-x 1 root root 18030 Jul 14 18:23 smtpd.py
}}}
''Optional''
{{{
# rm -f /usr/local/python-2.4.3/bin/python
}}}
== Turbogears wiki ==
dont forget to install '''sqlite''' and '''docutils''' before to start
the '''The 20 Minute Wiki'''
{{{
> easy_install docutils
> easy_install pysqlite
}}}
'''Multiple Python Versions'''
{{{
# easy_install-2.4 docutils
# easy_install-2.4 pysqlite
}}}
a '''easy_install-X.X''' is installed for any installed python
version :-)
easyinstall must be in the '''PATH''' : '''c:\python24\scripts''' or
'''/usr/local/bin/easy-install'''
dont forget
{{{
# yum install sqlite sqlite-devel
}}}
for real, I used http://initd.org/tracker/pysqlite to install Sqlite
for Windows
On 1 fév, 15:21, "tereglow" <[EMAIL PROTECTED]> wrote:
> I'd like to learn TurboGears and am trying to get the framework
> installed on a RHEL 4.4 server. RHEL 4 is using Python 2.3.4 and, it
> is my understanding, that 3.4 is recommended for TurboGears. I was
> able to download and compile Python 2.4.4 from python.org and make it
> in /usr/local; however when I ran tgsetup.py I received errors that
> Zlib was missing, though it is installed.
>
> I'm sure I can keep hacking away and eventually get this all to work,
> but before going down that route, I'd like to see if anyone is
> currently running TurboGears on a RHEL 4 (or CentOS for that matter)
> system and could share with me a relatively clean way to get it
> installed.
>
> Thanks for the help, I'm looking forward to learning TurboGears.
> Tom
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---