{"action":"created","issue":{"url":"https://api.github.com/repos/hatRiot/zarp/issues/25","repository_url":"https://api.github.com/repos/hatRiot/zarp","labels_url":"https://api.github.com/repos/hatRiot/zarp/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/hatRiot/zarp/issues/25/comments","events_url":"https://api.github.com/repos/hatRiot/zarp/issues/25/events","html_url":"https://github.com/hatRiot/zarp/issues/25","id":90632226,"number":25,"title":"Can't install Zarp OS X 10.10","user":{"login":"nntoan","id":3891429,"avatar_url":"https://avatars.githubusercontent.com/u/3891429?v=3","gravatar_id":"","url":"https://api.github.com/users/nntoan","html_url":"https://github.com/nntoan","followers_url":"https://api.github.com/users/nntoan/followers","following_url":"https://api.github.com/users/nntoan/following{/other_user}","gists_url":"https://api.github.com/users/nntoan/gists{/gist_id}","starred_url":"https://api.github.com/users/nntoan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nntoan/subscriptions","organizations_url":"https://api.github.com/users/nntoan/orgs","repos_url":"https://api.github.com/users/nntoan/repos","events_url":"https://api.github.com/users/nntoan/events{/privacy}","received_events_url":"https://api.github.com/users/nntoan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-24T10:12:10Z","updated_at":"2016-05-24T01:14:31Z","closed_at":null,"body":"I'm using Homebrew Python 2.7\r\n\r\nAfter execute this command\r\n```bash\r\npip install -r requirements.txt\r\n```\r\n\r\nI got this\r\n\r\n```\r\nOpenSSL/crypto/crl.c:6:23: error: static declaration of 'X509_REVOKED_dup' follows non-static declaration\r\n    static X509_REVOKED * X509_REVOKED_dup(X509_REVOKED *orig) {\r\n                          ^\r\n    /usr/local/opt/openssl/include/openssl/x509.h:751:15: note: previous declaration is here\r\n    X509_REVOKED *X509_REVOKED_dup(X509_REVOKED *rev);\r\n                  ^\r\n    1 error generated.\r\n    error: command 'clang' failed with exit status 1\r\n\r\n    ----------------------------------------\r\nCommand \"/usr/local/opt/python/bin/python2.7 -c \"import setuptools, tokenize;__file__='/private/tmp/pip-build-mk9jH8/pyOpenSSL/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-WMIzPp-record/install-record.txt --single-version-externally-managed --compile\" failed with error code 1 in /private/tmp/pip-build-mk9jH8/pyOpenSSL\r\n```"},"comment":{"url":"https://api.github.com/repos/hatRiot/zarp/issues/comments/221140706","html_url":"https://github.com/hatRiot/zarp/issues/25#issuecomment-221140706","issue_url":"https://api.github.com/repos/hatRiot/zarp/issues/25","id":221140706,"user":{"login":"the-c0d3r","id":4526565,"avatar_url":"https://avatars.githubusercontent.com/u/4526565?v=3","gravatar_id":"","url":"https://api.github.com/users/the-c0d3r","html_url":"https://github.com/the-c0d3r","followers_url":"https://api.github.com/users/the-c0d3r/followers","following_url":"https://api.github.com/users/the-c0d3r/following{/other_user}","gists_url":"https://api.github.com/users/the-c0d3r/gists{/gist_id}","starred_url":"https://api.github.com/users/the-c0d3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-c0d3r/subscriptions","organizations_url":"https://api.github.com/users/the-c0d3r/orgs","repos_url":"https://api.github.com/users/the-c0d3r/repos","events_url":"https://api.github.com/users/the-c0d3r/events{/privacy}","received_events_url":"https://api.github.com/users/the-c0d3r/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T01:14:31Z","updated_at":"2016-05-24T01:14:31Z","body":"I got this on Mac OS 10.11.5, after getting the same error, and changing openssl version to 0.14. \r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"zarp.py\", line 14, in <module>\r\n    import config\r\n  File \"/Users/X/programming/tools/zarp/src/core/config.py\", line 4, in <module>\r\n    from scapy.all import *\r\n  File \"/Users/X/programming/tools/zarp/src/lib/scapy/all.py\", line 22, in <module>\r\n    from route import *\r\n  File \"/Users/X/programming/tools/zarp/src/lib/scapy/route.py\", line 158, in <module>\r\n    conf.route=Route()\r\n  File \"/Users/X/programming/tools/zarp/src/lib/scapy/route.py\", line 18, in __init__\r\n    self.resync()\r\n  File \"/Users/X/programming/tools/zarp/src/lib/scapy/route.py\", line 27, in resync\r\n    self.routes = read_routes()\r\n  File \"/Users/X/programming/tools/zarp/src/lib/scapy/arch/unix.py\", line 83, in read_routes\r\n    ifaddr = scapy.arch.get_if_addr(netif)\r\n  File \"/Users/X/programming/tools/zarp/src/lib/scapy/arch/__init__.py\", line 32, in get_if_addr\r\n    return socket.inet_ntoa(get_if_raw_addr(iff))\r\n  File \"/Users/X/programming/tools/zarp/src/lib/scapy/arch/pcapdnet.py\", line 185, in get_if_raw_addr\r\n    return i.get(ifname)[\"addr\"].data\r\n  File \"dnet.pyx\", line 990, in dnet.intf.get\r\nOSError: Device not configured\r\n```\r\nI think it is because the program can't figure out the interface name on Mac. I'll look for possible solutions, and maybe even hardcoding the interface name. "}}
{"actor":{"display_login":"the-c0d3r"}}