[Samba] AIX: TypeError: unsupported operand type(s) for +: '_hashlib.HASH' and 'str'
BHuntsman at mail2.cu-portland.edu
Thu Jan 3 18:04:13 MST 2013
We're trying to compile Samba 4.0.0 on a fresh install of AIX 6.1 (6100-02-01-0847), with Python RPM's from perzl.org installed into /opt/freeware. We're also using XLC 12.1.
Unfortunately, we can't even run ./configure, as we're getting errors from the waf system. Here's what we get:
bash-4.2# ./configure --help
Traceback (most recent call last):
File "./buildtools/bin/waf", line 75, in <module>
File "/admin/tst/build/samba-4.0.0/buildtools/wafadmin/Scripting.py", line 9, in <module>
import Utils, Configure, Build, Logs, Options, Environment, Task
File "/admin/tst/build/samba-4.0.0/buildtools/wafadmin/Utils.py", line 134, in <module>
from hashlib import md5
File "/opt/freeware/lib/python2.6/hashlib.py", line 117, in <module>
exec funcName + ' = f'
TypeError: unsupported operand type(s) for +: '_hashlib.HASH' and 'str'
Python was installed just for this purpose, but otherwise we don't deal with it much. I'd like to be able to build as many of the Samba 4.0 features as possible, so I don't want to revert to the old toolchain, but I'm under a deadline of ~1 week, so I'll try that next if I can't get the waf system to work.
Anyone have any insight as to what we might be hanging up on?
Many many thanks in advance!!
More information about the samba