GD를 설치하는 데 어려움을 겪고 있습니다.cpan을 사용하여 darwin 13.0.1에 GD 모듈을 설치할 수 없습니다.
cpan[1]> install GD
Reading '/Users/me/.cpan/Metadata'
Database was generated on Sun, 21 Dec 2014 18:53:17 GMT
Running install for module 'GD'
Running make for L/LD/LDS/GD-2.56.tar.gz
Checksum for /Users/me/.cpan/sources/authors/id/L/LD/LDS/GD-2.56.tar.gz ok
Scanning cache /Users/me/.cpan/build for sizes
............................................................................DONE
CPAN.pm: Building L/LD/LDS/GD-2.56.tar.gz
Configuring for libgd version 2.0.11.
Checking for stray libgd header files...none found.
GD library used from: /usr/local
Please choose the features that match how libgd was built:
Undefined subroutine &main::prompt called at Build.PL line 169.
Warning: No success on command[/usr/bin/perl Build.PL ]
'YAML' not installed, will not store persistent state
LDS/GD-2.56.tar.gz
/usr/bin/perl Build.PL -- NOT OK
Running Build test
Make had some problems, won't test
Running Build install
Make had some problems, won't install
Could not read metadata file. Falling back to other methods to determine prerequisites
Failed during this command:
LDS/GD-2.56.tar.gz : writemakefile NO '/usr/bin/perl Build.PL ' returned status 512
: [1]> 설치 GD 펄 -MCPAN -e
내가 follwing을 오류 쉘 CPAN :이 프로그램을 실행할 때 나는 마스 OSX 10.9.2 다윈 13.0.1 을 실행하는거야
여기서'prompt'의 모든 인스턴스를 대체해야합니까? –
나는 GUI가없는 우분투 서버에'GD'를 설치할 수 없다는 문제가 있습니다. 여기에 제 질문을 던졌습니다 : http://askubuntu.com/questions/627304/cant-install-cpan-module- gd 현재 설치 스크립트가'/ usr/bin/perl'에서'Build.PL'을 호출하려는 것처럼 보이지만'Build.PL'은 없습니다. 나는'Build.PL'의 8 가지 버전을'/ root/.cpan/build /'의 8 개 서브 디렉토리에 가지고 있지만 실행 가능한 파일은 없습니다 (파일 권한에 x 플래그가 설정되지 않았습니다) –
@ A.B. 'Build.PL'에서. – Schwern