installing Python 3 on f11?

3 messages Options
Embed this post
Permalink
Robert P. J. Day

installing Python 3 on f11?

Reply Threaded More More options
Print post
Permalink

  (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
========================================================================

--
fedora-list mailing list
[hidden email]
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Tony Nelson-2

Re: installing Python 3 on f11?

Reply Threaded More More options
Print post
Permalink
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:[hidden email]>
      '                              <http://www.georgeanelson.com/>


--
fedora-list mailing list
[hidden email]
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
James Harrison-2

Re: installing Python 3 on f11?

Reply Threaded More More options
Print post
Permalink
In reply to this post by Robert P. J. Day
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
> ========================================================================
>

--
fedora-list mailing list
[hidden email]
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines