AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 1026097
Accepted
Crestop
Crestop
Asked: 2020-07-22 02:12:19 +0800 CST2020-07-22 02:12:19 +0800 CST 2020-07-22 02:12:19 +0800 CST

如何设置 Carton,编译 znapzend 0.20.0?

  • 772

从源代码编译时使用:

# ./configure --prefix=/opt/znapzend-0.20.0
# make 
# make install

我收到此错误: ! Couldn't find module or a distribution Carton

我可以毫无问题地从源代码编译 0.19.1 版本。我现在使用 0.19.1 有一段时间了,我对 znapzend 非常满意!谢谢你所有的工作。当我想升级到 0.20.0 时,我遇到了这个问题。

我正在使用 Ubuntu 20.04。我尝试像这样安装 Carton:

# apt install carton
# carton -v
carton v1.0.34

但是在安装 carton 后,我在编译时仍然遇到同样的错误。

自述文件包含编译版本 0.19.2 的说明,但不包含使用 carton 进行更好的依赖跟踪的版本 0.20.0 的说明。

您能否帮我提供设置 Carton 的说明,以便我可以编译 znapzend 0.20.0?

znapzend
  • 1 1 个回答
  • 96 Views

1 个回答

  • Voted
  1. Best Answer
    Crestop
    2020-07-22T08:26:14+08:002020-07-22T08:26:14+08:00

    我发现了问题。Carton 是一个 Perl 模块依赖管理器,它使用 CPAN 来安装 Perl 模块。安装 Carton 是不够的。CPAN 默认安装在 Ubuntu 中,但尚未在我的系统上配置。

    我这样配置 CPAN:

    # sudo cpan
    Loading internal logger. Log::Log4perl recommended for better logging
    
    CPAN.pm requires configuration, but most of it can be done automatically.
    If you answer 'no' below, you will enter an interactive dialog for each
    configuration option instead.
    
    Would you like to configure as much as possible automatically? [yes] 
    
    Autoconfiguration complete.
    
    commit: wrote '/root/.cpan/CPAN/MyConfig.pm'
    
    You can re-run configuration any time with 'o conf init' in the CPAN shell
    Terminal does not support AddHistory.
    

    并让它自动配置。在此之后,我可以毫无问题地编译 znapzend 0.20.0。

    • 0

相关问题

  • Znapzend 安装错误

  • znapzendzetup create 命令上的“主机密钥验证失败”

  • 如何使用 znapzendsetup 为目标服务器定义 SSH 端口

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve