requests / requests-kerberos

An authentication handler for using Kerberos with Python Requests.
Other
289 stars 101 forks source link

gcc compile issue #157

Closed lainsw closed 3 years ago

lainsw commented 3 years ago

When I run

pip install requests-kerberos

I get the following error (full log file attached): pip_install_requests-kerberos.log

src/kerberosgss.c:876:12: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] outloc = mempcpy(outloc, iov[1].buffer.value, iov[1].buffer.length);

Is there a flag or something missing in my config?

Other useful information:

About This Mac:

pip --version:

gcc --version:

src/kerberosgss.c:876:12: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] outloc = mempcpy(outloc, iov[1].buffer.value, iov[1].buffer.length);

Is there a flag or something missing in my config?

jborean93 commented 3 years ago

In the upcoming 0.13.x release the Kerberos dependency has been changed to one that includes wheels for macOS removing the need to compile the libraries. They are also tested with more modern versions, unlike pykerberos so while you can still install it from source it's shouldn't be as hard anymore.