Perl로 프로그램을 설치하시겠습니까?

Perl로 프로그램을 설치하시겠습니까?

GitHub에서 GTK YouTube Viewer를 설치하려고 합니다(https://github.com/trizen/youtube-viewer) Q4OS(Debian 기반).

.zip 파일을 다운로드하고 압축을 푼 다음 새 디렉터리에서 첫 번째 명령을 실행해 보았습니다.

perl Build.PL --gtk

즉시 다음과 같은 오류가 발생했습니다.

Can't locate Module/Build.pm in @INC (you may need to install the 
Module::Build module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-
gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-
gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share
/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at 
Build.PL line 7.
BEGIN failed--compilation aborted at Build.PL line 7.

종속성이 누락된 건가요, 아니면 프로그래밍 버그인가요?

답변1

다른 곳에서 언급했듯이 다음이 필요합니다 Module::Build.

apt-get install libmodule-build-perl

그러면 Build.PL을 실행하고 다음을 만들고 설치할 수 있습니다.

perl Build.PL --gtk && ./Build && ./Build install

더 많은 종속성이 필요한 문제가 발생할 수 있지만 apt-get모듈을 설치하면 매우 간단합니다.

관련 정보