admin管理员组文章数量:1539097
2024年5月30日发(作者:)
linux上安装lksctp,并查看版本号
linux上安装lksctp,并查看版本号
前几天想写写sctp 代码,发现在自己的centos上没有相关的库。于是找了一下。想
下个安装包,找了半天都是ubuntu的。
最后还是一招管用呵呵----yum
在/projects/lksctp/files/ 网站上下载最新版本
(当时最新的)
解压该包,查看INSTALL 文件,里面有安装方法:
1) Download and install the following binary RPMs from the lksctp
sourceforge
website at
/project/?group_id=26529
*
*
* includes
* SCTP run-time library.
* Sample SCTP applications: sctp_darn and sctp_test.
* withsctp: a tool when used with existing TCP binaries replaces TCP
with SCTP. includes
* SCTP header file /usr/include/netinet/sctp.h
* SCTP man pages.
* Source code for sample SCTP applications.
includes
* SCTP RFC's and internet drafts. If you want to run and play with the
included sample SCTP applications or
develop your own SCTP applications, you can skip the rest of the
instructions.
.................................
另一个方法很简单:
用yum 工具
yum list lksctp* #查看相关的可用包
lksctp-tools.i686 6
@base
lksctp-tools-devel.i686 6
@base
lksctp-tools-doc.i686 用yum install 把它们都安装上,即可还有一个方法:
编译源码
首先解压源码:
#tar -xf
运行 ./bootstrap
运行 ./configure
此时生成makefie文件
呵呵呵,接下来就知道了怎么做了吧(make工具)偶尔看到的一个资源网站---
-天津大学开源软件镜像,在此分享一下:
/centos/
参考:/
版权声明:本文标题:linux上安装lksctp,并查看版本号 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1717058183a530937.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论