For anyone that experiences this problem I had to install the apache dev files. So it appears that mod_perl will not work straight away, even though it's a dependency of the OTRS package.
Regards, David On Tue, Aug 18, 2009 at 2:06 PM, David Holder <[email protected]>wrote: > Hi, > > I have all the relevant compilers installed. > > With the example of XML::Parser I get the following: > > make[1]: *** [Expat.o] Error 1 > make[1]: Leaving directory `/root/.cpan/build/XML-Parser-2.36-0Y9l54/Expat' > make: *** [subdirs] Error 2 > MSERGEANT/XML-Parser-2.36.tar.gz > /usr/bin/make -- NOT OK > Running make test > Can't test without successful make > Running make install > Make had returned bad status, install seems impossible > Failed during this command: > MSERGEANT/XML-Parser-2.36.tar.gz : make NO > > > > On Tue, Aug 18, 2009 at 1:53 PM, <[email protected]> wrote: > >> Hi, >> >> -------- Original-Nachricht -------- >> > >> > Can you please elaborate on: >> > >> > cpan (check-module output). So I compiled >> > Apache2::Reload without errors... >> > >> >> for example >> cpan XML::Parser >> >> so it would be installed... >> >> So, you´ve make, gcc, gcc++ installed? >> ModPerl::MM? >> >> > >> > On Tue, Aug 18, 2009 at 12:47 PM, <[email protected]> wrote: >> > >> > > Hi, >> > > >> > > I´ve had the same error yesterday and I >> > > resolved all of the dependencies with >> > > cpan (check-module output). So I compiled >> > > Apache2::Reload without errors... >> > > >> > > >> > > Regards >> > > Günther >> > > >> > > -------- Original-Nachricht -------- >> > > > Datum: Tue, 18 Aug 2009 12:08:55 +0100 >> > > > Von: David Holder <[email protected]> >> > > > An: "User questions and discussions about OTRS." <[email protected]> >> > > > Betreff: Re: [otrs] Apache::DBI/Reload and Mod_Perl support >> assessment >> > > >> > > > Hi, >> > > > >> > > > Cpan Apache2::Reload returned with: >> > > > >> > > > CPAN.pm: Going to build P/PH/PHRED/Apache-Reload-0.10.tar.gz >> > > > >> > > > Can't locate ModPerl/MM.pm in @INC (@INC contains: >> > > > /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi >> > > > /usr/local/lib/perl5/site_perl/5.10.0 >> > > > /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi >> > > > /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl >> > > > /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi >> > /usr/lib/perl5/5.10.0 >> > > > /usr/lib/perl5/site_perl .) at Makefile.PL line 39. >> > > > Warning: No success on command[/usr/bin/perl Makefile.PL] >> > > > Warning (usually harmless): 'YAML' not installed, will not store >> > > > persistent >> > > > state >> > > > PHRED/Apache-Reload-0.10.tar.gz >> > > > /usr/bin/perl Makefile.PL -- NOT OK >> > > > Running make test >> > > > Make had some problems, won't test >> > > > Running make install >> > > > Make had some problems, won't install >> > > > Could not read >> '/root/.cpan/build/Apache-Reload-0.10-rW6EkL/META.yml'. >> > > > Falling back to other methods to determine prerequisites >> > > > >> > > > Have tried even with updating. >> > > > >> > > > Have ran the checkmodules script which have required modules >> missing. >> > > > Would >> > > > have thought OTRS would download the dependencies or something.... >> > > > >> > > > I assume i need to install gcc/g++ to install some of these modules? >> > > > >> > > > David >> > > > >> > > > >> > > > On Tue, Aug 18, 2009 at 11:12 AM, <[email protected]> wrote: >> > > > >> > > > > Hi, >> > > > > >> > > > > try >> > > > > >> > > > > cpan Apache2::Reload >> > > > > >> > > > > If it does not work, update your CPAN-Modules >> > > > > first with >> > > > > >> > > > > perl -MCPAN -e shell; >> > > > > >> > > > > Check your OTRS-Perl-Modules if any is outdated: >> > > > > $OTRS_HOME$\bin\otrs.checkModules >> > > > > >> > > > > Regards >> > > > > Guenther >> > > > > >> > > > > -------- Original-Nachricht -------- >> > > > > > Datum: Tue, 18 Aug 2009 11:06:28 +0100 >> > > > > > Von: David Holder <[email protected]> >> > > > > > An: "User questions and discussions about OTRS." <[email protected] >> > >> > > > > > Betreff: Re: [otrs] Apache::DBI/Reload and Mod_Perl support >> > > assessment >> > > > > >> > > > > > Just some more info >> > > > > > >> > > > > > Added the following in my httpd.conf file: >> > > > > > >> > > > > > LoadModule perl_module modules/mod_perl.so >> > > > > > >> > > > > > restarted apache and get the following in my error_log >> > > > > > >> > > > > > [Tue Aug 18 11:03:20 2009] [error] Can't locate >> Apache2/Reload.pm >> > in >> > > > @INC >> > > > > > (@INC contains: ../../ /opt/otrs/Kernel/cpan-lib /opt/otrs/ >> > > > > > >> /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi >> > > > > > /usr/local/lib/perl5/site_perl/5.10.0 >> > > > > > /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi >> > > > > > /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl >> > > > > > /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi >> > > > /usr/lib/perl5/5.10.0 >> > > > > > /usr/lib/perl5/site_perl . /etc/httpd) at (eval 105) line 3.\n >> > > > > > [Tue Aug 18 11:03:20 2009] [error] Can't load Perl module >> > > > Apache2::Reload >> > > > > > for server 127.0.0.1:0, exiting... >> > > > > > >> > > > > > Thanks.. >> > > > > > >> > > > > > David >> > > > > > >> > > > > > >> > > > > > On Tue, Aug 18, 2009 at 10:55 AM, David Holder >> > > > > > <[email protected]>wrote: >> > > > > > >> > > > > > > Hi Günther, >> > > > > > > >> > > > > > > I'm using Fedora core and no such file exists. >> > > > > > > >> > > > > > > As far as I know, Apadche2::Reload comes bundled in with >> > mod_perl. >> > > > So I >> > > > > > > don't know why this is working. >> > > > > > > >> > > > > > > Regards, >> > > > > > > >> > > > > > > David >> > > > > > > >> > > > > > > >> > > > > > > On Tue, Aug 18, 2009 at 10:05 AM, <[email protected]> >> wrote: >> > > > > > > >> > > > > > >> Hi David, >> > > > > > >> >> > > > > > >> are you using SuSE Linux? >> > > > > > >> >> > > > > > >> If so, please add the statement "perl" to >> > > > > > >> APACHE_MODULES="..." in /etc/sysconfig/apache2 >> > > > > > >> and restart. >> > > > > > >> >> > > > > > >> Please take care of installing mod_perl, DBI >> > > > > > >> and Apache2::Reload before... >> > > > > > >> >> > > > > > >> Günther >> > > > > > >> >> > > > > > >> >> > > > > > >> -------- Original-Nachricht -------- >> > > > > > >> > Datum: Sun, 16 Aug 2009 22:10:23 +0100 >> > > > > > >> > Von: David Holder <[email protected]> >> > > > > > >> > An: "User questions and discussions about OTRS." >> > <[email protected] >> > > > >> > > > > > >> > Betreff: Re: [otrs] Apache::DBI/Reload and Mod_Perl support >> > > > > > assessment >> > > > > > >> >> > > > > > >> > Hi Michiel, >> > > > > > >> > >> > > > > > >> > I've done as you've instructed, restarted my web server but >> > > still >> > > > > > it's >> > > > > > >> > coming up as critical in my support assesment. Any ideas? >> > > > > > >> > >> > > > > > >> > David >> > > > > > >> > >> > > > > > >> > Michiel Beijen wrote: >> > > > > > >> > > Hi David, >> > > > > > >> > > >> > > > > > >> > > Apart from installing Apache::DBI you would also need to >> > call >> > > > it >> > > > > > after >> > > > > > >> > > mod_perl startup and before the activation of the DBI >> > modules >> > > - >> > > > > > edit >> > > > > > >> > > |scripts/apache2-perl-startup.pl >> > > > > > >> > > >> > > > > > >> > > | >> > > > > > >> > > use Apache::DBI (); >> > > > > > >> > > >> > > > > > >> > > >> > > Apache::DBI->connect_on_init('DBI:mysql:connectionstring....'); >> > > > > > >> > > >> > > > > > >> > > See also >> > > > > > >> > > > >> > http://search.cpan.org/~abh/Apache-DBI/DBI.pm<http://search.cpan.org/%7Eabh/Apache-DBI/DBI.pm> >> <http://search.cpan.org/%7Eabh/Apache-DBI/DBI.pm> >> > > <http://search.cpan.org/%7Eabh/Apache-DBI/DBI.pm> >> > > > > <http://search.cpan.org/%7Eabh/Apache-DBI/DBI.pm> >> > > > > > >> > > <http://search.cpan.org/%7Eabh/Apache-DBI/DBI.pm> >> > > > > > >> > > >> > > > > > >> > > Regards, >> > > > > > >> > > -- >> > > > > > >> > > Michiel Beijen >> > > > > > >> > > Software Consultant >> > > > > > >> > > +31 6 - 457 42 418 >> > > > > > >> > > Bee Free IT + http://beefreeit.nl >> > > > > > >> > > >> > > > > > >> > > >> > > > > > >> > > On Sun, Aug 16, 2009 at 18:33, David Holder < >> > > > > [email protected] >> > > > > > >> > > <mailto:[email protected]>> wrote: >> > > > > > >> > > >> > > > > > >> > > Hi Everyone >> > > > > > >> > > >> > > > > > >> > > I've got OTRS installed onto a Fedora Core 11 box and >> > > would >> > > > > > like >> > > > > > >> > > to resolve these performance issues: >> > > > > > >> > > >> > > > > > >> > > Check Comment State >> > > > > > >> > > Check if the system use Apache::DBI. >> > > > > > >> > > Apache::DBI should be used to get a better >> > > > performance >> > > > > > >> (pre >> > > > > > >> > > establish database connections). Critical >> > > > > > >> > > Check if the system use >> Apache::Reload/Apache2::Reload. >> > > > > > >> > > You should use Apache::Reload or >> > Apache2::Reload >> > > to >> > > > > > >> increase your >> > > > > > >> > > performance. Critical >> > > > > > >> > > Check used mod_perl version. >> > > > > > >> > > You should use mod_perl to increase your >> > > > performance. >> > > > > > >> Critical >> > > > > > >> > > >> > > > > > >> > > >> > > > > > >> > > I have ensured that mod_perl / apache2::reload / >> > > > apache::DBI >> > > > > is >> > > > > > >> > > also installed. I know for apache::DBI requires >> > > > modification >> > > > > of >> > > > > > >> > > the config.pm <http://config.pm> file. But with the >> > > windows >> > > > > > >> > > version of OTRS the apache2::Reload and mod_perl were >> > > > turned >> > > > > on >> > > > > > by >> > > > > > >> > > default. >> > > > > > >> > > >> > > > > > >> > > Excuse my Linux n00bness, would really appreciate >> some >> > > help >> > > > > > with >> > > > > > >> > > getting these issues resolved. >> > > > > > >> > > >> > > > > > >> > > Thanks. >> > > > > > >> > > >> > > > > > >> > > David >> > > > > > >> > > >> > > > > > >> > > >> > > > > > >> > >> > > > > >> > --------------------------------------------------------------------- >> > > > > > >> > > OTRS mailing list: otrs - Webpage: http://otrs.org/ >> > > > > > >> > > Archive: http://lists.otrs.org/pipermail/otrs >> > > > > > >> > > To unsubscribe: >> > > http://lists.otrs.org/cgi-bin/listinfo/otrs >> > > > > > >> > > >> > > > > > >> > > NEW! ENTERPRISE SUBSCRIPTION - Get more information >> > NOW! >> > > > > > >> > > >> http://www.otrs.com/en/support/enterprise-subscription/ >> > > > > > >> > > >> > > > > > >> > > >> > > > > > >> > > >> > > > > > >> >> > > > > > >> > > > >> > ------------------------------------------------------------------------ >> > > > > > >> > > >> > > > > > >> > > >> > > > > > >> > --------------------------------------------------------------------- >> > > > > > >> > > OTRS mailing list: otrs - Webpage: http://otrs.org/ >> > > > > > >> > > Archive: http://lists.otrs.org/pipermail/otrs >> > > > > > >> > > To unsubscribe: >> http://lists.otrs.org/cgi-bin/listinfo/otrs >> > > > > > >> > > >> > > > > > >> > > NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! >> > > > > > >> > > http://www.otrs.com/en/support/enterprise-subscription/ >> > > > > > >> > >> > > > > > >> >> > > > > > >> -- >> > > > > > >> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! >> > > > > > >> Jetzt freischalten unter >> http://portal.gmx.net/de/go/maxdome01 >> > > > > > >> >> > > > >> --------------------------------------------------------------------- >> > > > > > >> OTRS mailing list: otrs - Webpage: http://otrs.org/ >> > > > > > >> Archive: http://lists.otrs.org/pipermail/otrs >> > > > > > >> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs >> > > > > > >> >> > > > > > >> NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! >> > > > > > >> http://www.otrs.com/en/support/enterprise-subscription/ >> > > > > > >> >> > > > > > > >> > > > > > > >> > > > > >> > > > > -- >> > > > > GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! >> > > > > Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 >> > > > > >> > --------------------------------------------------------------------- >> > > > > OTRS mailing list: otrs - Webpage: http://otrs.org/ >> > > > > Archive: http://lists.otrs.org/pipermail/otrs >> > > > > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs >> > > > > >> > > > > NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! >> > > > > http://www.otrs.com/en/support/enterprise-subscription/ >> > > > > >> > > >> > > -- >> > > GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! >> > > Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 >> > > --------------------------------------------------------------------- >> > > OTRS mailing list: otrs - Webpage: http://otrs.org/ >> > > Archive: http://lists.otrs.org/pipermail/otrs >> > > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs >> > > >> > > NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! >> > > http://www.otrs.com/en/support/enterprise-subscription/ >> > > >> >> -- >> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 - >> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser >> --------------------------------------------------------------------- >> OTRS mailing list: otrs - Webpage: http://otrs.org/ >> Archive: http://lists.otrs.org/pipermail/otrs >> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs >> >> NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! >> http://www.otrs.com/en/support/enterprise-subscription/ >> > >
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
