installing Python 3 on f11?

Tony Nelson tonynelson at georgeanelson.com
Thu Nov 5 19:26:50 UTC 2009


On 09-11-05 01:37:12, Robert P. J. Day wrote:
> 
>   (i just asked about this on the test list but it seems that it's
> equally appropriate here.)
> 
>   any problems with installing python-3.1.1 side-by-side on a fedora
> 11 system, and having programmers invoke it with an explicit 
> reference
> to "python3"?
> 
>   just for fun, i grabbed :
> 
> http://www.python.org/ftp/python/3.1.1/Python-3.1.1.tar.bz2
> 
> unloaded it under my home directory, found out quickly that i needed
> to install tk-devel, tcl-devel and libsqlite3x-devel, did that, then
> -- following the README -- ran
> 
>   $ ./configure
>   $ make
>   $ make test
> 
> the only glitches were, during the test step, the occasional
> diagnostic that a test was being skipped because some resource wasn't
> enabled, such as:
> 
> ...
> test_codecmaps_cn
> test_codecmaps_cn skipped -- Use of the `urlfetch' resource not
> enabled
> ...
> 
>   beyond that, things seemed to work, after which i'd normally run
> 
>   # make install
> 
> if anyone else has gone down this road, any warnings?

make altinstall

> and any hint 
> as to how to get that 'urlfetch' resource?  there doesn't appear to 
> be anything in the configure step that enables or disables that, and 
> that diagnostic shows up several times, albeit not fatally.

make EXTRATESTOPTS="-uurlfetch" test

I don't usually bother.


>   in any event, can installing python-3.1.1 like this cause any grief
> with the current system?  it's mostly for people who want to start
> programming in python, and it seems to make sense to start them off
> with python 3.

Don't, as some have done, add anything to /etc/ld.so.conf*. 8v)

-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>





More information about the users mailing list