jbrown96
5th October 2010, 08:22 PM
I'm developing Python applications on Fedora 13, and I need to validate my programs against several Python interpreters. Python2.6 and 3.1 are available through the repos, and I have both working fine.
The problem is that I need to support 2.3.4 in RH 4.4. I've found (S)RPMs from http://www.python.org/download/releases/2.3.4/rpms/. They recommended building my own binaries, so it will work better with my environment.
Two things:
1) Is there an easier way to install 2.3.4? Maybe some repo, or are the binaries fine to use?
2) If SRPM is the best method, could someone help me?
I've followed instructions from http://hacktux.com/fedora/source/rpm.
So far, I have successfully done:
yum-builddep python2.3-2.3.4-3pydotorg.src.rpm
and copied the '.rpmmacros' file from the website.
Actually building the SRPM is giving me errors, and I don't know where to look.
rpmbuild --rebuild /home/justin/Downloads/python2.3-2.3.4-3pydotorg.src.rpm
Installing /home/justin/Downloads/python2.3-2.3.4-3pydotorg.src.rpm
warning: InstallSourcePackage at: psm.c:244: Header V3 DSA/SHA1 Signature, key ID 95ccbcff: NOKEY
warning: user jafo does not exist - using root
warning: group jafo does not exist - using root
warning: user jafo does not exist - using root
warning: group jafo does not exist - using root
warning: user jafo does not exist - using root
warning: group jafo does not exist - using root
error: line 55: Unknown tag: Copyright: Modified CNRI Open Source License
I have no idea who 'jafo' is. I've run it as root and my user account; both produce the same warnings/error.
Thanks.
The problem is that I need to support 2.3.4 in RH 4.4. I've found (S)RPMs from http://www.python.org/download/releases/2.3.4/rpms/. They recommended building my own binaries, so it will work better with my environment.
Two things:
1) Is there an easier way to install 2.3.4? Maybe some repo, or are the binaries fine to use?
2) If SRPM is the best method, could someone help me?
I've followed instructions from http://hacktux.com/fedora/source/rpm.
So far, I have successfully done:
yum-builddep python2.3-2.3.4-3pydotorg.src.rpm
and copied the '.rpmmacros' file from the website.
Actually building the SRPM is giving me errors, and I don't know where to look.
rpmbuild --rebuild /home/justin/Downloads/python2.3-2.3.4-3pydotorg.src.rpm
Installing /home/justin/Downloads/python2.3-2.3.4-3pydotorg.src.rpm
warning: InstallSourcePackage at: psm.c:244: Header V3 DSA/SHA1 Signature, key ID 95ccbcff: NOKEY
warning: user jafo does not exist - using root
warning: group jafo does not exist - using root
warning: user jafo does not exist - using root
warning: group jafo does not exist - using root
warning: user jafo does not exist - using root
warning: group jafo does not exist - using root
error: line 55: Unknown tag: Copyright: Modified CNRI Open Source License
I have no idea who 'jafo' is. I've run it as root and my user account; both produce the same warnings/error.
Thanks.