#!/bin/bash
#set -x
author:jinlongcui
wget
wget
tar xfvz subversion-1.6.12.tar.gz
tar xfvz subversion-deps-1.6.12.tar.gz
cd subversion-1.6.12/apr/
./configure --prefix=/usr/local/apr
make && make install
cd ../..
cd subversion-1.6.12/apr-util/
./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/
make && make install
cd ../..
wget
tar jxvf httpd-2.2.24.tar.bz2
cd httpd-2.2.24
./configure --enable-dav --prefix=/usr/local/apache2 --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --enable-so --enable-rewrite --enable-cgi --enable-ssl --enable-modules=all --enable-mods-shared=all
make && make install
cd ..
cd subversion-1.6.12
./configure CFLAGS=-fPIC LDFLAGS="-L/usr/lib64 -L/lib64" --prefix=/usr/local/subversion --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-apxs=/usr/local/apache2/bin/apxs --with-gnu-ld --with-zlib=/usr --with-neon=/usr/local/neon/
make && make install
阅读(1701) | 评论(0) | 转发(0) |