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

install fails on Fedora 25 #12

Closed
sheepdestroyer opened this issue Feb 7, 2017 · 1 comment
Closed

install fails on Fedora 25 #12

sheepdestroyer opened this issue Feb 7, 2017 · 1 comment

Comments

@sheepdestroyer
Copy link

sheepdestroyer commented Feb 7, 2017

[sheepdestroyer@sheepivyra FreeWifi]$ sudo pip install -r requirements.txt
Collecting netifaces (from -r requirements.txt (line 1))
  Using cached netifaces-0.10.5.tar.gz
Collecting netaddr (from -r requirements.txt (line 2))
  Using cached netaddr-0.7.19-py2.py3-none-any.whl
Collecting wireless (from -r requirements.txt (line 3))
  Using cached wireless-0.3.2.tar.gz
Collecting SpoofMAC (from -r requirements.txt (line 4))
  Using cached SpoofMAC-2.1.1.tar.gz
Collecting tqdm (from -r requirements.txt (line 5))
  Using cached tqdm-4.11.2-py2.py3-none-any.whl
Collecting docopt (from SpoofMAC->-r requirements.txt (line 4))
  Using cached docopt-0.6.2.tar.gz
Installing collected packages: netifaces, netaddr, wireless, docopt, SpoofMAC, tqdm
  Running setup.py install for netifaces ... error
    Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-afoMHF/netifaces/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-EMJGTf-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_ext
    checking for getifaddrs...not found.
    checking for getnameinfo...not found.
    checking for socket IOCTLs...not found.
    checking for optional header files...none found.
    checking whether struct sockaddr has a length field...no.
    checking which sockaddr_xxx structs are defined...none!
    checking for routing socket support...no.
    checking for sysctl(CTL_NET...) support...no.
    checking for netlink support...no.
    building 'netifaces' extension
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DNETIFACES_VERSION=0.10.5 -I/usr/include/python2.7 -c netifaces.c -o build/temp.linux-x86_64-2.7/netifaces.o
    gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
    error: command 'gcc' failed with exit status 1
    
    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-afoMHF/netifaces/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-EMJGTf-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-afoMHF/netifaces/
[sheepdestroyer@sheepivyra FreeWifi]$
@sheepdestroyer
Copy link
Author

sheepdestroyer commented Feb 7, 2017

resolved, packages needed : python-devel & redhat-rpm-config

rahilwazir pushed a commit to rahilwazir/FreeWifi that referenced this issue Feb 8, 2017
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