安裝jsvc
#tar xvfz jsvc.tar.gz
#cd jsvc-src
#sh support/buildconf.sh
#chmod 755 configure
#./configure --with-java=/usr/local/java
#make
OK!
#./configure --with-java=/usr/local/java
出現了如下錯誤:了吧,
configure: error: no acceptable C compiler found in $PATH
哈哈……
那是因為沒有安全GCC,趕緊安裝GCC吧
apt-get install gcc
配置環境變量
CC=gcc;export CC
OK啦,如果還出現錯誤可能是缺少了jsvcr的基礎包。