2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-24 10:29:53 +00:00
xcat-dep/AIX/xcat-mysql/Build-notes

21 lines
710 B
Plaintext
Raw Normal View History

2008-08-14 11:51:32 +00:00
Build Notes
Download mysql-5.1.37-aix5.3-powerpc-64bit.tar.gz
2008-08-14 11:51:32 +00:00
(See http://dev.mysql.com/downloads/mysql/5.1.html#aix)
Copy the gz file to the SOURCES directory.
cp mysql-5.1.37-aix5.3-powerpc-64bit.tar.gz /opt/freeware/src/packages/SOURCES
2008-08-14 11:51:32 +00:00
Remove any old RPMs
rm -f /opt/freeware/src/packages/SRPMS/xcat-mysql*rpm /opt/freeware/src/packages/RPMS/ppc/xcat-mysql*rpm
Use the spec file provided to build the RPM. (The spec file specifies
this particular MySQL gz file, so it will have to be modified if you want to use
a different version etc.
rpm -ba xcat-mysql.spec
Creates:
/opt/freeware/src/packages/SRPMS/xcat-mysql-5.1-37.src.rpm
/opt/freeware/src/packages/RPMS/ppc/xcat-mysql-5.1-37.aix5.3.ppc.rpm