Good Morning Ken,
Thanks for the quick reply.
This looks like a 32 bit machine, the reported perl version is 5.8.8. I
would have thought that perl would look inside the 5.8.5 directory.
I should have included that information in my post; The PCP rpm's are
from the OSS site. I have pasted the output from uname and perl -v
below.
Chandana
[root@server ~]# uname -a
Linux server.scgsandbox.com 2.6.9-55.0.2.EL #1 Tue Jun 26 14:08:18 EDT
2007 i686 i686 i386 GNU/Linux
[root@server ~]# perl -v
This is perl, v5.8.8 built for i686-linux
Copyright 1987-2006, Larry Wall
Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to
the
Internet, point your browser at http://www.perl.org/, the Perl Home
Page.
[root@server ~]# ls -l *.rpm
On Sat, 2011-12-31 at 05:49 +1100, Ken McDonell wrote:
> G'day Chandana.
>
> This is a genric Perl problem for the PCP bits, and not specific to the
> mysql pmda.
>
> My first guess would be that the PCP build is making 32-bit binaries
> while your Perl installation has 64-bit binaries.
>
> If you could post the output from
> $ perl -V
> that would help confirm this.
>
> And also, is this a 32-bit or 64-bit flavour of Centos 4.9?
>
> On Fri, 2011-12-30 at 22:00 +1100, Chandana De Silva wrote:
> > Hello All
> > I am trying to install the MySQL PMDA on a Centos 4.9 host, and am
> > getting the following error;
> >
> > [root@server mysql]# ls
> > Install pmdamysql.pl Remove
> > [root@server mysql]# ./Install
> > Perl PCP::PMDA module is not installed, install it and try again
> >
> > The PCP-PMDA RPM is installed;
> > [root@server mysql]# rpm -ql perl-PCP-PMDA
> > /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/PCP/PMDA.pm
> > /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/PCP/PMDA/PMDA.so
> > /usr/share/man/man3/PCP::PMDA.3pm.gz
> >
> > I notice extended directory structure, which is different from a newer
> > Fedora 16 install;
> > [chandana@fatta ~]$ rpm -ql perl-PCP-PMDA
> > /usr/lib64/perl5/vendor_perl/PCP/PMDA.pm
> > /usr/lib64/perl5/vendor_perl/auto/PCP/PMDA/PMDA.so
> > /usr/share/man/man3/PCP::PMDA.3pm.gz
> >
> >
> > I tried to symlink the 5.8.5/i386-linux-thread-multi/PCP and
> > 5.8.5/i386-linux-thread-multi/auto/PCP directories
> > to /usr/lib/perl5/vendor_perl but that did not work.
> >
> > Some help would be appreciated.
> >
> > Regards
> > Chandana
> >
> >
> > _______________________________________________
> > pcp mailing list
> > pcp@xxxxxxxxxxx
> > http://oss.sgi.com/mailman/listinfo/pcp
>
>
|