Skip to content

Wrapper uses <unistd.h>, which doesn't exist on Windows #10

Description

@pragmattica

I'm attempting to install "python-sasl" on Windows (Python 2.7.10), using Visual C++ for Python and the Cyrus sasl library.

I'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:

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
saslwrapper.cpp
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
sasl/saslwrapper.cpp(25) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory

Is there a proper way to install python-sasl on Windows, or is it just not supported at the moment?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions