mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-25 19:08:31 +00:00
52f8ce5fd1
Former-commit-id: d4fd67aa7caec0ea68e2e9cecf963e55d2afc27f
15 lines
493 B
Plaintext
15 lines
493 B
Plaintext
Build Notes for the perl-DBD-DB2 on RedHat5.x p-Series
|
|
|
|
DB2 must be installed on the linux machine to build the DBD
|
|
install rpm_build
|
|
install cpan2rpm
|
|
run cpan2rpm DBD-DB2-1.78.tar.gz --author xCAT --version 1
|
|
export DB2_HOME=/opt/IBM/db2/V9.7
|
|
export DB2LIB=/opt/ibm/db2/V9.7/lib32
|
|
cd /usr/src/redhat/SPECS
|
|
Use the DBD-DB2.spec supplied in this directory
|
|
cp DBD-DB2.spec /usr/src/redhat/SPECS
|
|
rpmbuild -ba DBD-DB2.spec
|
|
This creates
|
|
/usr/src/redhat/RPMS/ppc64/perl-DBD-DB2-1-1.ppc64.rpm
|