Subject: | Apache2::Const::HTTP_BAD_REQUEST not defined |
The following error is displayed when the
Apache2::Const::HTTP_BAD_REQUEST() is called in SOAP::Transport::HTTP:
Can't locate auto/Apache2/Const/HTTP_BAD_RE.al in @INC (@INC contains:
/usr/lib/perl5/5.8.5/x86_64-linux /usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/x86_64-linux
/usr/lib/perl5/site_perl/5.8.4/x86_64-linux
/usr/lib/perl5/site_perl/5.8.3/x86_64-linux
/usr/lib/perl5/site_perl/5.8.2/x86_64-linux
/usr/lib/perl5/site_perl/5.8.1/x86_64-linux
/usr/lib/perl5/site_perl/5.8.0/x86_64-linux
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/x86_64-linux
/usr/lib/perl5/vendor_perl/5.8.4/x86_64-linux
/usr/lib/perl5/vendor_perl/5.8.3/x86_64-linux
/usr/lib/perl5/vendor_perl/5.8.2/x86_64-linux
/usr/lib/perl5/vendor_perl/5.8.1/x86_64-linux
/usr/lib/perl5/vendor_perl/5.8.0/x86_64-linux
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl . /etc/httpd) at
/usr/lib/perl5/site_perl/5.8.5/SOAP/Transport/HTTP.pm line 694
It can be fixed importing the constant:
Apache2::Const->import(-compile => 'HTTP_BAD_REQUEST');