installing Python 3 on f11?
James Harrison
jamesaharrisonuk at yahoo.co.uk
Fri Nov 6 09:20:04 UTC 2009
One trick I do is to isolate the install to a directory.
When you run:
> $ ./configure
add --PREFIX={directory}
It looks like this (for example):
./configure --PREFIX=/home/abc/python3
When you run 'make install', everything gets installed into this
directory.
Thanks,
James
On Thu, 2009-11-05 at 01:37 -0500, 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? 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.
>
> 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.
>
> rday
> --
>
> ========================================================================
> Robert P. J. Day Waterloo, Ontario, CANADA
>
> Linux Consulting, Training and Kernel Pedantry.
>
> Web page: http://crashcourse.ca
> Twitter: http://twitter.com/rpjday
> ========================================================================
>
More information about the fedora-list
mailing list