perl模块 Compress::Raw::Lzma 的安装
perl模块 Compress::Raw::Lzma 的安装
用 cpan 安装任意perl模块总是提示
Couldn't untar Compress-Raw-Lzma-2.070.tar: 'Cannot allocate memory'
可能是内存小,无奈之下 使用 cpanm ,CPANMinus 的安装,默认安装到 /usr/local/bin/cpanm
sudo curl -L http://cpanmin.us | perl - --sudo App::cpanminus
然后用 cpanm 安装 Compress::Raw::Lzma
cpanm Compress::Raw::Lzma
提示错误,无法安装,百度一圈,可能是系统中缺少 liblzma 库,
sudo apt-get install liblzma-dev
然后编译 Compress::Raw::Lzma 模块,居然成功 了,随后 cpanm IO::Compress::Lzma 一切正常
tar zxvf Compress-Raw-Lzma-2.070.tar.gz
cd Compress-Raw-Lzma-2.070
perl Makefile.PL
make
make test
make install
此外据说是 perl-modules 和 libwww-perl也有用。
sudo aptitude install perl-modules
apt-get install libwww-perl
卸载perl模块 cpanm -U Compress::Raw::Lzma
//////////////////////////////////////////////////////////////////
tar zxvf cgiproxy.latest.tar.gz
数据库名留空则不用数据库
Examples:
./nph-proxy.cgi init
./nph-proxy.cgi install-modules
./nph-proxy.cgi purge-db
./nph-proxy.cgi start-fcgi -n 1000
./nph-proxy.cgi start-server -n 1000
perl模块 Compress::Raw::Lzma 的安装的更多相关文章
- Linux下安装与使用本地的perl模块
转自 http://www.cnblogs.com/xianghang123/archive/2012/08/23/2652806.html Linux下安装与使用本地的perl模块 在使用Linux ...
- 非[无]root权限 服务器 下安装perl以及perl模块--转载
转载自http://www.zilhua.com 在本博客中,所有的软件安装都在服务器上,且无root权限.理论上适合所有的用户. 我的安装目录 cd /home/zilhua/software 1. ...
- Linux系统非root用户安装perl模块
非root权限安装perl 在使用Linux或是unix时,perl是一个非常有用的脚本的语言. 关于perl的模块安装,网上也有很多介绍,一方面可以通过不同套件自带的软件安装工具安装,一方面可以通过 ...
- Linux CPAN Perl 模块安装
当我们想使用某些Perl模块的时候,很可能会遇到当前系统不存在这个模块的情况,这时我们可以通过使用CPAN来对相应的模块进行获取,下面就介绍一下CPAN的使用方法.首先,我们可以用perl -e 'u ...
- perl 下使用非root用户安装模块
perl下安装模块可以使用cpan命令,但是通常我们不具有root用户权限,所以只能以sudo方式安装模块. 例如需要安装Net::SCP::Expect模块, 执行cpan Net::SCP::Ex ...
- perl 简单学习,安装perl模块
检查是否安装了某个perl模块 有多种方式 0.perldoc perlinstall 列出所有的模块及版本号 1. perl -M模块名 -e 1(模块名不加空格) 没有返回值则说明有此模块 2.p ...
- linux 查看是否安装perl模块
这里介绍两种linux中查看perl模块是否安装的方法,一种是对于单体的模块,一种是对于群体的. 单体验证: [root@root ~]# perl -MShell -e "print\&q ...
- linux安装perl模块
查询perl CPAN模块 shell>perl -MCPAN -e shell cpan>install module_name 手动安装perl CPAN模块 从 CPAN(h ...
- perl模块安装
转自: http://www.cnblogs.com/itech/archive/2009/08/10/1542832.html http://www.mike.org.cn/blog/index.p ...
随机推荐
- Ionic2集成ArcGIS JavaScript API.md
1. Ionic同原生ArcGIS JavaScript API结合 1.1. 安装esri-loader 在工程目录下命令行安装: npm install angular2-esri-loader ...
- 干货分享 -- Math
昼猫笔记 JavaScript -- Math Math也是JS的内置对象,但是它不是一个构造函数,它属于一个工具类不用创建对象,它封装了数学运算相关的属性和方法,今天就来写下常用的函数[API(ap ...
- SSH—指定登录的IP
设置ssh安全--指定的IP登陆 为了服务器更加具有安全性,我们可以设置ssh安全只允许用户从固定的IP进行登陆, 首先获取要登录服务器的电脑的IP地址 登录http://www.ip138.com/ ...
- 今日SGU 5.13
SGU 146 题意:就是给你一个长度为l的圈,然后你跑步,每一段给你时间t和速度v,问你最后离起点多远 收获:就是把浮点数转为整数,然后但是会出现精度误差,比如l最多四位小数,那你就加0.00001 ...
- ios in-house 公布整个过程(startssl认证)
首先大体说一下步骤: 1.申请苹果enterprise 账号 为应用生成app id,provision profile等 详见:http://www.th7.cn/Program/IOS/20131 ...
- MyBatis自动生成代码之generatorConfig配置文件及其详细解读
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE generatorConfiguratio ...
- Atcoder ABC 070 B、C、D
B - Two Switches Time limit : 2sec / Memory limit : 256MB Score : 200 points Problem Statement Alice ...
- buffer--cache 详解
- python 中文文档地址总结
sqlalchemy: https://www.imooc.com/article/details/id/22343
- PHP防止Xss攻击
mysql_real_escape_string() 所以得SQL语句如果有类似这样的写法:"select * from cdr where src =".$userId; 都要改 ...