首页 > 系统服务 > 详细

Linux-modules software

时间:2016-04-02 18:50:40      阅读:379      评论:0      收藏:0      [点我收藏+]

简介

这里指的modules不是linux内核相关的module,只是用于软件多版本控制的一个开源软件包,比如说系统同时有python2.7和python3.5,使用modules软件就可以使得在需要的时候选择相应的软件版本.

软件地址

http://modules.sourceforge.net/(可下载源码包)

module command:http://modules.sourceforge.net/man/module.html

modulefile:http://modules.sourceforge.net/man/modulefile.html

编译安装

1)编译安装两步,一是安装tcl,二是安装modules,步骤均为configure,make,make install(./configure --help可查看configure参数)

2)需要安装tcl包,软件下载地址为http://tcl.activestate.com/,本次选择8.5.6版本,编译安装参照http://tcl.activestate.com/doc/howto/compile.html

3)然后编译安装modules要设置module的configure的--with-tcl-lib参数,如果报错“cmdModule.c:643:35: error: ‘Tcl_Interp‘ has no member named ‘errorLine‘”,configure时加上CPPFLAGS="-DUSE_INTERP_ERRORLINE"。

4)编译安装结果

技术分享

演示配置python2.7与python3.5

continue......

 

Linux-modules software

原文:http://www.cnblogs.com/loadofleaf/p/5348001.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!