2013-12-19 4 views
3

나는 perlbrew와 관리자를 사용하려고 시도하지만 작동하지 못합니다. 나는 그것을보고 아니에요 볼 로그에서관리자 및 perlbrew

[program:MahewinSimpleBlog] 
command = perlbrew use perl-5.14.2 && plackup -E deployment -s Starman --workers=10 -p 4000 -a bin/app.pl -D 
directory = /home/hobbestigrou/MahewinSimpleBlog 
environment = PERL5LIB ='/home/hobbestigrou/MahewinBlogEngine/lib',PERLBREW_ROOT='/home/hobbestigrou/perl5/perlbrew',PATH='/home/hobbestigrou/perl5/perlbrew/bin:/home/hobbestigrou/perl5/perlbrew/perls/perl-5.14.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games',MANPATH='/home/hobbestigrou/perl5/perlbrew/perls/perl-5.14.2/man:',PERLBREW_VERSION='0.43',PERLBREW_PERL='perl-5.14.2',PERLBREW_MANPATH='/home/hobbestigrou/perl5/perlbrew/perls/perl-5.14.2/man',PERLBREW_SKIP_INIT='1',PERLBREW_PATH='/home/hobbestigrou/perl5/perlbrew/bin:/home/hobbestigrou/perl5/perlbrew/perls/perl-5.14.2/bin',SHLVL='2' 
user = hobbestigrou 
stdout_file = /home/hobbestigrou/mahewinsimpleblog.log 
autostart = true 

: perlbrew를 들어, plackup이 내 구성 파일을 그냥 잘 이동 환경 변수를 설정했지만, 아마도 perlbrew 시작 스크립트를 만들기 위해 더 나은이며, 적당한 장소 :

Error while loading bin/app.pl: Can't locate Type/Params.pm in @INC (@INC contains: /home/hobbestigrou/MahewinSimpleBlog/lib /home/hobbestigrou/MahewinBlogEngine/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/hobbestigrou/MahewinBlogEngine/lib/MahewinBlogEngine/Article.pm line 5. 

내가 어쩌면 당신이 perlbrew 설치하면 사용이 다른 것들

+0

좋습니다. 제 잘못입니다. PERL5LIB와 그 값 사이에 여분의 공간이있었습니다. 그러나 나는 다시 문제가있다. 더 이상 오류가 없지만 내 stdout 로그에이 줄이 있습니다. 하위 쉘은 perl-5.14.2로 활성화 된 perl로 시작됩니다. 종료하려면 'exit'를 실행하십시오. 따라서 서버를 시작하지 않습니다. – Hobbestigrou

답변

1

을 수행 perlbrew 문제를 볼 수 없습니다, 당신은 당신의 .bashrc에 명령을 추가했다. 대화 형 셸이 아니기 때문에 문제의 셸에 해당 명령이 실행되지 않았기 때문에이 메시지가 나타납니다.

perlbrew use 대신 /home/hobbestigrou/perl5/perlbrew/perls/perl-5.14.2/bin/perl을 명시 적으로 사용하지 않는 이유는 무엇입니까?

+0

필자의 bashrc에 $ HOME/perl5/perlbrew/etc/bashrc 파일이있다. perlbrew는 perl-5.14.2를 사용하고이 줄 명령을 시도하면 = /home/hobbestigrou/perl5/perlbrew/perls/perl-5.14이다. 2/bin/perl /home/hobbestigrou/perl5/perlbrew/perls/perl-5.14.2/bin/plackup -E 배치 -s Starman -workers = 10 -p 4000 -a bin/app.pl -D 작동법 고마워하고 미안해. – Hobbestigrou