cvs for linux 安装+登录+下载
2016-03-29 17:48
721 查看
1、http://blog.csdn.net/superchanon/article/details/8489103
http://zhidao.baidu.com/question/189924087.html?qbl=relate_question_0&word=cvs-1.11.tar.gz%20down
1、先解压 tar -zxvf 某某.tar.gz
2、再cd 某某目录
.tar.gz一般情况下都是源代码的安装包可以执行
tar zxvf *.tar.gz解压,然后进入解压的目录执行
./configure && make && make install
也可以分开写成这样
./configure (配置)
make (编译)
make install (安装)
上面的命令每执行一次都是自动运行的,不用手动干预
d. #make
这个时候出现错误
In file included from getline.c:25:
getline.h:15: error: conflicting types for ‘getline’
/usr/include/stdio.h:673: note: previous declaration of ‘getline’ was here
getline.c:158: error: conflicting types for ‘getline’
/usr/include/stdio.h:673: note: previous declaration of ‘getline’ was here
make[2]: *** [getline.o] Error 1
make[2]: Leaving directory `/home/chanon/Softwares/JavaEE/cvs-1.11.23/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chanon/Softwares/JavaEE/cvs-1.11.23'
make: *** [all] Error 2
意思是cvs-1.11.23/lib目录下的getline.h的第15行和getline.c的第158行中函数名getline跟/usr/include/stdio.h文件中的函数名产生冲突,即是stdio.h中也声明了getline函数。为了解决这个冲突,只需把getline.h的第15行和getline.c的第158行中的函数名getline改成get_line就可以了。
重新make,通过,没有错误。
e. #make install
注意得用root权限执行,不然权限不够,某些安装的动作无法执行。
sudo make install root权限运行!!
f. 安装完成,检查是否安装成功
#cvs -v
Concurrent Versions System (CVS) 1.11.23 (client/server)
Copyright (C) 2006 Free Software Foundation, Inc.
Senior active maintainers include Larry Jones, Derek R. Price,
and Mark D. Baushke. Please see the AUTHORS and README files from the CVS distribution kit
for a complete list of contributors and copyrights.
CVS may be copied only under the terms of the GNU General Public License, a copy of which can
be found with the CVS distribution kit.
Specify the --help option for further information about CVS
1、“yang_evegreen: no such user”,原因在于CVS用户不存在;
去数字,才是正确账号
=================
tar -jxvf cvs-1.11.23.tar.bz2
cd
./configure
make
cvs -v
export CVSROOT=:pserver:xxxxx@host:/cvs
cvs login(cvs login run as Administrator)
cvs -d :pserver:xxxx@host:/cvs ocheckout projectname
==============================================
http://zhidao.baidu.com/question/189924087.html?qbl=relate_question_0&word=cvs-1.11.tar.gz%20down
1、先解压 tar -zxvf 某某.tar.gz
2、再cd 某某目录
.tar.gz一般情况下都是源代码的安装包可以执行
tar zxvf *.tar.gz解压,然后进入解压的目录执行
./configure && make && make install
也可以分开写成这样
./configure (配置)
make (编译)
make install (安装)
上面的命令每执行一次都是自动运行的,不用手动干预
d. #make
这个时候出现错误
In file included from getline.c:25:
getline.h:15: error: conflicting types for ‘getline’
/usr/include/stdio.h:673: note: previous declaration of ‘getline’ was here
getline.c:158: error: conflicting types for ‘getline’
/usr/include/stdio.h:673: note: previous declaration of ‘getline’ was here
make[2]: *** [getline.o] Error 1
make[2]: Leaving directory `/home/chanon/Softwares/JavaEE/cvs-1.11.23/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chanon/Softwares/JavaEE/cvs-1.11.23'
make: *** [all] Error 2
意思是cvs-1.11.23/lib目录下的getline.h的第15行和getline.c的第158行中函数名getline跟/usr/include/stdio.h文件中的函数名产生冲突,即是stdio.h中也声明了getline函数。为了解决这个冲突,只需把getline.h的第15行和getline.c的第158行中的函数名getline改成get_line就可以了。
重新make,通过,没有错误。
e. #make install
注意得用root权限执行,不然权限不够,某些安装的动作无法执行。
sudo make install root权限运行!!
f. 安装完成,检查是否安装成功
#cvs -v
Concurrent Versions System (CVS) 1.11.23 (client/server)
Copyright (C) 2006 Free Software Foundation, Inc.
Senior active maintainers include Larry Jones, Derek R. Price,
and Mark D. Baushke. Please see the AUTHORS and README files from the CVS distribution kit
for a complete list of contributors and copyrights.
CVS may be copied only under the terms of the GNU General Public License, a copy of which can
be found with the CVS distribution kit.
Specify the --help option for further information about CVS
1、“yang_evegreen: no such user”,原因在于CVS用户不存在;
去数字,才是正确账号
=================
tar -jxvf cvs-1.11.23.tar.bz2
cd
./configure
make
cvs -v
export CVSROOT=:pserver:xxxxx@host:/cvs
cvs login(cvs login run as Administrator)
cvs -d :pserver:xxxx@host:/cvs ocheckout projectname
==============================================
相关文章推荐
- 嵌入式Linux开发板
- linux学习基础之2.0---鸟哥私房菜linux基础1
- 嵌入式Linux开发板
- Linux多线程编程---2
- ROS launch
- Android 5.0 SELinux 增加一个设备节点
- centos 6.5 rsync+inotify 实时同步
- linux zip/unzip命令
- Linux 内存管理分析
- Linux的常用命令<1>
- Linux内核:关于中断你须要知道的
- Linux学习笔记4
- 如何查看Linux版本号
- 仿照linux dpm机制,实现自己的dpm【转】
- linux--yum-10篇
- linux dpm机制分析(下)【转】
- linux dpm机制分析(上)【转】
- OpenLDAP在LINUX下的安装说明-修订版本
- 在linux中创建samba,为Windows共享文件
- linux文件传输之SFTP和SCP