{"action":"created","issue":{"url":"https://api.github.com/repos/toddlipcon/python-sasl/issues/10","labels_url":"https://api.github.com/repos/toddlipcon/python-sasl/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/toddlipcon/python-sasl/issues/10/comments","events_url":"https://api.github.com/repos/toddlipcon/python-sasl/issues/10/events","html_url":"https://github.com/toddlipcon/python-sasl/issues/10","id":102159004,"number":10,"title":"Wrapper uses <unistd.h>, which doesn't exist on Windows","user":{"login":"pragmattica","id":2395598,"avatar_url":"https://avatars.githubusercontent.com/u/2395598?v=3","gravatar_id":"","url":"https://api.github.com/users/pragmattica","html_url":"https://github.com/pragmattica","followers_url":"https://api.github.com/users/pragmattica/followers","following_url":"https://api.github.com/users/pragmattica/following{/other_user}","gists_url":"https://api.github.com/users/pragmattica/gists{/gist_id}","starred_url":"https://api.github.com/users/pragmattica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pragmattica/subscriptions","organizations_url":"https://api.github.com/users/pragmattica/orgs","repos_url":"https://api.github.com/users/pragmattica/repos","events_url":"https://api.github.com/users/pragmattica/events{/privacy}","received_events_url":"https://api.github.com/users/pragmattica/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-20T14:58:06Z","updated_at":"2015-11-16T12:51:54Z","closed_at":null,"body":"I'm attempting to install \"python-sasl\" on Windows (Python 2.7.10), using Visual C++ for Python and the Cyrus sasl library.\r\n\r\nI've already installed stdint.h from msinttypes.googlecode.com and Cyrus sasl 2.1.25 from ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.25.tar.gz. Installing these two sets of include files eliminated some errors, but now I've gotten to an error that's not so easy to resolve:\r\n\r\n    C:\\Users\\user.name\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Isasl -IC:\\Python27\\include -IC:\\Python27\\PC /Tpsasl/saslwrapper.cpp /Fobuild\\temp.win-amd64-2.7\\Release\\sasl/saslwrapper.obj\r\n    saslwrapper.cpp\r\n    C:\\Users\\user.name\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Include\\xlocale(342) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc\r\n    sasl/saslwrapper.cpp(25) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory\r\n\r\nIs there a proper way to install python-sasl on Windows, or is it just not supported at the moment?"},"comment":{"url":"https://api.github.com/repos/toddlipcon/python-sasl/issues/comments/157019196","html_url":"https://github.com/toddlipcon/python-sasl/issues/10#issuecomment-157019196","issue_url":"https://api.github.com/repos/toddlipcon/python-sasl/issues/10","id":157019196,"user":{"login":"kevinlegall","id":13677302,"avatar_url":"https://avatars.githubusercontent.com/u/13677302?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinlegall","html_url":"https://github.com/kevinlegall","followers_url":"https://api.github.com/users/kevinlegall/followers","following_url":"https://api.github.com/users/kevinlegall/following{/other_user}","gists_url":"https://api.github.com/users/kevinlegall/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinlegall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinlegall/subscriptions","organizations_url":"https://api.github.com/users/kevinlegall/orgs","repos_url":"https://api.github.com/users/kevinlegall/repos","events_url":"https://api.github.com/users/kevinlegall/events{/privacy}","received_events_url":"https://api.github.com/users/kevinlegall/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T12:51:54Z","updated_at":"2015-11-16T12:51:54Z","body":"I have the same original issue except that I have no idea how to fix it:\r\n\r\nsasl-0.1.3\\sasl\\saslwrapper.h(20) : fatal error C1083: Cannot open include file: 'stdint.h': No\r\nsuch file or directory\r\nerror: command 'C:\\\\Users\\\\xxx\\\\AppData\\\\Local\\\\Programs\\\\Common\\\\Microsoft\\\\Visual C++ for Python\\\\9.0\\\\VC\\\\Bin\\\\cl\r\n.exe' failed with exit status 2\r\n\r\nAny ideas on how to solve this?"}}