GithubHelp home page GithubHelp logo

How to install pysctp on windows 7 about pysctp HOT 3 CLOSED

p1sec avatar p1sec commented on August 20, 2024
How to install pysctp on windows 7

from pysctp.

Comments (3)

 avatar commented on August 20, 2024

Hi,

After going through suggestions posted in various pages I have installed cygwin containing gcc,gdb,make & mingw. After that I tried the following options:

D:\userdata\rkommine\Desktop\pysctp-0.6>python setup.py install build --compiler=cygwin
running install
running build
running build_py
running build_ext
building '_sctp' extension
C:\cygwin\bin\gcc.exe -mcygwin -mdll -O -Wall -I. -I/usr/include -IC:\Python27\include -IC:\Python27\PC -c _sctp.c -o build\temp.wi
32-2.7\Release_sctp.o
gcc: error: unrecognized command line option '-mcygwin'
error: command 'C:\cygwin\bin\gcc.exe' failed with exit status 1

D:\userdata\rkommine\Desktop\pysctp-0.6>python setup.py install build --compiler=mingw32
running install
running build
running build_py
running build_ext
building '_sctp' extension
C:\cygwin\bin\gcc.exe -mno-cygwin -mdll -O -Wall -I. -I/usr/include -IC:\Python27\include -IC:\Python27\PC -c _sctp.c -o build\temp
win32-2.7\Release_sctp.o
gcc: error: unrecognized command line option '-mno-cygwin'
error: command 'C:\cygwin\bin\gcc.exe' failed with exit status 1

Could anyone please help on this installation issue.

Thanks in advance.

Regards,
Ramakrishna

from pysctp.

domi007 avatar domi007 commented on August 20, 2024

Hi,

Just for reference: you can fix the issue you're having by going to your Python installation (C:\Python27 for example)\Libs\distutils and open up cygwinccompiler.py and remove all occurences of -mcygwin, but it still will not help. It will say something about not being able to include net/sctp.h, and you can't really fix that:
https://www.cygwin.com/ml/cygwin/2009-02/msg00010.html

regards,
Domi

from pysctp.

p1-bmu avatar p1-bmu commented on August 20, 2024

pysctp wraps the Linux kernel SCTP socket, but Windows has no SCTP implementation matching the Linux kernel API. For this reason, pysctp won't work on Windows.

from pysctp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.