【笔记】distcc分布式编译
【今日推荐】:为什么一到面试就懵逼!>>> distcc 分布式编译 1) 编译安装 # 下载"distcc-3.2rc1.tar.bz2" tar jxvf distcc-3.2rc1.tar.bz2 # 前提:需要安装python支持,见"Issue 1" yum install python python-devel cd distcc-3.2rc1 # 编译安装 ./configure \ --prefix=/usr/local/distcc-3.2 \ --with-gtk # 加"--with-gtk"以生成GNOME监测器 make CFLAGS='-Wno-error=unused-but-set-variable' # "Issue 2" make install # 添加环境变量,以便终端执行 vi /etc/profile # 添加"/usr/local/distcc-3.2/bin" source /etc/profile # 添加帮助手册,以便查看 vi /etc/man.config # 添加"MANPATH /usr/local/distcc-3.2/share/man" man distccd man distcc # 修改配置,"make install"的没用 # vi /usr/local/distcc-3.2/etc/default