[Python-Dev] Have problem when building python3.5.1 rpm with default SPEC file
Charalampos Stratakis
cstratak at redhat.com
Wed Jan 25 12:09:43 EST 2017
Hello Dahui,
So I'll wear my downstream maintainer hat and try to elaborate on the situation that you are facing.
Currently Red Hat does not ship Python 3 with rhel 7, so it is not supported. However package maintainers have created a SPEC file for python 3 that works for EPEL7 (aka centos7 or rhel7 etc).
The name of the package is python34 [1] and you can install it by following the instructions at [0], it is at version 3.4.5
Currently there is no package for Python 3.5 in the EPEL repositories, you could request that at epel-devel mailing list [2], which is for these kind of queries, someone could be able to provide you with more info there.
[0] https://admin.fedoraproject.org/pkgdb/package/rpms/python34/
[1] https://fedoraproject.org/wiki/EPEL
[2] https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org/
Regards,
Charalampos Stratakis
Associate Software Engineer
Python Maintenance Team, Red Hat
----- Original Message -----
From: "Dahui Jiang" <Dahui.Jiang at veritas.com>
To: "Charalampos Stratakis" <cstratak at redhat.com>
Cc: python-dev at python.org
Sent: Sunday, January 22, 2017 2:58:39 AM
Subject: RE: [Python-Dev] Have problem when building python3.5.1 rpm with default SPEC file
Hi Charalampos:
Thank you very much for your help, and I have built python3.5.1 rpm on redhat7 successfully.
But I find that there are quite a few content in SPEC file of fedora, and it seems that the file has been developed for a long time for patches and other supplementary,
now that the SPEC file of fedora is open source, how about redhat's, how could I get it?
Regards
Dahui
-----Original Message-----
From: Charalampos Stratakis [mailto:cstratak at redhat.com]
Sent: Friday, January 20, 2017 2:40
To: Dahui Jiang <Dahui.Jiang at veritas.com>
Cc: python-dev at python.org
Subject: Re: [Python-Dev] Have problem when building python3.5.1 rpm with default SPEC file
Hello,
This is a distro specific issue so this list might not be the best for resolving that, you should contact your distro's package maintainers of python.
For Fedora 25 we currently ship Python 3.5.2, which builds fine with this SPEC file [0], so maybe you could give this a try.
[0] http://pkgs.fedoraproject.org/cgit/rpms/python3.git/tree/python3.spec?h=f25
Regards,
Charalampos Stratakis
Associate Software Engineer
Python Maintenance Team, Red Hat
----- Original Message -----
From: "Dahui Jiang" <Dahui.Jiang at veritas.com>
To: python-dev at python.org
Sent: Thursday, January 19, 2017 12:54:16 PM
Subject: [Python-Dev] Have problem when building python3.5.1 rpm with default SPEC file
Hi all:
I’m try to build a python rpm from source python3.5.1, and I use the spec file in the source tree.
But the building is not success as print the following error:
***********************************************
running build
running build_ext
error: [Errno 2] No such file or directory: 'Modules/Setup'
error: Bad exit status from /var/tmp/rpm-tmp.DDm3jI (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.DDm3jI (%build)
************************************************
Regards
Dahui
_______________________________________________
Python-Dev mailing list
Python-Dev at python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: https://mail.python.org/mailman/options/python-dev/cstratak%40redhat.com
More information about the Python-Dev
mailing list