| Posted on 2005-05-28 17:26:30-07 by ffsparky |
| Perl Module MQSeries-1.23 Install on AIX 5.2 |
|
I'm trying to install the perl module MQSeries-1.23 on AIX and running into a compile issue.
Here's my environment:
:oslevel
5.2.0.0
:lslpp -l | grep mq
mqm.Client.Bnd 5.3.0.1 COMMITTED WebSphere MQ Client Bundle
mqm.Server.Bnd 5.3.0.1 COMMITTED WebSphere MQ Server Bundle
mqm.base.runtime 5.3.0.8 APPLIED WebSphere MQ Runtime for
mqm.base.samples 5.3.0.8 APPLIED WebSphere MQ Samples
mqm.base.sdk 5.3.0.8 APPLIED WebSphere MQ Base Kit for
mqm.client.rte 5.3.0.8 APPLIED WebSphere MQ Client for AIX
mqm.java.rte 5.3.0.8 APPLIED WebSphere MQ Java Client and
mqm.msg.en_US 5.3.0.8 APPLIED WebSphere MQ Messages - U.S.
mqm.server.rte 5.3.0.8 APPLIED WebSphere MQ Server
mqm.base.runtime 5.3.0.8 APPLIED WebSphere MQ Runtime for
mqm.man.en_US.data 5.3.0.8 APPLIED WebSphere MQ Man Pages - U.S.
:perl -v
This is perl, v5.8.0 built for aix-thread-multi
Copyright 1987-2002, Larry Wall
So when I try and make the module:
:make install
cc_r -c -I"/usr/lpp/mqm/inc" -I../include -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUS
E_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.23\" -DXS_VERSION=\"1.23\" "-I/usr/opt/perl
5/lib/5.8.0/aix-thread-multi/CORE" MQSeries.c
"/usr/include/crypt.h", line 46.16: 1506-334 (S) Identifier crypt_data has already been defined on line 2187 of "/usr/opt/perl5/lib/
5.8.0/aix-thread-multi/CORE/perl.h".
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
I know what the problem is, but I lack the expertise on how to properly resolve it.
So what would be the best way to work around this?
Thanks
Greg Smith |
| Direct Responses: 526 | Write a response |