{"action":"created","issue":{"url":"https://api.github.com/repos/seomoz/dragnet/issues/17","labels_url":"https://api.github.com/repos/seomoz/dragnet/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/seomoz/dragnet/issues/17/comments","events_url":"https://api.github.com/repos/seomoz/dragnet/issues/17/events","html_url":"https://github.com/seomoz/dragnet/issues/17","id":72848783,"number":17,"title":"gcc: error: dragnet/_weninger.c: No such file or directory when installing dragnet","user":{"login":"tuxos","id":3774492,"avatar_url":"https://avatars.githubusercontent.com/u/3774492?v=3","gravatar_id":"","url":"https://api.github.com/users/tuxos","html_url":"https://github.com/tuxos","followers_url":"https://api.github.com/users/tuxos/followers","following_url":"https://api.github.com/users/tuxos/following{/other_user}","gists_url":"https://api.github.com/users/tuxos/gists{/gist_id}","starred_url":"https://api.github.com/users/tuxos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuxos/subscriptions","organizations_url":"https://api.github.com/users/tuxos/orgs","repos_url":"https://api.github.com/users/tuxos/repos","events_url":"https://api.github.com/users/tuxos/events{/privacy}","received_events_url":"https://api.github.com/users/tuxos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-03T18:59:11Z","updated_at":"2015-05-04T17:18:59Z","closed_at":null,"body":"I am getting the following error when trying to install it from the master branch\r\n\r\n```\r\nrunning build_ext\r\nbuilding 'dragnet._weninger' extension\r\ngcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/lib64/python2.6/site-packages/numpy/core/include -I/usr/include/python2.6 -c dragnet/_weninger.c -o build/temp.linux-x86_64-2.6/dragnet/_weninger.o\r\ngcc: error: dragnet/_weninger.c: No such file or directory\r\ngcc: fatal error: no input files\r\ncompilation terminated.\r\nerror: command 'gcc' failed with exit status 4\r\n```\r\n\r\nI am using `python 2.6`\r\nThanks"},"comment":{"url":"https://api.github.com/repos/seomoz/dragnet/issues/comments/98784732","html_url":"https://github.com/seomoz/dragnet/issues/17#issuecomment-98784732","issue_url":"https://api.github.com/repos/seomoz/dragnet/issues/17","id":98784732,"user":{"login":"matt-peters","id":619844,"avatar_url":"https://avatars.githubusercontent.com/u/619844?v=3","gravatar_id":"","url":"https://api.github.com/users/matt-peters","html_url":"https://github.com/matt-peters","followers_url":"https://api.github.com/users/matt-peters/followers","following_url":"https://api.github.com/users/matt-peters/following{/other_user}","gists_url":"https://api.github.com/users/matt-peters/gists{/gist_id}","starred_url":"https://api.github.com/users/matt-peters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matt-peters/subscriptions","organizations_url":"https://api.github.com/users/matt-peters/orgs","repos_url":"https://api.github.com/users/matt-peters/repos","events_url":"https://api.github.com/users/matt-peters/events{/privacy}","received_events_url":"https://api.github.com/users/matt-peters/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T17:18:59Z","updated_at":"2015-05-04T17:18:59Z","body":"That's weird, we shouldn't be trying to compile `_weninger.c`, but we do compile `_weninger.cpp` which is automatically generated by cython from `_weninger.pyx`.  Maybe this is something in cython or perhaps it's a 2.6 thing (we only tested on 2.7).\r\n\r\nWhat version of cython do you have? (`cython --version`).  Also what is the output of `cython dragnet/_weninger.pyx --cplus --verbose` ?\r\n\r\nFWIW, here's the output on my machine when running the build that compiles the _weninger extention: \r\n```\r\npython setup.py build_ext --inplace\r\nrunning build_ext\r\ncythoning dragnet/_weninger.pyx to dragnet/_weninger.cpp\r\nbuilding 'dragnet._weninger' extension\r\ncreating build\r\ncreating build/temp.macosx-10.10-intel-2.7\r\ncreating build/temp.macosx-10.10-intel-2.7/dragnet\r\ncc -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -I/usr/local/include -I/usr/local -pipe -arch x86_64 -I/Library/Python/2.7/site-packages/numpy/core/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c dragnet/_weninger.cpp -o build/temp.macosx-10.10-intel-2.7/dragnet/_weninger.o\r\n```\r\n"}}