RT 3.0.9 And Statistics 3 web interface problem

I’m running a box with the following :-
Redhat 9.0
Perl 5.8.0
RT 3.0.9
gd-devel 2.0.15-1
gd-2.0.15-1
1)I finally managed to install GD on my system but when i click on the
links under statistics i get the error in the attachment.

  1. libgd-2-0.22-1.i386.rpm doesn’t what to install i get a message
    saying "file /usr/lib/libgd.so.2.0.0 from install of gd-2.0.15-1
    conflicts with file package libgd-2.0.22-1

stats (2.93 KB)

Phillip Leremi wrote:

I’m running a box with the following :-
Redhat 9.0
Perl 5.8.0
RT 3.0.9
gd-devel 2.0.15-1
gd-2.0.15-1
1)I finally managed to install GD on my system but when i click on the
links under statistics i get the error in the attachment.
Error say: Can’t locate file.
Did you try to locate it under this paths?
Where is file?
Statistics.pm should be shipped with tarball.

  1. libgd-2-0.22-1.i386.rpm doesn’t what to install i get a message
    saying "file /usr/lib/libgd.so.2.0.0 from install of gd-2.0.15-1
    conflicts with file package libgd-2.0.22-1
    you allready have libgd rpm installed you should use
    rpm -Uvh libgd...rpm to update lib with new rpm.
    This question is offtopic here.

the file Statistics.pm is @ ./tmp/rt3/lib/ and i did try copy this file
to /opt/rt3/local/lib/ but still it didn’t work?

Ruslan U. Zakirov wrote:

Phillip Leremi wrote:

I’m running a box with the following :-
Redhat 9.0
Perl 5.8.0
RT 3.0.9
gd-devel 2.0.15-1
gd-2.0.15-1
1)I finally managed to install GD on my system but when i click on
the links under statistics i get the error in the attachment.

Error say: Can’t locate file.
Did you try to locate it under this paths?
Where is file?
Statistics.pm should be shipped with tarball.

  1. libgd-2-0.22-1.i386.rpm doesn’t what to install i get a message
    saying "file /usr/lib/libgd.so.2.0.0 from install of gd-2.0.15-1
    conflicts with file package libgd-2.0.22-1

you allready have libgd rpm installed you should use
rpm -Uvh libgd...rpm to update lib with new rpm.
This question is offtopic here.


error: Error during compilation of
/opt/rt3/share/html/Statistics/CallsQueueDay/index.html:
Can’t locate Statistics.pm in @INC (@INC contains: /opt/rt3/local/lib
/opt/rt3/lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .
/usr/local/apache/ /usr/local/apache/lib/perl) at
/opt/rt3/share/html/Statistics/CallsQueueDay/index.html line 85.

Stack:
[/opt/rt3/share/html/Statistics/CallsQueueDay/index.html:85]
[Statistics.pm:85]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:534]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:311]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:198]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:60]
[/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265]
[/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:863]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:789]
[/opt/rt3/bin/webmux.pl:134]
[Statistics.pm:85]
BEGIN failed–compilation aborted at
/opt/rt3/share/html/Statistics/CallsQueueDay/index.html line 85.

Stack:
[/opt/rt3/share/html/Statistics/CallsQueueDay/index.html:85]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:534]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:311]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:198]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:60]
[/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265]
[/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:863]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:789]
[/opt/rt3/bin/webmux.pl:134]
[/opt/rt3/share/html/Statistics/CallsQueueDay/index.html:85]

context:

81: $weekends => $Statistics::PerDayWeekends
82: $dateformat => $Statistics::PerDayDateFormat
83: </%ARGS>
84:
85: <%INIT>
86: use Statistics;
87:
88: my $n = 0;
89: my @data = ([]);

code stack: /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:317
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:198
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:60
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:863
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:789
/opt/rt3/bin/webmux.pl:134
/dev/null:0
raw error



rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

.

Kind Regards,
Phillip
Phillip Leremi
Tel: 011 884 7633
Fax: 011 883 5805
phillip@reportstar.net

Phillip Leremi wrote:

1)I finally managed to install GD on my system but when i click on the
links under statistics i get the error in the attachment.
Error say: Can’t locate file.
Did you try to locate it under this paths?
Where is file?
Statistics.pm should be shipped with tarball.

  1. libgd-2-0.22-1.i386.rpm doesn’t what to install i get a message
    saying "file /usr/lib/libgd.so.2.0.0 from install of gd-2.0.15-1
    conflicts with file package libgd-2.0.22-1
    you allready have libgd rpm installed you should use
    rpm -Uvh libgd...rpm to update lib with new rpm.

gd and gd-devel already provide you the necessary headers, libs and shared
libs… you shouldn’t install libgd-2.0.22-1 (either you use one version
or the other…). Doing an rpm -Uvh won’t work because the package names
are different… BUT this is not a problem to you now, as far as I can
see from your report…

Paulo Matos

|Sys & Net Admin | Servi�o de Inform�tica |
|Faculdade de Ci�ncias e Tecnologia | Tel: +351-21-2948596 |
|Universidade Nova de Lisboa | Fax: +351-21-2948548 |
|P-2829-516 Caparica | e-Mail: pjsm@fct.unl.pt |


Phillip Leremi wrote:

the file Statistics.pm is @ ./tmp/rt3/lib/ and i did try copy this file
to /opt/rt3/local/lib/ but still it didn’t work?
Wrong permissions on this file. Apache has no read rights on it.

IT"S WORKING…I got it this time. what i did was that this time
i didn’t copy lib but i moved to this location /opt/rt3/local and it
worked .

Ruslan U. Zakirov wrote:

Phillip Leremi wrote:

the file Statistics.pm is @ ./tmp/rt3/lib/ and i did try copy this
file to /opt/rt3/local/lib/ but still it didn’t work?

Wrong permissions on this file. Apache has no read rights on it.

Ruslan U. Zakirov wrote:

Phillip Leremi wrote:

I’m running a box with the following :-
Redhat 9.0
Perl 5.8.0
RT 3.0.9
gd-devel 2.0.15-1
gd-2.0.15-1
1)I finally managed to install GD on my system but when i click on
the links under statistics i get the error in the attachment.

Error say: Can’t locate file.
Did you try to locate it under this paths?
Where is file?
Statistics.pm should be shipped with tarball.

  1. libgd-2-0.22-1.i386.rpm doesn’t what to install i get a message
    saying "file /usr/lib/libgd.so.2.0.0 from install of gd-2.0.15-1
    conflicts with file package libgd-2.0.22-1

you allready have libgd rpm installed you should use
rpm -Uvh libgd...rpm to update lib with new rpm.
This question is offtopic here.


error: Error during compilation of
/opt/rt3/share/html/Statistics/CallsQueueDay/index.html:
Can’t locate Statistics.pm in @INC (@INC contains:
/opt/rt3/local/lib /opt/rt3/lib
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .
/usr/local/apache/ /usr/local/apache/lib/perl) at
/opt/rt3/share/html/Statistics/CallsQueueDay/index.html line 85.

Stack:
[/opt/rt3/share/html/Statistics/CallsQueueDay/index.html:85]
[Statistics.pm:85]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:534]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:311]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:198]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:60]
[/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265]
[/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:863]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:789]
[/opt/rt3/bin/webmux.pl:134]
[Statistics.pm:85]
BEGIN failed–compilation aborted at
/opt/rt3/share/html/Statistics/CallsQueueDay/index.html line 85.

Stack:
[/opt/rt3/share/html/Statistics/CallsQueueDay/index.html:85]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:534]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:311]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:198]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:60]
[/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265]
[/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:863]
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:789]
[/opt/rt3/bin/webmux.pl:134]
[/opt/rt3/share/html/Statistics/CallsQueueDay/index.html:85]

context:

81: $weekends => $Statistics::PerDayWeekends
82: $dateformat => $Statistics::PerDayDateFormat
83: </%ARGS>
84:
85: <%INIT>
86: use Statistics;
87:
88: my $n = 0;
89: my @data = ([]);

code stack: /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:317
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:198
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:60
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:863
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:789
/opt/rt3/bin/webmux.pl:134
/dev/null:0
raw error



rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

Have you read the FAQ? The RT FAQ Manager lives at
http://fsck.com/rtfm

.

Kind Regards,
Phillip
Phillip Leremi
Tel: 011 884 7633
Fax: 011 883 5805
phillip@reportstar.net

Off the top of my head:

  1. You should have put the Statistics files into /opt/rt3/local, not /opt/rt3/share. I don’t really think that’s causing this problem, but…
  2. Hmm. Not sure how to straighten that one out, it seems to be saying that the file you’re trying to install is already installed from an rpm of the same name? (It’s early and I haven’t had much caffeine yet, but that’s how I read it).

Kelly F. Hickel
Senior Software Architect
MQSoftware, Inc
952.345.8677
kfh@mqsoftware.comFrom: Phillip Leremi [mailto:phillip@reportstar.net]
Sent: Tuesday, March 30, 2004 10:57 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] RT 3.0.9 And Statistics 3 web interface problem

I’m running a box with the following :-
Redhat 9.0
Perl 5.8.0
RT 3.0.9
gd-devel 2.0.15-1
gd-2.0.15-1
1)I finally managed to install GD on my system but when i click on the links under statistics i get the error in the attachment.

  1. libgd-2-0.22-1.i386.rpm doesn’t what to install i get a message saying "file /usr/lib/libgd.so.2.0.0 from install of gd-2.0.15-1 conflicts with file package libgd-2.0.22-1