FCGI Perl

Gordon Pettey petteyg359 at gmail.com
Sat Oct 3 01:47:43 MSD 2009


I'm trying to use the script at http://technotes.1000lines.net/?p=23
to serve .pl in /cgi-bin/ (like awstats) as FastCGI. Attempting to run
the script gives an error. I've tried with Perl 5.8.8 and 5.10.1. Both
result in the same error.

Can't locate unistd_64.ph in @INC (did you run h2ph?) (@INC contains:
/etc/perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux
/usr/lib64/perl5/vendor_perl/5.8.8 /usr/lib64/perl5/vendor_perl
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux
/usr/lib64/perl5/site_perl/5.8.8 /usr/lib64/perl5/site_perl
/usr/lib64/perl5/5.8.8/x86_64-linux /usr/lib64/perl5/5.8.8
/usr/local/lib/site_perl .) at
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/asm/unistd.ph line 8.
Compilation failed in require at
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/sys/syscall.ph line 7.
Compilation failed in require at
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/syscall.ph line 5.
Compilation failed in require at fastcgi-wrapper.pl line 9.

Is this error something that is simple to fix, or is there some other
method for serving Perl with nginx?





More information about the nginx mailing list