Build and Compile

Assumes: http://yips.idevcloud.com/wiki/index.php/PASE/GCCNote: Must be built on IBM i v7.1 in order to work on v7.1 and v7.2.
Note: This is only necessary if you are looking to actually build the driver with a C compiler. If you just want to install the precompiled driver then go to the Install section in this document.

Best practice is to build/compile into directory other than /PowerRuby. File zzall_ibm_i.sh accomplishes a different install location by default (i.e. /ruby/gemsets/ruby-ibm_db).

ibm_db-2.5.14-powerpc-aix-6.gem - "Fat gem" created with gem compile ... that includes C binaries. This file is meant to be renamed to have the OS version and PowerRuby version included and is meant for distribution. i.e. ibm_db-2.5.14-powerpc-aix-6_v7.1_prV20.gem.

Distribution

Increment ruby-ibm_db/IBM_DB_Adapter/ibm_db/version.txt. Do NOT change the version of the actual gem itself.

Rename final distributable to include IBM i OS version and version of PowerRuby this was compiled with.