现在的位置: 首页 > 综合 > 正文

在linux下安装CUnit

2014年05月05日 ⁄ 综合 ⁄ 共 441字 ⁄ 字号 评论关闭

具体每个平台的安装方法不一样,以下只是Red Hat Enterprise 4的安装方法,

其他平台请参见CUnit 的README文件

 

[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.9-78.ELsmp #1 SMP Wed Jul 9 15:39:47 EDT 2008 i686 i686 i386 GNU/Linux

[root@localhost CUnit-2.1-0]# pwd
/root/CUnit-2.1-0                                                  (README文件在该目录下)

然后运行一下命令

aclocal
autoconf
automake
chmod u+x configure
./configure --prefix /usr/local                                (这里是设置将CUnit安装到那里,根据你的需要可以修改)
make
make install

抱歉!评论已关闭.