Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing when trying to install sctp in MAC OS 14.5.1 (Sonoma) #52

Open
AmarisKome opened this issue Aug 12, 2024 · 0 comments
Open

Failing when trying to install sctp in MAC OS 14.5.1 (Sonoma) #52

AmarisKome opened this issue Aug 12, 2024 · 0 comments

Comments

@AmarisKome
Copy link

Everytime I've tried to install the sctp setup in my laptop is throwing the following error:

% sudo python3 setup.py install
Password:
running install
running bdist_egg
running egg_info
writing pysctp.egg-info/PKG-INFO
writing dependency_links to pysctp.egg-info/dependency_links.txt
writing top-level names to pysctp.egg-info/top_level.txt
reading manifest file 'pysctp.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'TODO'
writing manifest file 'pysctp.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.9-universal2/egg
running install_lib
running build_py
running build_ext
building '_sctp' extension
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Wno-error=unreachable-code -I. -I/usr/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/include/python3.9 -c _sctp.c -o build/temp.macosx-10.9-universal2-3.9/_sctp.o
_sctp.c:27:10: fatal error: 'netinet/sctp.h' file not found
#include <netinet/sctp.h>
^~~~~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1

Has anyone found any workaround for this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant