- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
系统是 Ubuntu。/usr/bin/中有一个 perl,版本是 5.18.2。
在这种状态下,我尝试通过“sudo apt-get install **”安装了很多软件,一切正常。
但是几天前,我在另一个安装了一个新的 perl
目录(/share/Software/perl-5.26.0/bin/perl)。我删除了原来的 perl,然后将新的 perl 链接到/use/bin/。命令是:
sudo mv /usr/bin/perl /usr/bin/old/; (the old/ directory was make before)
sudo ln -s /share/Software/perl-5.26.0/bin/perl /usr/bin/perl
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
debconf: Perl may be unconfigured (Can't locate Debconf/Log.pm in @INC (you may need to install the Debconf::Log module) (@INC contains: /share/Software/perl-5.26.0/lib/site_perl/5.26.0/x86_64-linux /share/Software/perl-5.26.0/lib/site_perl/5.26.0 /share/Software/perl-5.26.0/lib/5.26.0/x86_64-linux /share/Software/perl-5.26.0/lib/5.26.0) at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
Setting up doc-base (0.10.5) ...
Can't locate Debian/DocBase/Common.pm in @INC (you may need to install the Debian::DocBase::Common module) (@INC contains: /share/Software/perl-5.26.0/lib/site_perl/5.26.0/x86_64-linux /share/Software/perl-5.26.0/lib/site_perl/5.26.0 /share/Software/perl-5.26.0/lib/5.26.0/x86_64-linux /share/Software/perl-5.26.0/lib/5.26.0) at /usr/sbin/install-docs line 8.
BEGIN failed--compilation aborted at /usr/sbin/install-docs line 8.
Useless use of single ref constructor in void context at op/gv.t line 1191.
In file included from ../../../../perl.h:5644:0,
from ExtTest.xs:2:
ExtTest.c: In function ‘XS_ExtTest_constant’:
../../../../embed.h:691:40: warning: ‘pv’ may be used uninitialized in this function [-Wmaybe-uninitialized]
#define sv_setpvn(a,b,c) Perl_sv_setpvn(aTHX_ a,b,c)
^
ExtTest.xs:420:14: note: ‘pv’ was declared here
const char *pv;
^
In file included from ../../../../perl.h:5644:0,
from ExtTest.xs:2:
../../../../embed.h:691:40: warning: ‘iv’ may be used uninitialized in this function [-Wmaybe-uninitialized]
#define sv_setpvn(a,b,c) Perl_sv_setpvn(aTHX_ a,b,c)
^
ExtTest.xs:418:6: note: ‘iv’ was declared here
IV iv;
^
In file included from ../../../../perl.h:5644:0,
from ExtTest.xs:2:
ExtTest.c: In function ‘XS_ExtTest_constant’:
../../../../embed.h:691:40: warning: ‘pv’ may be used uninitialized in this function [-Wmaybe-uninitialized]
#define sv_setpvn(a,b,c) Perl_sv_setpvn(aTHX_ a,b,c)
^
ExtTest.xs:194:14: note: ‘pv’ was declared here
const char *pv;
^
In file included from ../../../../perl.h:5644:0,
from ExtTest.xs:2:
ExtTest.c: In function ‘XS_ExtTest_constant’:
../../../../embed.h:675:42: warning: ‘iv’ may be used uninitialized in this function [-Wmaybe-uninitialized]
#define sv_setiv_mg(a,b) Perl_sv_setiv_mg(aTHX_ a,b)
^
ExtTest.xs:166:6: note: ‘iv’ was declared here
IV iv;
^
# Failed test 'cp updated mtime'
# at t/cp.t line 26.
# '38'
# <=
# '1'
# Looks like you failed 1 test of 1.
Request to remove file /share/Software/perl-5.26.0-src/cpan/File-Temp/suffixOEXZVr.dat could not be completed since it is not there!
at t/mktemp.t line 75.
# parser guessed wrong encoding expected 'CP1252' got 'UTF-8'
# Failed test 'File 1 atime set correctly'
# at t/utime.t line 113.
# '37.684463262558'
# <
# '0.1'
# Failed test 'File 1 mtime set correctly'
# at t/utime.t line 114.
# '37.684463262558'
# <
# '0.1'
# Failed test 'File 2 atime set correctly'
# at t/utime.t line 118.
# '37.684463262558'
# <
# '0.1'
# Failed test 'File 2 mtime set correctly'
# at t/utime.t line 119.
# '37.684463262558'
# <
# '0.1'
# Looks like you failed 4 tests of 18.
Can't open copy1-87150: Permission denied at ../lib/File/Copy.t line 326.
# Looks like your test exited with 13 just after 366.
Failed 3 tests out of 2449, 99.88% okay.
### Since not all tests were successful, you may want to run some of
### them individually and examine any diagnostic messages they produce.
### See the INSTALL document's section on "make test".
### You have a good chance to get more information by running
### ./perl harness
### in the 't' directory since most (>=80%) of the tests succeeded.
### You may have to set your dynamic library search path,
### LD_LIBRARY_PATH, to point to the build directory:
### setenv LD_LIBRARY_PATH `pwd`:$LD_LIBRARY_PATH; cd t; ./perl harness
### LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd t; ./perl harness
### export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; cd t; ./perl harness
### for csh-style shells, like tcsh; or for traditional/modern
### Bourne-style shells, like bash, ksh, and zsh, respectively.
make: *** [test] Error 1
最佳答案
每个 Perl 都用几个 @INC
编译它将在其中搜索模块的目录。错误消息说明搜索了哪些目录:
@INC contains:
/share/Software/perl-5.26.0/lib/site_perl/5.26.0/x86_64-linux
/share/Software/perl-5.26.0/lib/site_perl/5.26.0
/share/Software/perl-5.26.0/lib/5.26.0/x86_64-linux
/share/Software/perl-5.26.0/lib/5.26.0
/usr/lib
下.
perlbrew
.将自定义 Perl 添加到 PATH 是安全的,例如通过
perlbrew switch
.这还将修复第二个 Perl 工作所需的几个额外的环境变量。
关于perl - 为什么会出现 "Can not locate Debconf/Log.pm in @INC"问题?我刚刚将/usr/bin/perl 修改为我安装的 perl,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46487591/
- name: Generate required locales locale_gen: name: "{{ item }}" state: present with_items: -
我有一个包裹,我们称之为富 ,它具有依赖关系,而依赖关系又依赖于后缀。我正在尝试自动安装 富 通过使用 debconf 回答问题。 的要求富 是它必须能够安装和配置所有东西,并且必须使用 sudo a
有两种方法可以将 debconf 设置为非交互式运行: ENV DEBIAN_FRONTEND noninteractive RUN echo 'debconf debconf/frontend se
我已成功为 Ubuntu 创建 .deb 安装文件,但我需要用户输入才能完成安装后脚本的配置。这些问题是动态的,并且基于用户在其计算机上的界面。 在 Ubuntu 软件中心使用 debconf 的安装
尝试为 postfix 无人值守安装收集预置条目。在 postfix 手动安装后,我使用如下 debconf-get-selections 但输出为零。知道这里有什么失败吗? root@pzi-ub-
我在带有 ARMv8 架构的 QEMU 上运行 Debian。 root@debian:/home/kennedy# apt-get -f install Reading package lists.
我正在使用 packer 构建我自己的 ubuntu VM主持Atlas我正在使用 packer build template.json 来测试如果我使用 packer push template.j
我有非常简单的 Dockerfile FROM ubuntu:14.04 MAINTAINER XXX ARG DEBIAN_FRONTEND=noninteractive RUN sudo apt
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 这个问题似乎不是关于 a specific programming problem, a softwa
我正在设置一个 bash 脚本来自动构建 LAMP 环境。 我正在使用 debconf-set-selections 在安装 mysql、phpmyadmin 等之前设置选项 ... 主要是效果很好。
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 这个问题似乎不是关于 a specific programming problem, a softwar
我正在尝试在 Ansible 中自动执行 Debian 上的 exim4 配置 —— 到目前为止我们一直在手动配置 —— 但我陷入了正常运行的阶段 dpkg-reconfigure exim4-配置。
嘿嘿。 所以我在我的树莓派上安装了 Debian,一切都很顺利,但在某个时候我的 apt-get 坏了。现在,每当我尝试安装或删除任何东西时,它都会失败并返回如下错误消息: debconf: Perl
尝试在 google cloud datalab 的 Notebook 上安装 basemap 包时 我收到以下错误。我想绘制图形,但似乎未安装 basemap 。 %bash echo 'Y' |
系统是 Ubuntu。/usr/bin/中有一个 perl,版本是 5.18.2。 在这种状态下,我尝试通过“sudo apt-get install **”安装了很多软件,一切正常。 但是几天前,我
我是一名优秀的程序员,十分优秀!