Skip to content

Commit

Permalink
不编译 libtasn1,ocserv 0.10.4 已经兼容 CentOS 7 默认的 libtasn1 版本。
Browse files Browse the repository at this point in the history
  • Loading branch information
travislee89 committed May 23, 2015
1 parent 756eb49 commit d616fab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ocserv-install-script-for-centos7.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,14 @@ function CompileOcserv {
http-parser-devel http-parser protobuf-c-devel protobuf-c \
pcllib-devel pcllib cyrus-sasl-gssapi dbus-devel

:<<_EOF_
wget -t 0 -T 60 "http://ftp.gnu.org/gnu/libtasn1/libtasn1-${libtasn1_version}.tar.gz"
tar axf libtasn1-${libtasn1_version}.tar.gz
cd libtasn1-${libtasn1_version}
./configure --prefix=/usr --libdir=/usr/lib64 --includedir=/usr/include
make && make install
cd ..
_EOF_

#增加libgnutls环境变量
##export LIBGNUTLS_CFLAGS="-I/usr/include/" LIBGNUTLS_LIBS="-L/usr/lib/ -lgnutls"
Expand Down

0 comments on commit d616fab

Please sign in to comment.