2013-07-19 2 views
0

cpan 라이브러리에서 RPM을 작성하려고했습니다. 나는 아래 명령을 사용하여 RPM을 만들었다. 다른 패키지는 거의 필요 없다고합니다. 다른 패키지를 설치하려고하면 꼬리가 계속됩니다. 거기에 모든 종속성을 포함하도록 cpanspec을 요청할 수있는 현명한 방법이 있습니까? (저는 fedora 15에서 작업 중입니다)cpanspec을 사용하여 모든 종속 패키지를 포함하는 방법

[[email protected] cpanspec]# cpanspec LWP::Protocol::https -p abc --build 
error: Failed build dependencies: 
    perl(IO::Socket::SSL) >= 1.54 is needed by perl-LWP-Protocol-https-6.04-1.fc15.noarch 
    perl(LWP::UserAgent) >= 6.04 is needed by perl-LWP-Protocol-https-6.04-1.fc15.noarch 
    perl(Mozilla::CA) >= 20110101 is needed by perl-LWP-Protocol-https-6.04-1.fc15.noarch 
    perl(Net::HTTPS) >= 6 is needed by perl-LWP-Protocol-https-6.04-1.fc15.noarch 
/usr/bin/rpmbuild exited with value 1 
+0

[이 문서 (http://fedoraproject.org/wiki/Perl/cpanspec)의 외모에서 cpanspec은 의존성을 가져와야합니다. 어떤 버전의 cpanspec을 사용하고 있습니까? –

+0

cpanspec 버전 1.78을 사용하고 있습니다. 페도라 15. – Aram

답변

1

플래그를 사용하여 시도해보십시오. 이 옵션은 빌드 의존성을 처리합니다

관련 문제