Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #101943 > unrolled thread

Re: Installing on linux - missing devel packages

Started byChris Angelico <rosuav@gmail.com>
First post2016-01-21 18:27 +1100
Last post2016-01-22 07:40 +0200
Articles 3 — 3 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Installing on linux - missing devel packages Chris Angelico <rosuav@gmail.com> - 2016-01-21 18:27 +1100
    Re: Installing on linux - missing devel packages Grant Edwards <invalid@invalid.invalid> - 2016-01-21 14:25 +0000
      Re: Installing on linux - missing devel packages "Frank Millman" <frank@chagford.com> - 2016-01-22 07:40 +0200

#101943 — Re: Installing on linux - missing devel packages

FromChris Angelico <rosuav@gmail.com>
Date2016-01-21 18:27 +1100
SubjectRe: Installing on linux - missing devel packages
Message-ID<mailman.137.1453361279.15297.python-list@python.org>
On Thu, Jan 21, 2016 at 6:18 PM, Frank Millman <frank@chagford.com> wrote:
> Fedora 22 comes standard with Python 3.4.2. I want to install 3.5.1.
>
> It is easy enough to download the source and run ./configure;make;make
> altinstall. But then I find that I cannot import gzip because zlib-devel is
> missing. I fix that, then I find that sqlite-devel is missing.
>
> Is there an easy way to find out all the missing components, so that when
> the installation is complete I can be sure I have the entire standard lib?

This is a Linux packaging question, more than a Python one. On Debian
systems, the way to do that is "apt-get build-dep python3"; check your
own package manager for an equivalent - it'll probably be called
builddep or similar.

ChrisA

[toc] | [next] | [standalone]


#101964

FromGrant Edwards <invalid@invalid.invalid>
Date2016-01-21 14:25 +0000
Message-ID<n7qpoh$2ds$1@reader1.panix.com>
In reply to#101943
On 2016-01-21, Chris Angelico <rosuav@gmail.com> wrote:
> On Thu, Jan 21, 2016 at 6:18 PM, Frank Millman <frank@chagford.com> wrote:
>> Fedora 22 comes standard with Python 3.4.2. I want to install 3.5.1.
>>
>> It is easy enough to download the source and run ./configure;make;make
>> altinstall. But then I find that I cannot import gzip because zlib-devel is
>> missing. I fix that, then I find that sqlite-devel is missing.
>>
>> Is there an easy way to find out all the missing components, so that when
>> the installation is complete I can be sure I have the entire standard lib?
>
> This is a Linux packaging question, more than a Python one. On Debian
> systems, the way to do that is "apt-get build-dep python3"; check your
> own package manager for an equivalent - it'll probably be called
> builddep or similar.

Similarly on Gentoo, one does "emerge python:3.5" to build whatever
the "current" python 3.5 version is (including any dependancies) or
"emerge =python-3.5.1-r2" if you want a specific version.

One would hope the Fedora would be able to do something similar.

-- 
Grant Edwards               grant.b.edwards        Yow! The FALAFEL SANDWICH
                                  at               lands on my HEAD and I
                              gmail.com            become a VEGETARIAN ...

[toc] | [prev] | [next] | [standalone]


#101992

From"Frank Millman" <frank@chagford.com>
Date2016-01-22 07:40 +0200
Message-ID<mailman.159.1453441215.15297.python-list@python.org>
In reply to#101964
On 2016-01-21, Chris Angelico <rosuav@gmail.com> wrote:
> On Thu, Jan 21, 2016 at 6:18 PM, Frank Millman <frank@chagford.com> wrote:
>> Fedora 22 comes standard with Python 3.4.2. I want to install 3.5.1.
>>
>> It is easy enough to download the source and run ./configure;make;make
>> altinstall. But then I find that I cannot import gzip because zlib-devel 
>> is
>> missing. I fix that, then I find that sqlite-devel is missing.
>>
>> Is there an easy way to find out all the missing components, so that when
>> the installation is complete I can be sure I have the entire standard 
>> lib?
>
> This is a Linux packaging question, more than a Python one. On Debian
> systems, the way to do that is "apt-get build-dep python3"; check your
> own package manager for an equivalent - it'll probably be called
> builddep or similar.

Thanks for all the replies.

Frank

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web