Creating Python RPM on AIX
Blaxton
blaxxton at yahoo.com
Sun Feb 15 10:40:41 EST 2015
Hi
Has any one created Python RPM on AIX ?
I am using the spec file that comes with Python source file and here is the problems I was facing:
README file says download the bz2 version, but only gziped and xz version available from Python website
so had to convert the .tgz file to bz2 and copy it over to SOURCES directory.
%define config_binsuffix was set to 2.6 and not sure why it should be 2.6 when I working on 3.4 version.
had to change it to to pass the error.
%define config_binsuffix none
Misc/cheatsheet seems to be decommissioned in new version of Python but still in spec file
so commented it.
The last error that I am receiving and can't figure the resolution is below:
Processing files: python-devel-3.4.2-AIX71
File not found by glob: /var/opt/freeware/tmp/python-3.4.2-root/usr/include/python3.4/*.h
File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/lib/python3.4/config
PreReq: rpmlib(VersionedDependencies) <= 3.0.3-1 python = 3.4.2
Processing files: python-tools-3.4.2-AIX71
File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/bin/pydoc
File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/bin/smtpd.py
PreReq: rpmlib(VersionedDependencies) <= 3.0.3-1 python = 3.4.2-AIX71
running rpm -bl option to see missing files are below:
rpm -bl /opt/freeware/src/packages/SPECS/python-3.4.spec
Processing files: python-3.4.2-AIX71
File not found by glob: /var/opt/freeware/tmp/python-3.4.2-root/opt/freeware/man/man1/python.1*
File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/include/python3.4
Processing files: python-devel-3.4.2-AIX71
File not found by glob: /var/opt/freeware/tmp/python-3.4.2-root/usr/include/python3.4/*.h
File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/lib/python3.4/config
PreReq: rpmlib(VersionedDependencies) <= 3.0.3-1 python = 3.4.2
Processing files: python-tools-3.4.2-AIX71
File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/bin/pydoc
File not found: /var/opt/freeware/tmp/python-3.4.2-root/usr/bin/smtpd.py
PreReq: rpmlib(VersionedDependencies) <= 3.0.3-1 python = 3.4.2-AIX71
Any idea as how I can fix this ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150215/b1d41d40/attachment.html>
More information about the Python-list
mailing list