After installing otrs on a fresh 7.0-STABLE, apache22 will fail with the following error: [error] Can't locate Text/CSV.pm in @INC (@INC contains: ../../ /usr/local/otrs/Kernel/cpan-lib /usr/local/otrs/ /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 . /usr/local) at /usr/local/otrs//Kernel/System/CSV.pm line 16.\nBEGIN failed--compilation aborted at /usr/local/otrs//Kernel/System/CSV.pm line 16.\nCompilation failed in require at /usr/local/otrs//Kernel/Modules/AgentStats.pm line 17.\nBEGIN failed--compilation aborted at /usr/local/otrs//Kernel/Modules/AgentStats.pm line 17.\nCompilation failed in require at /usr/local/otrs/scripts/apache2-perl-startup.pl line 168.\nBEGIN failed--compilation aborted at /usr/local/otrs/scripts/apache2-perl-startup.pl line 168.\nCompilation failed in require at (eval 4) line 1.\n This problem was solved by manually installing the textproc/p5-Text-CSV port. The otrs port should automatically install this as a required dependency. Sorry I do not have a patch to submit :( Fix: (manually install p5-Text-CSV) cd /usr/ports/textproc/p5-Text-CSV make install (restart apache, problem solved) How-To-Repeat: 1- fresh install freebsd 2- install useful ports (apache22, openldap24, pgsql, mod_perl2, php5 + extensions) 3- install otrs from ports: cd /usr/ports/devel/otrs make install PACKAGE_BUILDING=true \ WITHOUT_MYSQL=true \ WITH_PGSQL=true \ WITH_REPORTS_MODULES=true \ WITH_SMTP=true \ WITH_LDAP=true \ WITH_ISPELL=true \ WITH_GNUPG=true 4- follow directions in /usr/local/share/doc/otrs/INSTALL, configure the system to use mod_perl2 5- apache will fail on "Can't locate Text/CSV.pm in @INC (..." as shown above
Class Changed From-To: maintainer-update->change-request Fix category (submitter is not maintainer) (via the GNATS Auto Assign Tool)
Responsible Changed From-To: freebsd-ports-bugs->skv Over to maintainer (via the GNATS Auto Assign Tool)
skv 2008-11-11 09:27:41 UTC FreeBSD ports repository Modified files: devel/otrs Makefile distinfo pkg-plist Log: - Update to 2.3.3 - Use USE_APACHE=1.3+ [1] - Add p5-Text-CSV as dependency [2] - Install DBUpgrade* scripts [3] Changes: http://lists.otrs.org/pipermail/announce/2008/000104.html PR: ports/127299 [1], ports/127094 [2] Submitted by: Velko Ivanov <vivanov xx ivanov-nest.com> [1], Mike Duchene <mp xx grymmjack.com> [2] Pointed by: Victor Balada Diaz <v.balada xx coolbleiben.net> [3] Revision Changes Path 1.18 +6 -5 ports/devel/otrs/Makefile 1.11 +3 -3 ports/devel/otrs/distinfo 1.11 +36 -0 ports/devel/otrs/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks!