Comments (3)
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.
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.
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)
- sctp ppid value error HOT 4
- undefined symbol: PyString_FromStringAndSize HOT 5
- The sent packet cannot be parsed by wireshark HOT 2
- SCTP payload protocol ID argument issue HOT 2
- [Query] Received data len from sctp_recv API HOT 1
- [Query] PPID for received message? HOT 2
- bindx doesn't work with more than one address HOT 1
- SCTP keeps trying to socket-connect with a dummy IP for hours before it times out. HOT 5
- set_sndbuf doesn't work as expected HOT 2
- pypi version 0.7 is outdated HOT 3
- unable to run the code HOT 4
- Unable to install pysctp HOT 1
- How to configure source port for client HOT 1
- SCTP Server when receiving SCTP request from other subnet do not work? HOT 2
- Source address and add new address HOT 4
- CI/CD publishing to PyPi HOT 5
- Method for specifying the Payload Protocol Identifier for Data Chunk? HOT 1
- Byte-ordering is incorrect when trying to use ppid attribute of sctp_send HOT 2
- ppid field changed from 32 bits to 128 bits HOT 2
- ProcessLookupError: [Errno 3] No such process HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysctp.