#3708: possible incompatibility with edit inline and python 2.5.1rc1
-----------------------------------------+----------------------------------
   Reporter:  [EMAIL PROTECTED]  |                Owner:  jacob        
     Status:  closed                     |            Component:  Uncategorized
    Version:  SVN                        |           Resolution:  invalid      
   Keywords:  filepathfield python2.5    |                Stage:  Accepted     
  Has_patch:  0                          |           Needs_docs:  0            
Needs_tests:  0                          |   Needs_better_patch:  0            
-----------------------------------------+----------------------------------
Changes (by [EMAIL PROTECTED]):

 * cc: [EMAIL PROTECTED] (added)

Comment:

 Here's what I did as a temporary fix (until the Ubuntu team updates the
 Python2.5 package to use 2.5.1-final):
 
 
 = Fix broken Python 2.5.1 rc1 in Ubuntu Feisty =
 See also:
   * [http://blog.cbciweb.com/articles/2006/10/10/ubuntu-custom-kernel]
   * [https://bugs.launchpad.net/ubuntu/+source/python2.5/+bug/107525]
 
 
 == Overview: ==
   1. Install apt-build to help rebuild the Python2.5 ubuntu package with
 the latest Python source
   1. Download the latest Python source in a location where apt-build will
 find it
   1. Have apt-build rebuild the Python2.5 package with the new source
   1. Install the newly compiled Python2.5 package
 
 
 == Install apt-build ==
 {{{
 sudo apt-get update
 sudo apt-get install apt-build
 }}}
 
 
 Answer the apt questions thusly:
 {{{
 # In order to install built package via APT, you must add a line like this
 to
 # your sources.list:
 # deb file:/var/cache/apt-build/repository apt-build main
 # Add apt-build repository to sources.list?
 # answer 'Yes'
 
 # If your architecture is not here, choose one and edit your configuration
 # file (/etc/apt/apt-build.conf) by hand, and please do a wishlist
 bugreport.
 #
 # Find out what architecture you have with:
 # cat /proc/cpuinfo
 #processor       : 0
 #vendor_id       : GenuineIntel
 #model name      : Pentium III (Coppermine)
 #
 # Select 'Pentium3'
 }}}
 
 
 == Upate the package list again ==
 {{{
 sudo apt-get update
 sudo apt-build update
 }}}
 
 
 == Rebuild and install Python 2.5.1-final ==
 {{{
 # This is where apt-build puts its source files
 cd /var/cache/apt-build/build
 
 # Download Python 2.5.1 final
 sudo wget http://www.python.org/ftp/python/2.5.1/
 sudo tar xzf Python-2.5.1.tgz
 
 # If you already have the Feisty 2.5.1-rc1 source, move it aside
 sudo mv python2.5-2.5.1~rc1  python2.5-2.5.1~rc1.old
 
 # Make apt-build think that the 2.5.1-final source is the old source
 sudo ln -s Python-2.5.1 python2.5-2.5.1~rc1
 
 # ... but to do that we have to copy the Debian folder to the final source
 cd python2.5-2.5.1~rc1.old
 sudo cp -a debian ../python2.5-2.5.1~rc1
 cd ../
 
 # Rebuild and install Python2.5 with the 2.5.1-final source:
 sudo apt-build install --reinstall python2.5
 
 # I had to do one final upgrade to get the newly compiled
 (unauthenticated) packages to install
 sudo apt-get upgrade
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3708#comment:7>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to