Skip to content

Commit

Permalink
Merge pull request #4834 from morozov/ibm-db2-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus authored Sep 30, 2021
2 parents 5f6c6e6 + 8c1980c commit c9527c4
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions ci/github/ext/install-ibm_db2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,18 @@ set -ex

echo "Installing extension"
(
# updating APT packages as per support recommendation
sudo apt-get -y -q update
sudo apt-get install ksh php-pear

cd /tmp

wget http://cdn1.netmake.com.br/download/Conexao/DB2/Linux/x64_v10.5fp8_linuxx64_dsdriver.tar.gz
wget https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/linuxx64_odbc_cli.tar.gz

tar xf x64_v10.5fp8_linuxx64_dsdriver.tar.gz
ksh dsdriver/installDSDriver
tar xf linuxx64_odbc_cli.tar.gz

pecl download ibm_db2
tar xf ibm_db2-*
rm ibm_db2-*.tgz
cd ibm_db2-*
phpize
./configure --with-IBM_DB2=/tmp/dsdriver
./configure --with-IBM_DB2=/tmp/clidriver
make -j "$(nproc)"
sudo make install
)

0 comments on commit c9527c4

Please sign in to comment.