{"action":"closed","issue":{"url":"https://api.github.com/repos/torch/tds/issues/21","repository_url":"https://api.github.com/repos/torch/tds","labels_url":"https://api.github.com/repos/torch/tds/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/torch/tds/issues/21/comments","events_url":"https://api.github.com/repos/torch/tds/issues/21/events","html_url":"https://github.com/torch/tds/issues/21","id":157062365,"number":21,"title":"can't install on OS X","user":{"login":"willfrey","id":13784361,"avatar_url":"https://avatars.githubusercontent.com/u/13784361?v=3","gravatar_id":"","url":"https://api.github.com/users/willfrey","html_url":"https://github.com/willfrey","followers_url":"https://api.github.com/users/willfrey/followers","following_url":"https://api.github.com/users/willfrey/following{/other_user}","gists_url":"https://api.github.com/users/willfrey/gists{/gist_id}","starred_url":"https://api.github.com/users/willfrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willfrey/subscriptions","organizations_url":"https://api.github.com/users/willfrey/orgs","repos_url":"https://api.github.com/users/willfrey/repos","events_url":"https://api.github.com/users/willfrey/events{/privacy}","received_events_url":"https://api.github.com/users/willfrey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-26T19:40:15Z","updated_at":"2016-05-26T19:54:27Z","closed_at":"2016-05-26T19:54:27Z","body":"`$ luarocks install tds`\r\n\r\n```\r\nInstalling https://raw.githubusercontent.com/torch/rocks/master/tds-scm-1.rockspec...\r\nUsing https://raw.githubusercontent.com/torch/rocks/master/tds-scm-1.rockspec... switching to 'build' mode\r\nCloning into 'tds'...\r\nremote: Counting objects: 31, done.\r\nremote: Compressing objects: 100% (28/28), done.\r\nremote: Total 31 (delta 5), reused 10 (delta 1), pack-reused 0\r\nReceiving objects: 100% (31/31), 22.52 KiB | 0 bytes/s, done.\r\nResolving deltas: 100% (5/5), done.\r\nChecking connectivity... done.\r\n-- The C compiler identification is AppleClang 7.3.0.7030031\r\n-- The CXX compiler identification is AppleClang 7.3.0.7030031\r\n-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc\r\n-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++\r\n-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\n-- Found Torch7 in /Users/wfrey/torch/install\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /tmp/luarocks_tds-scm-1-4250/tds\r\nScanning dependencies of target tds\r\n[ 16%] Building C object CMakeFiles/tds.dir/tds_utils.c.o\r\n[ 33%] Building C object CMakeFiles/tds.dir/tds_elem.c.o\r\n[ 50%] Building C object CMakeFiles/tds.dir/tds_hash.c.o\r\n[ 66%] Building C object CMakeFiles/tds.dir/tds_vec.c.o\r\n[ 83%] Building C object CMakeFiles/tds.dir/tds_atomic_counter.c.o\r\n/tmp/luarocks_tds-scm-1-4250/tds/tds_atomic_counter.c:39:3: warning: implicit declaration of function\r\n      'THAtomicSetLong' is invalid in C99 [-Wimplicit-function-declaration]\r\n  THAtomicSetLong(&atomic->count, value);\r\n  ^\r\n1 warning generated.\r\n[100%] Linking C shared module libtds.so\r\nUndefined symbols for architecture x86_64:\r\n  \"_THAtomicSetLong\", referenced from:\r\n      _tds_atomic_set in tds_atomic_counter.c.o\r\nld: symbol(s) not found for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nmake[2]: *** [libtds.so] Error 1\r\nmake[1]: *** [CMakeFiles/tds.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n\r\nError: Build error: Failed building.\r\n```\r\n\r\nI assume it's something weird about OS X and whatever compilers it's using compared to Linux. Any help would be appreciated."}}
{"actor":{"display_login":"soumith"}}