ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » Python pywmq

Post new topic  Reply to topic Goto page Previous  1, 2
 Python pywmq « View previous topic :: View next topic » 
Author Message
bobbee
PostPosted: Mon Jul 11, 2022 1:35 pm    Post subject: Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 541
Location: Tampa

I never did get the package move to work.

The one thing stopping me was the availability of a compiler. I fixed that.

So I am running AIX 7.1 64 bit.

I execute python3 ./setup.py install and I get the following message.

Code:
root@dev1rtpmq01 /home/mqm/modules/pymq/pymqi-1.12.8] #  python3 ./setup.py install
Building PyMQI client mode 64bits
Using library_dirs:`['./lib64', '/usr/mqm/lib64']`, include:`['./inc', '/usr/mqm/inc']`, libraries:`['mqic_r']`
running install
running bdist_egg
running egg_info
writing code/pymqi.egg-info/PKG-INFO
writing dependency_links to code/pymqi.egg-info/dependency_links.txt
writing top-level names to code/pymqi.egg-info/top_level.txt
reading manifest file 'code/pymqi.egg-info/SOURCES.txt'
writing manifest file 'code/pymqi.egg-info/SOURCES.txt'
installing library code to build/bdist.aix-7105-1937-64/egg
running install_lib
running build_py
running build_ext
building 'pymqi.pymqe' extension
xlc_r -DNDEBUG -O -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64 -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -q64 -DPYQMI_BINDINGS_MODE_BUILD=0 -I./inc -I/usr/mqm/inc -I/opt/include/python3.8 -c code/pymqi/pymqe.c -o build/temp.aix-7105-1937-64-3.8/code/pymqi/pymqe.o
/opt/lib/python3.8/config-3.8/ld_so_aix xlc_r -bI:/opt/lib/python3.8/config-3.8/python.exp build/temp.aix-7105-1937-64-3.8/code/pymqi/pymqe.o -L./lib64 -L/usr/mqm/lib64 -lmqic_r -o build/lib.aix-7105-1937-64-3.8/pymqi/pymqe.cpython-38.so
ld: 0711-736 ERROR: Input file build/temp.aix-7105-1937-64-3.8/code/pymqi/pymqe.o:
        XCOFF64 object files are not allowed in 32-bit mode.
error: command '/opt/lib/python3.8/config-3.8/ld_so_aix' failed with exit status 8


The compile code is generated by the setup script. I did not have to override this on the other AIX machine.
Back to top
View user's profile Send private message Send e-mail AIM Address
bobbee
PostPosted: Mon Jul 11, 2022 1:58 pm    Post subject: Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 541
Location: Tampa

Did a little searching. Well alot. I did this and the BUILD and INSTALL worked.

Code:
export OBJECT_MODE=64
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General Discussion » Python pywmq
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.