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

最新文章

  1. linux常用命令(一)
  2. svn: Can't convert string from 'UTF-8' to native encoding 的解决办法(转)
  3. modelsim操作流程
  4. FineReport集成到AWS系统中的方案
  5. 基线 css
  6. JQuery类型转换
  7. HSV色彩空间
  8. Code First Migrations更新数据库结构(数据迁移)
  9. .net正则表达式
  10. FileOutputStream与FileInputStream互相转换
  11. ajax请求后台,返回json格式数据,模板!
  12. 使ViewStub 来提高UI的加载的性能
  13. startup毕业论文
  14. dorado抽取js
  15. javascript--苹果系统底部菜单--详细分析(转)
  16. php中的MVC模式运用
  17. 利用reverse索引优化like语句的方法详解
  18. 【Python】【自动化测试】【pytest】【常用命令行选项】
  19. C#-MVC开发微信应用(8)--菜单管理的实现
  20. intelliJ idea快捷方式

热门文章

  1. mysql日期函数及批量循环返回主键ID
  2. Go 编码问题的解决方案
  3. flex 光标(CursorManager)
  4. 超好用的谷歌浏览器、Sublime Text、Phpstorm、油猴插件合集
  5. highcharts中的x轴如何显示时分秒时间格式
  6. CODEVS——T 4189 字典
  7. RHEL7.1安装VNC
  8. [Python] Understand List Comprehensions in Python
  9. Android上玩玩Hook?
  10. BZOJ3511: 土地划分(最小割)