标签:
rpm -ivh jdk-7u79-linux-x64_0.rpm
export JAVA_HOME=/usr/java/jdk1.7.0_79 export PATH=$JAVA_HOME/bin:$PATH export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
mkdir /usr/ant cd /usr/ant wget -c http://mirror.bit.edu.cn/apache//ant/binaries/apache-ant-1.9.6-bin.tar.gz tar -zvxf apache-ant-1.9.6-bin.tar.gz export ANT_HOME=/usr/ant/apache-ant-1.9.6 export PATH=$ANT_HOME/bin:$PATH
wget http://ftp.gnu.org/gnu/bison/bison-2.5.1.tar.gz tar xvf bison-2.5.1.tar.gz cd bison-2.5.1 ./configure --prefix=/usr make sudo make install
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz tar xvf autoconf-2.69.tar.gz cd autoconf-2.69 ./configure --prefix=/usr make sudo make install
wget -c http://ftp.tsukuba.wide.ad.jp/software/gcc/releases/gcc-4.8.1/gcc-4.8.1.tar.gz tar -zvxf gcc-4.8.1.tar.gz cd gcc-build-4.8.1 ./contrib/download_prerequisites ./configure --enable-checking=release --enable-languages=c,c++ --disable-multilib make -j4 make install cp gcc-build-4.8.1/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6.0.18 /usr/lib ln -sf /usr/lib/libstdc++.so.6.0.18 /usr/lib64/libstdc++.so.6
wget -c http://archive.apache.org/dist/thrift/0.9.0/thrift-0.9.0.tar.gz cd thrift-0.9.0 ./configure --with-ruby=no --with-java make make install
版权声明:本文为博主原创文章,未经博主允许不得转载。
标签:
原文地址:http://blog.csdn.net/luzhengfei/article/details/47216987