{"action":"created","issue":{"url":"https://api.github.com/repos/MaxNoe/pyfact/issues/2","labels_url":"https://api.github.com/repos/MaxNoe/pyfact/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/MaxNoe/pyfact/issues/2/comments","events_url":"https://api.github.com/repos/MaxNoe/pyfact/issues/2/events","html_url":"https://github.com/MaxNoe/pyfact/issues/2","id":59390973,"number":2,"title":"C dependencies missing?","user":{"login":"mackaiver","id":4076745,"avatar_url":"https://avatars.githubusercontent.com/u/4076745?v=3","gravatar_id":"","url":"https://api.github.com/users/mackaiver","html_url":"https://github.com/mackaiver","followers_url":"https://api.github.com/users/mackaiver/followers","following_url":"https://api.github.com/users/mackaiver/following{/other_user}","gists_url":"https://api.github.com/users/mackaiver/gists{/gist_id}","starred_url":"https://api.github.com/users/mackaiver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mackaiver/subscriptions","organizations_url":"https://api.github.com/users/mackaiver/orgs","repos_url":"https://api.github.com/users/mackaiver/repos","events_url":"https://api.github.com/users/mackaiver/events{/privacy}","received_events_url":"https://api.github.com/users/mackaiver/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-01T10:25:52Z","updated_at":"2015-03-01T11:22:53Z","closed_at":"2015-03-01T11:22:53Z","body":"Do I need some special gcc version or anything? \r\nTrying to install this into a virtual environment produces the following error message.\r\n\r\n```\r\n  Running setup.py install for fact\r\n    building 'fact.dim.dimc' extension\r\n    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -DPROTOCOL=1 -Dunix -Dlinux -DMIPSEL -I./fact/dim/dim_src/include -I/usr/include/python3.4m -I/home/kai/virtualenvs/pyroot/include/python3.4m -c ./fact/dim/dim_src/wrapper/dimmodule.cpp -o build/temp.linux-x86_64-3.4/./fact/dim/dim_src/wrapper/dimmodule.o\r\n    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++\r\n    ./fact/dim/dim_src/wrapper/dimmodule.cpp: In function ‘PyObject* dim_dic_get_error_services(PyObject*, PyObject*)’:\r\n    ./fact/dim/dim_src/wrapper/dimmodule.cpp:1323:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]\r\n       PyObject* ret;\r\n                 ^\r\n    ./fact/dim/dim_src/wrapper/dimmodule.cpp: In function ‘PyObject* initdimc()’:\r\n    ./fact/dim/dim_src/wrapper/dimmodule.cpp:1828:55: error: ‘Py_InitModule3’ was not declared in this scope\r\n       m = Py_InitModule3(\"dimc\", DimMethods, \"DIM methods\");\r\n                                                           ^\r\n    ./fact/dim/dim_src/wrapper/dimmodule.cpp:1831:5: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive]\r\n         return;\r\n         ^\r\n    ./fact/dim/dim_src/wrapper/dimmodule.cpp: At global scope:\r\n    ./fact/dim/dim_src/wrapper/dimmodule.cpp:1820:24: warning: ‘pydimlock’ defined but not used [-Wunused-variable]\r\n     static pthread_mutex_t pydimlock = PTHREAD_MUTEX_INITIALIZER;\r\n                            ^\r\n    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1\r\n    Complete output from command /home/kai/virtualenvs/pyroot/bin/python3 -c \"import setuptools, tokenize;__file__='/tmp/pip-4whb0i5l-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-2ham0xau-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/kai/virtualenvs/pyroot/include/site/python3.4:\r\n    running install\r\n    \r\n    running build\r\n    \r\n    running build_py\r\n    \r\n    creating build\r\n    \r\n    creating build/lib.linux-x86_64-3.4\r\n    \r\n    creating build/lib.linux-x86_64-3.4/fact\r\n    \r\n    copying fact/time.py -> build/lib.linux-x86_64-3.4/fact\r\n    \r\n    copying fact/__init__.py -> build/lib.linux-x86_64-3.4/fact\r\n    \r\n    creating build/lib.linux-x86_64-3.4/fact/plotting\r\n    \r\n    copying fact/plotting/viewer.py -> build/lib.linux-x86_64-3.4/fact/plotting\r\n    \r\n    copying fact/plotting/utils.py -> build/lib.linux-x86_64-3.4/fact/plotting\r\n    \r\n    copying fact/plotting/__init__.py -> build/lib.linux-x86_64-3.4/fact/plotting\r\n    \r\n    creating build/lib.linux-x86_64-3.4/fact/dim\r\n    \r\n    copying fact/dim/rpcproxy.py -> build/lib.linux-x86_64-3.4/fact/dim\r\n    \r\n    copying fact/dim/debug.py -> build/lib.linux-x86_64-3.4/fact/dim\r\n    \r\n    copying fact/dim/dim_servers.py -> build/lib.linux-x86_64-3.4/fact/dim\r\n    \r\n    copying fact/dim/sync_calls.py -> build/lib.linux-x86_64-3.4/fact/dim\r\n    \r\n    copying fact/dim/helpers.py -> build/lib.linux-x86_64-3.4/fact/dim\r\n    \r\n    copying fact/dim/__init__.py -> build/lib.linux-x86_64-3.4/fact/dim\r\n    \r\n    creating build/lib.linux-x86_64-3.4/fact/resources\r\n    \r\n    copying fact/resources/pixel-map.csv -> build/lib.linux-x86_64-3.4/fact/resources\r\n    \r\n    running build_ext\r\n    \r\n    building 'fact.dim.dimc' extension\r\n    \r\n    creating build/temp.linux-x86_64-3.4\r\n    \r\n    creating build/temp.linux-x86_64-3.4/fact\r\n    \r\n    creating build/temp.linux-x86_64-3.4/fact/dim\r\n    \r\n    creating build/temp.linux-x86_64-3.4/fact/dim/dim_src\r\n    \r\n    creating build/temp.linux-x86_64-3.4/fact/dim/dim_src/wrapper\r\n    \r\n    creating build/temp.linux-x86_64-3.4/fact/dim/dim_src/src\r\n    \r\n    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -DPROTOCOL=1 -Dunix -Dlinux -DMIPSEL -I./fact/dim/dim_src/include -I/usr/include/python3.4m -I/home/kai/virtualenvs/pyroot/include/python3.4m -c ./fact/dim/dim_src/wrapper/dimmodule.cpp -o build/temp.linux-x86_64-3.4/./fact/dim/dim_src/wrapper/dimmodule.o\r\n    \r\n    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++\r\n    \r\n    ./fact/dim/dim_src/wrapper/dimmodule.cpp: In function ‘PyObject* dim_dic_get_error_services(PyObject*, PyObject*)’:\r\n    \r\n    ./fact/dim/dim_src/wrapper/dimmodule.cpp:1323:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]\r\n    \r\n       PyObject* ret;\r\n\r\n                 ^\r\n\r\n    ./fact/dim/dim_src/wrapper/dimmodule.cpp: In function ‘PyObject* initdimc()’:\r\n\r\n    ./fact/dim/dim_src/wrapper/dimmodule.cpp:1828:55: error: ‘Py_InitModule3’ was not declared in this scope\r\n\r\n       m = Py_InitModule3(\"dimc\", DimMethods, \"DIM methods\");\r\n\r\n                                                           ^\r\n\r\n    ./fact/dim/dim_src/wrapper/dimmodule.cpp:1831:5: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive]\r\n\r\n         return;\r\n\r\n         ^\r\n\r\n    ./fact/dim/dim_src/wrapper/dimmodule.cpp: At global scope:\r\n\r\n    ./fact/dim/dim_src/wrapper/dimmodule.cpp:1820:24: warning: ‘pydimlock’ defined but not used [-Wunused-variable]\r\n\r\n     static pthread_mutex_t pydimlock = PTHREAD_MUTEX_INITIALIZER;\r\n\r\n                            ^\r\n\r\n    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1\r\n\r\n``` "},"comment":{"url":"https://api.github.com/repos/MaxNoe/pyfact/issues/comments/76592725","html_url":"https://github.com/MaxNoe/pyfact/issues/2#issuecomment-76592725","issue_url":"https://api.github.com/repos/MaxNoe/pyfact/issues/2","id":76592725,"user":{"login":"dneise","id":8200858,"avatar_url":"https://avatars.githubusercontent.com/u/8200858?v=3","gravatar_id":"","url":"https://api.github.com/users/dneise","html_url":"https://github.com/dneise","followers_url":"https://api.github.com/users/dneise/followers","following_url":"https://api.github.com/users/dneise/following{/other_user}","gists_url":"https://api.github.com/users/dneise/gists{/gist_id}","starred_url":"https://api.github.com/users/dneise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dneise/subscriptions","organizations_url":"https://api.github.com/users/dneise/orgs","repos_url":"https://api.github.com/users/dneise/repos","events_url":"https://api.github.com/users/dneise/events{/privacy}","received_events_url":"https://api.github.com/users/dneise/received_events","type":"User","site_admin":false},"created_at":"2015-03-01T11:22:53Z","updated_at":"2015-03-01T11:22:53Z","body":"Cool, having Kai on the boat"}}