vincent's Blog

一個無聊的網路雜工的紀錄!!

bzip: bzip2-1.0.3.tar.gz(http://www.bzip.org/1.0.3/bzip2-1.0.3.tar.gz)
make -f Makefile-libbz2_somake clean
make install
############################
libpng-1.2.18
http://www.libpng.org/pub/png/libpng.html
cp scripts/makefile.linux makefile make test make install ###################################
libjpeg: jpegsrc.v6b.tar.gz(http://www.ijg.org/files/jpegsrc.v6b.tar.gz)http://www.ijg.org/
Try doing ./configure make make testIf that doesn't complain, do make install #################################
gettext: gettext-0.13.tar.gz
(ftp://ftp.nctu.edu.tw/UNIX/gnu/gettext/gettext-0.16.tar.gz)http://tw.php.net/manual/en/ref.gettext.phphttp://www.gnu.org/software/gettext/
./configuremake make install
###################
freetype2: freetype-2.1.10.tar.gz
(ftp:// sourceforge.nchc.org.tw/f/fr/freetype/freetype-2.1.10.tar.gz)http://www.freetype.org/index2.html
./configuremake make install
###########################
libxml: libxml2-2.6.23.tar.gz
(http://xmlsoft.org/sources/libxml2-2.6.23.tar.gz)http://tw.php.net/manual/en/ref.libxml.phphttp://xmlsoft.org/
./configuremake make install
#############################
libcurl: curl-7.15.1.tar.gz
(http://curl.haxx.se/download/curl-7.15.1.tar.gz)
http://tw2.php.net/curlhttp://curl.haxx.se/

##################################

openssl

./config --prefix=/usr/local --openssldir=/usr/local/opensslmake make install
###########################
mysql
./configure --prefix=/usr/local/mysql5 --with-charset=big5 --with-extra-charsets=all
make && make install
useradd -s /bin/false mysql
cp support-files/my-medium.cnf /etc/my.cnf
cd /usr/local/mysql5bin/
mysql_install_db --user=mysql/usr/local/mysql5/bin/mysqladmin -u root password 'ssssss' chown -Rf mysql var; chgrp -Rf
#start mysql
mysql /usr/local/mysql5/bin/mysqld_safe --user=mysql &
#########################
httpd
./configure --prefix=/usr/local/httpd-2.2.4 \--with-mpm=prefork \--enable-cgi \--enable-dav \--enable-module=so \--enable-vhost-alias \--enable-so \--enable-ssl \--with-ssl=/usr/local/openssl \--with-z=/usr/local \--enable-http \--enable-rewrite \--enable-modules \--enable-logio \--enable-static-rotatelogs \--enable-static-logresolve \--enable-log-config \--enable-log-forensic \--enable-cache \--enable-headers \--enable-mime-magic \--enable-cern-meta \--enable-suexec \--enable-unique-id \--enable-deflate \--enable-usertrack #############################
OCI
rpm -ivh

oracle-instantclient-devel-10.2.0.3-1.i386.rpmoracle-instantclient-basic-10.2.0.3-1.i386.rpm oracle-instantclient-sqlplus-10.2.0.3-1.i386.rpm
############################
ORACLE_HOME=/oracle/product/9.2.0 ;export $ORACLE_HOMELD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:/usr/lib/oracle/10.1.0.3/client/lib ;export $LD_LIBRARY_PATH

rm -rf autom4te.cache config.cache
./buildconf --force
cp *.h ../../main/cp *.c ../../main/
vi oci.h
#define OCI_NLS_CHARSET_ID 0

./configure --prefix=/usr/local/php4 \--with-apxs2=/usr/local/httpd-2.2.4/bin/apxs \--with-zlib \--with-mysql=/usr/local/mysql5 \--with-oci8=/oracle/product/9.2.0 \--with-oci8-instant-client=/usr/lib/oracle/10.1.0.3/client/lib \--enable-sigchild \--with-config-file-path=/usr/local/httpd-2.2.4/conf/ \


make;make install
cp php.ini-dist /usr/local/httpd-2.2.4/conf/php.ini

joe /usr/local/httpd-2.2.4/bin/apachectl LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/oracle/10.2.0.3/client/lib ;export LD_LIBRARY_PATHTNS_ADMIN=/oracle/product/9.2.0/network/admin/ ;export TNS_ADMINNLS_LANG=AMERICAN_AMERICA.ZHT16BIG5 ;export $NLS_LANG

0 意見

張貼留言

Categories

追蹤者

Change Language

Your Source