nginx make error, when --with-http_perl_module

Maxim Dounin mdounin at mdounin.ru
Wed Jun 24 12:52:22 MSD 2009


Hello!

On Tue, Jun 23, 2009 at 10:53:34PM -0400, lankelan wrote:

> Thanks Maxim Dounin
> 
> I attached patch and make success.
> When start nginx print this error.
> 
> Can't locate nginx.pm in @INC (@INC contains: /home/elove/app/nginx/modules/perl /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .).
> BEGIN failed--compilation aborted.
> : perl_parse() failed: 2

Looks like you haven't run 'make install' and therefore there is 
no nginx.pm in that perl can found.  After 'make install' it 
should appear in /home/elove/app/nginx/modules/perl.

Maxim Dounin





More information about the nginx mailing list