Saturday, June 06, 2009

Installing the MQSeries Perl module on CentOS

Totally newbie regarding MQ, being asked to install the MQSeries Perl module on a server which already has a full blown installation of MQ, a couple of notes regarding the install.

First off, I had to install 'Params-Validate' module before hand, since it is a requirement, installing it is as simple as the traditional:

perl Makefile.PL
make
make test
make install


For the MQseries module itself things weren't as easy.
Had to edit the file 'util/parse_headers', specifically, comment the line:


} elsif (/^#endif/) {
unless (defined $conditional) {
## die "Have #endif without conditional in[$header]";
}
#print "Leaving [$conditional]\n";
$conditional = undef;
}


After that, everything went smooth.

Labels: , , ,

0 Comments:

Post a Comment

<< Home