2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-22 01:21:44 +00:00
xcat-dep/perl-DBD-DB2/redhat6/Build-notes.lite
lissav 5e6c0c948b add speck and notes for DB2 lite client
Former-commit-id: 36e535e35359f4ca323b0a1ce0b00f79e718704e
2012-03-12 18:50:46 +00:00

23 lines
738 B
Plaintext

Build Notes for the perl-DBD-DB2 on RedHat6.x p-Series
DB2 must be installed on the linux machine to build the DBD
install rpm_build
install v9.7fp5_linuxppc64_dsdriver.tar.gz
Build with DBD-DB2-1.83.tar.gz from cpan. Must be this level or later
export DB2_HOME=/db2client/dsdriver/odbc_cli_driver/aix32/clidriver
export DB2LIB=/db2client/dsdriver/odbc_cli_driver/aix32/clidriver/lib
cd /usr/src/redhat/SPECS
Use the DBD-DB2Lite.spec supplied in this directory
cp DBD-DB2Lite.spec /usr/src/redhat/SPECS
rpmbuild -ba DBD-DB2.spec
This creates
/root/rpm/RPMS/ppc64/perl-DBD-DB2Lite-1-1.ppc64.rpm
Note on Redhat 6
vi /etc/ld.so.conf
add the following line
/db2client/dsdriver/odbc_cli_driver/aix32/clidriver/lib
The run ldconfig