Re: [Samba] AIX: TypeError: unsupported operand type(s) for +: '_hashlib.HASH' and 'str'
I had to build a python 2.7.3 on AIX to get the waf scripts working - the Version from Perzl has a bug... Howard I've been killing myself trying to get the reccomended Python 2.6.5 from the install_with_python.sh script to work. Even rebuilt the AIX build system with minimal packages only and nothing from perzl. Still no-go. Anyone manage to get Python 2.6.5 to build on AIX with XLC, and if so, what configure options did you use? If it pukes this one last time, I think I'll give up and try 2.7.3 like you suggest. What options did you use to build that? Were you using XLC or GCC? Thanks! -Ben -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] AIX: TypeError: unsupported operand type(s) for +: '_hashlib.HASH' and 'str'
If it pukes this one last time, I think I'll give up and try 2.7.3 like you suggest. 2.6.5 failed. I'm building Samba into /opt/samba-4.0.0. I built a private copy of 2.7.3 into /opt/samba-4.0.0/python using only the options specified in install_with_python.sh. Worked no prob. Thanks! -Ben -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] AIX: TypeError: unsupported operand type(s) for +: '_hashlib.HASH' and 'str'
Hi there! 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# pwd /admin/tst/build/samba-4.0.0 bash-4.2# ./configure --help Traceback (most recent call last): File ./buildtools/bin/waf, line 75, in module import Scripting 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' bash-4.2# 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!! -Ben -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] AIX: TypeError: unsupported operand type(s) for +: '_hashlib.HASH' and 'str'
On Fri, 2013-01-04 at 01:04 +, Benjamin Huntsman wrote: Hi there! 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# pwd /admin/tst/build/samba-4.0.0 bash-4.2# ./configure --help Traceback (most recent call last): File ./buildtools/bin/waf, line 75, in module import Scripting 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' bash-4.2# 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!! I think the next step is to change your python install to something as close to the upstream python as possible. We supply an 'install_with_python.sh' script which installs a (now old) but known working version, but you should also have reasonable luck with just the current python 2.7 http://python.org/download/releases/2.7.3/ Andrew Bartlett -- Andrew Bartletthttp://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] AIX: TypeError: unsupported operand type(s) for +: '_hashlib.HASH' and 'str'
I think the next step is to change your python install to something as close to the upstream python as possible. We supply an 'install_with_python.sh' script which installs a (now old) but known working version, but you should also have reasonable luck with just the current python 2.7 http://python.org/download/releases/2.7.3/ Andrew Bartlett -- Andrew Bartletthttp://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Hi there! Thanks for the reply!! So the install_with_python.sh script should work on AIX? Is there a recommended location for obtaining pre-built versions of Python for AIX? Many thanks!! -Ben -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba