日期:2014-05-16  浏览次数:20624 次

在Linux下安装CUnit

具体每个平台的安装方法不一样,以下只是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