[rt-users] FCGI module missing when configured for fastcgi handler
Darren Spruell
phatbuckett at gmail.com
Sat Feb 22 21:10:19 EST 2014
Not sure why I'm running into missing module when using default web
handler of fastcgi for RT 4.2.3...
Configuring RT using default (inmplicit) or explicitly specifying
handler, same thing occurs:
$ ./configure --with-web-handler=fastcgi --enable-gd --with-db-type=Pg
## No mention of FCGI library and reports OK; should report
$ make testdeps
/usr/bin/perl ./sbin/rt-test-dependencies --verbose --with-Pg
perl:
>=5.10.1(5.12.2) ...found
users:
rt group (rt) ...found
bin owner (root) ...found
libs owner (root) ...found
libs group (bin) ...found
web owner (www) ...found
web group (www) ...found
CLI dependencies:
Text::ParseWords ...found
Term::ReadKey ...found
Getopt::Long >= 2.24 ...found
HTTP::Request::Common ...found
Term::ReadLine ...found
LWP ...found
CORE dependencies:
Storable >= 2.08 ...found
Encode >= 2.39 ...found
Crypt::Eksblowfish ...found
Module::Versions::Report >= 1.05 ...found
List::MoreUtils ...found
Errno ...found
DBI >= 1.37 ...found
Devel::StackTrace >= 1.19 ...found
HTTP::Message >= 6.0 ...found
Text::Password::Pronounceable ...found
Devel::GlobalDestruction ...found
Time::ParseDate ...found
IPC::Run3 ...found
Tree::Simple >= 1.04 ...found
HTML::Scrubber >= 0.08 ...found
HTML::Quoted ...found
Sys::Syslog >= 0.16 ...found
Mail::Mailer >= 1.57 ...found
Data::GUID ...found
HTML::Mason >= 1.43 ...found
HTML::Entities ...found
LWP::Simple ...found
Symbol::Global::Name >= 0.04 ...found
DateTime::Format::Natural >= 0.67 ...found
Plack >= 1.0002 ...found
File::Glob ...found
Class::Accessor >= 0.34 ...found
Text::Wrapper ...found
Regexp::Common::net::CIDR ...found
Log::Dispatch >= 2.30 ...found
HTML::FormatText::WithLinks::AndTables ...found
DateTime >= 0.44 ...found
CGI::Emulate::PSGI ...found
Text::Quoted >= 2.07 ...found
Regexp::IPv6 ...found
CGI >= 3.38 ...found
CSS::Squish >= 0.06 ...found
DateTime::Locale >= 0.40 ...found
CGI::PSGI >= 0.12 ...found
Apache::Session >= 1.53 ...found
Date::Extract >= 0.02 ...found
Digest::SHA ...found
HTML::Mason::PSGIHandler >= 0.52 ...found
MIME::Entity >= 5.504 ...found
Locale::Maketext::Lexicon >= 0.32 ...found
Module::Refresh >= 0.03 ...found
Role::Basic >= 0.12 ...found
Digest::base ...found
File::Temp >= 0.19 ...found
Date::Manip ...found
Locale::Maketext >= 1.06 ...found
HTML::RewriteAttributes >= 0.05 ...found
Text::Template >= 1.44 ...found
CGI::Cookie >= 1.20 ...found
Scalar::Util ...found
XML::RSS >= 1.05 ...found
File::Spec >= 0.8 ...found
Text::WikiFormat >= 0.76 ...found
DBIx::SearchBuilder >= 1.65 ...found
File::ShareDir ...found
Regexp::Common ...found
Digest::MD5 >= 2.27 ...found
HTML::FormatText::WithLinks >= 0.14 ...found
Mail::Header >= 2.12 ...found
Locale::Maketext::Fuzzy >= 0.11 ...found
Time::HiRes ...found
Email::Address::List ...found
Net::CIDR ...found
JSON ...found
UNIVERSAL::require ...found
Email::Address >= 1.897 ...found
Plack::Handler::Starlet ...found
DASHBOARDS dependencies:
URI::QueryParam ...found
URI >= 1.59 ...found
MIME::Types ...found
GD dependencies:
GD::Text ...found
GD ...found
GD::Graph >= 1.47 ...found
GPG dependencies:
File::Which ...found
PerlIO::eol ...found
GnuPG::Interface ...found
ICAL dependencies:
Data::ICal ...found
MAILGATE dependencies:
Pod::Usage ...found
LWP::UserAgent >= 6.0 ...found
Crypt::SSLeay ...found
Getopt::Long ...found
Net::SSL ...found
LWP::Protocol::https ...found
Mozilla::CA ...found
PG dependencies:
DBD::Pg >= 1.43 ...found
SMIME dependencies:
String::ShellQuote ...found
File::Which ...found
Crypt::X509 ...found
USERLOGO dependencies:
Convert::Color ...found
All dependencies have been found.
$ sudo spawn-fcgi -n -u www -g rt -a 127.0.0.1 -p 9000 --
/opt/rt4/sbin/rt-server.fcgi
Password:
defined(%hash) is deprecated at
/usr/local/libdata/perl5/site_perl/Locale/Maketext/Lexicon.pm line
281.
(Maybe you should just omit the defined()?)
[14326] [Sun Feb 23 01:37:56 2014] [critical]: Something went wrong
while trying to run RT's standalone web server:
Can't locate FCGI.pm in @INC (@INC contains:
/opt/rt4/sbin/../local/lib /opt/rt4/sbin/../lib
/usr/local/libdata/perl5/site_perl/i386-openbsd
/usr/libdata/perl5/site_perl/i386-openbsd
/usr/local/libdata/perl5/site_perl /usr/libdata/perl5/site_perl
/usr/libdata/perl5/i386-openbsd/5.12.2 /usr/libdata/perl5
/usr/local/libdata/perl5 .) at
/usr/local/libdata/perl5/site_perl/Plack/Handler/FCGI.pm line 8.
BEGIN failed--compilation aborted at
/usr/local/libdata/perl5/site_perl/Plack/Handler/FCGI.pm line 8.
Compilation failed in require at
/usr/local/libdata/perl5/site_perl/Plack/Util.pm line 23.
(/opt/rt4/sbin/../lib/RT.pm:393)
Something went wrong while trying to run RT's standalone web server:
Can't locate FCGI.pm in @INC (@INC contains:
/opt/rt4/sbin/../local/lib /opt/rt4/sbin/../lib
/usr/local/libdata/perl5/site_perl/i386-openbsd
/usr/libdata/perl5/site_perl/i386-openbsd
/usr/local/libdata/perl5/site_perl /usr/libdata/perl5/site_perl
/usr/libdata/perl5/i386-openbsd/5.12.2 /usr/libdata/perl5
/usr/local/libdata/perl5 .) at
/usr/local/libdata/perl5/site_perl/Plack/Handler/FCGI.pm line 8.
BEGIN failed--compilation aborted at
/usr/local/libdata/perl5/site_perl/Plack/Handler/FCGI.pm line 8.
Compilation failed in require at
/usr/local/libdata/perl5/site_perl/Plack/Util.pm line 23.a
Installing FCGI from cpan fixes this as expected, but is there a
reason the dependency wasn't picked up at testdeps phase?
--
Darren Spruell
phatbuckett at gmail.com
More information about the rt-users
mailing list