[OmniOS-discuss] Python and Kerberos libraries

Gordon Selisek gordon at hafnia.dk
Wed Jun 8 16:03:43 UTC 2016


Dan,



Tried with your recommendation, I'm really stuck here, now it fails like this:





root at omnitest:/root# pip install pywinrm[kerberos] 

Requirement already satisfied (use --upgrade to upgrade): pywinrm[kerberos] in /           opt/python27/lib/python2.7/site-packages 

Requirement already satisfied (use --upgrade to upgrade): xmltodict in /opt/pyth           on27/lib/python2.7/site-packages (from pywinrm[kerberos]) 

Requirement already satisfied (use --upgrade to upgrade): requests>=2.9.1 in /op           t/python27/lib/python2.7/site-packages (from pywinrm[kerberos]) 

Requirement already satisfied (use --upgrade to upgrade): six in /opt/python27/l           ib/python2.7/site-packages (from pywinrm[kerberos]) 

Requirement already satisfied (use --upgrade to upgrade): requests-ntlm>=0.3.0 i           n /opt/python27/lib/python2.7/site-packages (from pywinrm[kerberos]) 

Collecting requests-kerberos>=0.10.0; extra == "kerberos" (from pywinrm[kerberos           ]) 

Using cached requests_kerberos-0.10.0-py2.py3-none-any.whl 

Requirement already satisfied (use --upgrade to upgrade): python-ntlm3 in /opt/p           ython27/lib/python2.7/site-packages (from requests-ntlm>=0.3.0->pywinrm[kerberos           ]) 

Collecting pykerberos<2.0.0,>=1.1.8; sys_platform != "win32" (from requests-kerb           eros>=0.10.0; extra == "kerberos"->pywinrm[kerberos]) 

Using cached pykerberos-1.1.13.tar.gz 

Complete output from command python setup.py egg_info: 

Traceback (most recent call last): 

File "<string>", line 1, in <module> 

File "/tmp/pip-build-3gE8gK/pykerberos/setup.py", line 52, in <module> 

extra_link_args = check_krb5_config("--libs", "gssapi") 

File "/tmp/pip-build-3gE8gK/pykerberos/setup.py", line 36, in check_krb5_c           onfig 

raise subprocess.CalledProcessError(retcode, cmd, output=output) 

subprocess.CalledProcessError: Command 'krb5-config' returned non-zero exit            status 1 



---------------------------------------- 

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3g           E8gK/pykerberos/ 









---- On Tue, 07 Jun 2016 22:26:37 +0200 Dan McDonald <danmcd at omniti.com>wrote ---- 




I'd recommend installing a modern python. The built-in one for OmniOS is specifically for pkg(5) and other OmniOS-only tools. 

 

The ms.omniti.com IPS server has a python27, e.g. 

 

bloody(~)[1]% pkg search python27 

INDEX ACTION VALUE PACKAGE 

basename dir opt/python27 pkg:/omniti/runtime/python-27 at 2.7.6-0.151008 

basename dir opt/python27 pkg:/omniti/runtime/python-27 at 2.7.6-0.151012 

basename dir opt/python27 pkg:/omniti/runtime/python-27 at 2.7.6-0.151014 

basename dir opt/python27 pkg:/omniti/library/python-2/docutils at 0.11-0.151014 

basename dir opt/omni/lib/amd64/graphviz/python27 pkg:/omniti/image/graphviz at 2.28.0-0.151002 

basename dir opt/python27 pkg:/omniti/library/python-2/docutils at 0.11-0.151014 

basename dir opt/python27 pkg:/omniti/library/python-27/psycopg2 at 2.4.5-0.151006 

basename dir opt/python27 pkg:/omniti/runtime/python-27 at 2.7.6-0.151006 

basename dir opt/python27 pkg:/omniti/library/python-27/psycopg2 at 2.4.5-0.151014 

bloody(~)[0]% pkg publisher 

PUBLISHER TYPE STATUS P LOCATION 

omnios origin online F file:///export/home/builder/builder.repo/ 

ms.omniti.com origin online F http://pkg.omniti.com/omniti-ms/ 

bloody(~)[0]% 

 

 

Dan 

 






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20160608/65c42bcd/attachment.html>


More information about the OmniOS-discuss mailing list