Top > Linode > Cent OS 5.3 64bit > php5.3.2のコンパイル

** 方針 [#g96f3024]
/home/mysqlにインストールしたsharedライブラリをリンクさせる
/home/apacheにインストールしたapxsを使用する

** コンパイルオプション [#wec11892]
 CC="gcc -m64" ./configure  \
 --build=x86_64-centos5-linux-gnu \
 --host=x86_64-centos5-linux-gnu \
 --target=x86_64-centos5-linux-gnu \
 --program-prefix= \
 --prefix=/usr \
 --exec-prefix=/usr \
 --bindir=/usr/bin \
 --sbindir=/usr/sbin \
 --sysconfdir=/etc \
 --datadir=/usr/share \
 --includedir=/usr/include \
 --libdir=/usr/lib \
 --libexecdir=/usr/libexec \
 --localstatedir=/var \
 --sharedstatedir=/usr/com \
 --mandir=/usr/share/man \
 --infodir=/usr/share/info \
 --cache-file=../config.cache \
 --with-libdir=lib \
 --with-config-file-path=/etc \
 --with-config-file-scan-dir=/etc/php.d \
 --enable-debug \
 --with-pic \
 --disable-rpath \
 --with-pear=/usr/share/pear \
 --with-bz2 \
 --with-curl \
 --with-exec-dir=/usr/bin \
 --with-freetype-dir=/usr \
 --with-png-dir=/usr \
 --enable-gd-native-ttf \
 --without-gdbm \
 --with-gettext \
 --with-gmp \
 --with-iconv \
 --with-jpeg-dir=/usr \
 --with-openssl \
 --with-pcre-regex=/usr \
 --with-zlib \
 --with-layout=GNU \
 --enable-exif \
 --enable-ftp \
 --enable-magic-quotes \
 --enable-sockets \
 --enable-sysvsem \
 --enable-sysvshm \
 --enable-sysvmsg  \
 --enable-wddx \
 --with-kerberos \
 --enable-ucd-snmp-hack \
 --with-unixODBC=shared,/usr \
 --enable-shmop \
 --enable-calendar \
 --without-mime-magic \
 --without-sqlite \
 --with-libxml-dir=/usr \
 --enable-force-cgi-redirect \
 --enable-pcntl \
 --with-imap=shared \
 --with-imap-ssl \
 --enable-mbstring=shared \
 --enable-mbregex \
 --with-ncurses=shared \
 --with-gd=shared \
 --enable-bcmath=shared \
 --enable-dba=shared \
 --with-db4=/usr \
 --with-xmlrpc=shared \
 --with-ldap=shared \
 --with-ldap-sasl \
 --with-mysql=/home/mysql  \
 --with-mysql-sock=/tmp/mysql.sock \
 --enable-dom=shared \
 --with-snmp=shared,/usr \
 --enable-soap=shared \
 --with-xsl=shared,/usr \
 --enable-xmlreader=shared \
 --enable-xmlwriter=shared \
 --enable-fastcgi \
 --enable-pdo=shared \
 --with-pdo-odbc=shared,unixODBC,/usr \
 --with-pdo-mysql=shared,/home/mysql \
 --with-pdo-sqlite=shared,/usr \
 --enable-json=shared \
 --enable-zip=shared \
 --with-readline \
 --enable-dbase=shared \
 --with-pspell=shared \
 --with-mcrypt=shared,/usr \
 --with-mhash=shared,/usr \
 --with-tidy=shared,/usr \
 --with-apxs2=/home/apache/bin/apxs

** make test [#wcd96675]
 =====================================================================
 EXPECTED FAILED TEST SUMMARY
 ---------------------------------------------------------------------
 output buffering - fatalism [tests/output/ob_011.phpt]
 Inconsistencies when accessing protected members [Zend/tests/access_modifiers_008.phpt]
 Inconsistencies when accessing protected members - 2 [Zend/tests/access_modifiers_009.phpt]
 Bug #48770 (call_user_func_array() fails to call parent from inheriting class) [Zend/tests/bug48770.phpt]
 Bug #48770 (call_user_func_array() fails to call parent from inheriting class) [Zend/tests/bug48770_2.phpt]
 Bug #48770 (call_user_func_array() fails to call parent from inheriting class)  [Zend/tests/bug48770_3.phpt]
 SimpleXML: array casting bug [ext/simplexml/tests/034.phpt]
 =====================================================================
 
 =====================================================================
 WARNED TEST SUMMARY
 ---------------------------------------------------------------------
 via [ext/pdo_sqlite/tests/common.phpt]
         SQLite PDO Common: Bug #34630 (inserting streams as LOBs) [ext/pdo_sqlite/tests/bug_34630.phpt] (warn: XFAIL section but test passes)
 =====================================================================
 
 You may have found a problem in PHP.
 We would like to send this report automatically to the
 PHP QA team, to give us a better understanding of how
 the test cases are doing. If you don't want to send it
 immediately, you can choose "s" to save the report to
 a file that you can send us later.
 Do you want to send this report now? [Yns]: y
 
 Please enter your email address.
 (Your address will be mangled so that it will not go out on any
 mailinglist in plain text): 
 
 Posting to qa.php.net /buildtest-process.php
 
 Thank you for helping to make PHP better.

** make install [#k6fd6a81]
 [root@li96-19 php-5.3.2]# make install
 Installing PHP SAPI module:       apache2handler
 /home/apache/build/instdso.sh SH_LIBTOOL='/home/apache/build/libtool' libphp5.la /home/apache/modules
 /home/apache/build/libtool --mode=install cp libphp5.la /home/apache/modules/
 cp .libs/libphp5.so /home/apache/modules/libphp5.so
 cp .libs/libphp5.lai /home/apache/modules/libphp5.la
 libtool: install: warning: remember to run `libtool --finish /root/php/php-5.3.2/libs'
 chmod 755 /home/apache/modules/libphp5.so
 [activating module `php5' in /home/apache/conf/httpd.conf]
 Installing PHP CLI binary:        /usr/bin/
 Installing PHP CLI man page:      /usr/share/man/man1/
 Installing shared extensions:     /usr/lib/20090626-debug/
 Installing build environment:     /usr/lib/build/
 Installing header files:          /usr/include/php/
 Installing helper programs:       /usr/bin/
   program: phpize
   program: php-config
 Installing man pages:             /usr/share/man/man1/
   page: phpize.1
   page: php-config.1
 Installing PEAR environment:      /usr/share/pear/
 [PEAR] Archive_Tar    - installed: 1.3.3
 [PEAR] Console_Getopt - installed: 1.2.3
 [PEAR] Structures_Graph- installed: 1.0.2
 [PEAR] XML_Util       - installed: 1.2.1
 [PEAR] PEAR           - installed: 1.9.0
 Wrote PEAR system config file at: /etc/pear.conf
 You may want to add: /usr/share/pear to your php.ini include_path
 /root/php/php-5.3.2/build/shtool install -c ext/phar/phar.phar /usr/bin
 ln -s -f /usr/bin/phar.phar /usr/bin/phar
 Installing PDO headers:          /usr/include/php/ext/pdo/




リロード   差分   ホーム 一覧 検索 最終更新 バックアップ リンク元   ヘルプ   最終更新のRSS