3 echo "========= getting apr 0.9.x"
5 #svn export http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x apr
7 echo "========= getting apr-util 0.9.x"
9 #svn export http://svn.apache.org/repos/asf/apr/apr-util/branches/0.9.x apr-util
11 export PATH
=/bin
:/sbin
:/usr
/bin
:/usr
/sbin
:/usr
/local
/bin
13 export PKGCONFIG_M4
=/usr
/local
/share
/aclocal
/pkg.
m4
14 export PKG_CONFIG
=/usr
/local
/bin
/pkg-config
16 echo "========= autogen.sh"
17 .
/autogen.sh ||
exit $?
19 echo "========= configure"
20 .
/configure
--with-serf=/usr
/local
/serf
--with-apxs=/usr
/local
/apache
2/bin
/apxs
--with-berkely-db=/usr
/local
/BerkeleyDB
.4.3 --prefix=/Users
/lgo
/slavedir
/osx10.4
-gcc4.0
.1-ia32/build
/svninstall ||
exit $?
25 echo "========= make swig-py"
26 make swig-py ||
exit $?
28 #echo "========= make swig-pl"
29 #make swig-pl || exit $?
31 #echo "========= make swig-rb"
32 #make swig-rb || exit $?
34 echo "========= make install"
35 make install ||
exit $?
37 export PATH
=$PATH:/Users
/lgo
/svn
/bin