Last active
September 17, 2016 01:17
-
-
Save phpdave/4953884fb12231d84ace469825295896 to your computer and use it in GitHub Desktop.
Browse Source: https://github.com/derickr/xdebug, Install instructions: https://xdebug.org/docs/all
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#1 Get source | |
git clone git://github.com/xdebug/xdebug.git | |
#change to xdebug directory | |
cd xdebug | |
#2 setup environment variables for configure and make | |
export IBM_DB_HOME=/usr | |
export PHP_HOME=/usr/local/phpdave7 | |
export PASE_TOOLS_HOME=/QOpenSys/usr | |
export AIX_TOOLS_HOME=/usr/local | |
export PATH=$PATH:$PHP_HOME/bin:$PASE_TOOLS_HOME/bin:$AIX_TOOLS_HOME/bin | |
export LIBPATH=$PHP_HOME/lib:$PASE_TOOLS_HOME/lib:$AIX_TOOLS_HOME/lib | |
export CC=gcc | |
export CFLAGS="-DPASE -I=.:$PHP_HOME/php/include" | |
export CCHOST=powerpc-ibm-aix6.1.0.0 | |
#3 Compile | |
phpize && ./configure --build=$CCHOST --host=$CCHOST --target=$CCHOST --cache-file=../config.cache && gmake && gmake test && gmake install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment