Editing Making template tools to work on x86 64

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 5: Line 5:
 
*  Get and build Python 2.4.5 having exported CFLAGS="-m32" and LD_FLAGS="-m32" into /usr/local/python-2.4.5-32 by using --prefix=/usr/local/python-2.4.5-32 as an argument to configure
 
*  Get and build Python 2.4.5 having exported CFLAGS="-m32" and LD_FLAGS="-m32" into /usr/local/python-2.4.5-32 by using --prefix=/usr/local/python-2.4.5-32 as an argument to configure
 
*  Download ez_setup from http://peak.telecommunity.com/DevCenter/EasyInstall and run /usr/local/python-2.4.5-32/bin/python ez_setup.py (this will make some things easier)
 
*  Download ez_setup from http://peak.telecommunity.com/DevCenter/EasyInstall and run /usr/local/python-2.4.5-32/bin/python ez_setup.py (this will make some things easier)
*  download and install ElementTree-1.2.6 (easy_install)
+
*  download and install cElementTree-1.2.6
*  download and install libxml2-python-2.6.9, you will need to have libxml-devel.i386 and libxslt-devel.i386 already installed (ftp://xmlsoft.org/libxml2/python/)
+
*  download and install libxml2-python-2.6.9, you will need to have libxml-devel.i386 and libxslt-devel.i386 already installed
*  download and install urlgrabber-3.1.0 (http://linux.duke.edu/projects/urlgrabber/download/)
+
*  download and install urlgrabber-3.1.0
 
*  /usr/local/python-2.4.5-32/bin/easy_install pysqlite, make sure you have sqlite-devel installed
 
*  /usr/local/python-2.4.5-32/bin/easy_install pysqlite, make sure you have sqlite-devel installed
 
*  replace /usr/bin/python with /usr/local/python-2.4.5-32/bin/python in /usr/share/vzyum/yum-cli/yummain.py, /usr/share/vzyum/yum-cli/cli.py, /usr/share/vzyum/bin/yum
 
*  replace /usr/bin/python with /usr/local/python-2.4.5-32/bin/python in /usr/share/vzyum/yum-cli/yummain.py, /usr/share/vzyum/yum-cli/cli.py, /usr/share/vzyum/bin/yum
*  modify /usr/share/vzpkg/functions change get_pythonver to run your custom version of python and not the system version
 
  
 
[[Category: Templates]]
 
[[Category: Templates]]
 
[[Category: HOWTO]]
 
[[Category: HOWTO]]
 
[[Category: Troubleshooting]]
 
[[Category: Troubleshooting]]

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)