Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 2008 18:57:15 GMT
From:      Mike Duchene <mp@grymmjack.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/127094: ports/devel/otrs not installing p5-Text-CSV dependency
Message-ID:  <200809041857.m84IvFO1025617@www.freebsd.org>
Resent-Message-ID: <200809041900.m84J06tQ040088@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         127094
>Category:       ports
>Synopsis:       ports/devel/otrs not installing p5-Text-CSV dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 04 19:00:06 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Mike Duchene
>Release:        7.0-STABLE
>Organization:
>Environment:
7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Aug 19 16:45:29 EDT 2008
:/usr/obj/usr/src/sys/MYKERNEL  i386
>Description:
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 :(
>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
>Fix:
(manually install p5-Text-CSV)

cd /usr/ports/textproc/p5-Text-CSV
make install

(restart apache, problem solved)

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809041857.m84IvFO1025617>