Theme by nostrich, altered by Tyches.
Text
I had a need to use good old SYSV message queues to interoperate with a bunch of old C programs, straight from python. Come in sysv_ipc module to the rescue, which works great on a variety of systems, but I need it on AIX.
Using Perzl wonderful rpm packages for AIX, I was able to compile it with GCC 4.2 and setup it into Python 2.6.
Modify common.h to unset SHM_SIZE (Obsolete step as of sysv_ipc 0.6):
#undef SHM_SIZE
enum GET_SET_IDENTIFIERS {
Export those two vars:
LDSHARED="/opt/freeware/lib/python2.6/config/ld_so_aix gcc -bI:/opt/freeware/lib/python2.6/config/python.exp"
CC="gcc"
You can then go on and:
python setup.py install [--user]
Update: common.h should not be modified anymore.