{"action":"created","issue":{"url":"https://api.github.com/repos/ruby2d/ruby2d/issues/109","repository_url":"https://api.github.com/repos/ruby2d/ruby2d","labels_url":"https://api.github.com/repos/ruby2d/ruby2d/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/ruby2d/ruby2d/issues/109/comments","events_url":"https://api.github.com/repos/ruby2d/ruby2d/issues/109/events","html_url":"https://github.com/ruby2d/ruby2d/issues/109","id":311562288,"node_id":"MDU6SXNzdWUzMTE1NjIyODg=","number":109,"title":"Issue installing gem","user":{"login":"msbit","id":1694533,"node_id":"MDQ6VXNlcjE2OTQ1MzM=","avatar_url":"https://avatars0.githubusercontent.com/u/1694533?v=4","gravatar_id":"","url":"https://api.github.com/users/msbit","html_url":"https://github.com/msbit","followers_url":"https://api.github.com/users/msbit/followers","following_url":"https://api.github.com/users/msbit/following{/other_user}","gists_url":"https://api.github.com/users/msbit/gists{/gist_id}","starred_url":"https://api.github.com/users/msbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msbit/subscriptions","organizations_url":"https://api.github.com/users/msbit/orgs","repos_url":"https://api.github.com/users/msbit/repos","events_url":"https://api.github.com/users/msbit/events{/privacy}","received_events_url":"https://api.github.com/users/msbit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-05T10:50:54Z","updated_at":"2018-09-27T21:02:05Z","closed_at":"2018-09-27T21:02:06Z","author_association":"NONE","body":"```\r\n$ sw_vers\r\nProductName:\tMac OS X\r\nProductVersion:\t10.7.5\r\nBuildVersion:\t11G63\r\n```\r\n```\r\n$ clang -v\r\nApple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)\r\nTarget: x86_64-apple-darwin11.4.2\r\nThread model: posix\r\n```\r\n```\r\n$ gcc -v\r\nUsing built-in specs.\r\nTarget: i686-apple-darwin11\r\nConfigured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1\r\nThread model: posix\r\ngcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)\r\n```\r\n```\r\n$ ruby -v\r\nruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin11.0]\r\n```\r\n\r\nWhile trying to install the gem under Mac OSX 10.7.5 I get the following error:\r\n\r\n```\r\n$ gem install ruby2d\r\n/Users/tom/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/ruby2d-0.5.1/ext/ruby2d\r\ntoms-macbook:ruby2d tom$ cd\r\ntoms-macbook:~ tom$ gem install ruby2d\r\nBuilding native extensions. This could take a while...\r\nERROR:  Error installing ruby2d:\r\n\tERROR: Failed to build gem native extension.\r\n\r\n    current directory: /Users/tom/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/ruby2d-0.5.1/ext/ruby2d\r\n/Users/tom/.rbenv/versions/2.5.1/bin/ruby -r ./siteconf20180405-85842-1598aid.rb extconf.rb\r\ncreating Makefile\r\n\r\ncurrent directory: /Users/tom/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/ruby2d-0.5.1/ext/ruby2d\r\nmake \"DESTDIR=\" clean\r\n\r\ncurrent directory: /Users/tom/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/ruby2d-0.5.1/ext/ruby2d\r\nmake \"DESTDIR=\"\r\ncompiling ruby2d.c\r\nlinking shared-object ruby2d/ruby2d.bundle\r\nld: archive has no table of contents for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nmake: *** [ruby2d.bundle] Error 1\r\n\r\nmake failed, exit code 2\r\n\r\nGem files will remain installed in /Users/tom/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/ruby2d-0.5.1 for inspection.\r\nResults logged to /Users/tom/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/extensions/x86_64-darwin-11/2.5.0-static/ruby2d-0.5.1/gem_make.out\r\n```\r\n\r\nOn further inspection I see the following:\r\n\r\n```\r\n$ pushd /Users/tom/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/ruby2d-0.5.1/ext/ruby2d\r\n~/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/ruby2d-0.5.1/ext/ruby2d ~\r\n\r\n$ make clean all V=1\r\nrm -f \r\nrm -f ruby2d.bundle  *.o  *.bak mkmf.log .*.time\r\nclang -I. -I/Users/tom/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin11.0 -I/Users/tom/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/tom/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/Users/tom/.rbenv/versions/2.5.1/include  -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -fno-common  -O3 -Wno-error=shorten-64-to-32  -pipe -std=c11 -I/usr/local/include  -o ruby2d.o -c ruby2d.c\r\nrm -f ruby2d.bundle\r\nclang -dynamic -bundle -o ruby2d.bundle ruby2d.o -L. -L/Users/tom/.rbenv/versions/2.5.1/lib -L. -L/Users/tom/.rbenv/versions/2.5.1/lib  -fstack-protector -L/usr/local/lib -lsimple2d -I/usr/local/include/SDL2 -D_THREAD_SAFE -L/usr/local/lib -lSDL2 -Wl,-framework,OpenGL -lSDL2_image -lSDL2_mixer -lSDL2_ttf  -L/Users/tom/.rbenv/versions/2.5.1/lib  -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress    -lpthread -ldl -lobjc \r\nld: archive has no table of contents for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nmake: *** [ruby2d.bundle] Error 1\r\n\r\n$ clang -dynamic -bundle -o ruby2d.bundle ruby2d.o -L. -L/Users/tom/.rbenv/versions/2.5.1/lib -L. -L/Users/tom/.rbenv/versions/2.5.1/lib  -fstack-protector -L/usr/local/lib -lsimple2d -I/usr/local/include/SDL2 -D_THREAD_SAFE -L/usr/local/lib -lSDL2 -Wl,-framework,OpenGL -lSDL2_image -lSDL2_mixer -lSDL2_ttf  -L/Users/tom/.rbenv/versions/2.5.1/lib  -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress    -lpthread -ldl -lobjc -v\r\nApple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)\r\nTarget: x86_64-apple-darwin11.4.2\r\nThread model: posix\r\n \"/usr/bin/ld\" -demangle -dynamic -arch x86_64 -bundle -dynamic -macosx_version_min 10.7.0 -o ruby2d.bundle -L. -L/Users/tom/.rbenv/versions/2.5.1/lib -L. -L/Users/tom/.rbenv/versions/2.5.1/lib -L/usr/local/lib -L/usr/local/lib -L/Users/tom/.rbenv/versions/2.5.1/lib ruby2d.o -lsimple2d -lSDL2 -framework OpenGL -lSDL2_image -lSDL2_mixer -lSDL2_ttf -undefined dynamic_lookup -multiply_defined suppress -lpthread -ldl -lobjc -lSystem /usr/bin/../lib/clang/4.2/lib/darwin/libclang_rt.osx.a\r\nld: archive has no table of contents for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n\r\n$ \"/usr/bin/ld\" -demangle -dynamic -arch x86_64 -bundle -dynamic -macosx_version_min 10.7.0 -o ruby2d.bundle -L. -L/Users/tom/.rbenv/versions/2.5.1/lib -L. -L/Users/tom/.rbenv/versions/2.5.1/lib -L/usr/local/lib -L/usr/local/lib -L/Users/tom/.rbenv/versions/2.5.1/lib ruby2d.o -lsimple2d -lSDL2 -framework OpenGL -lSDL2_image -lSDL2_mixer -lSDL2_ttf -undefined dynamic_lookup -multiply_defined suppress -lpthread -ldl -lobjc -lSystem /usr/bin/../lib/clang/4.2/lib/darwin/libclang_rt.osx.a -v\r\n@(#)PROGRAM:ld  PROJECT:ld64-136\r\nconfigured to support archs: armv6 armv7 armv7s i386 x86_64\r\nLibrary search paths:\r\n\t.\r\n\t/Users/tom/.rbenv/versions/2.5.1/lib\r\n\t.\r\n\t/Users/tom/.rbenv/versions/2.5.1/lib\r\n\t/usr/local/lib\r\n\t/usr/local/lib\r\n\t/Users/tom/.rbenv/versions/2.5.1/lib\r\n\t/usr/lib\r\n\t/usr/local/lib\r\nFramework search paths:\r\n\t/Library/Frameworks/\r\n\t/System/Library/Frameworks/\r\nld: archive has no table of contents for architecture x86_64\r\n```"},"comment":{"url":"https://api.github.com/repos/ruby2d/ruby2d/issues/comments/425242039","html_url":"https://github.com/ruby2d/ruby2d/issues/109#issuecomment-425242039","issue_url":"https://api.github.com/repos/ruby2d/ruby2d/issues/109","id":425242039,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTI0MjAzOQ==","user":{"login":"blacktm","id":887429,"node_id":"MDQ6VXNlcjg4NzQyOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/887429?v=4","gravatar_id":"","url":"https://api.github.com/users/blacktm","html_url":"https://github.com/blacktm","followers_url":"https://api.github.com/users/blacktm/followers","following_url":"https://api.github.com/users/blacktm/following{/other_user}","gists_url":"https://api.github.com/users/blacktm/gists{/gist_id}","starred_url":"https://api.github.com/users/blacktm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blacktm/subscriptions","organizations_url":"https://api.github.com/users/blacktm/orgs","repos_url":"https://api.github.com/users/blacktm/repos","events_url":"https://api.github.com/users/blacktm/events{/privacy}","received_events_url":"https://api.github.com/users/blacktm/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T21:02:05Z","updated_at":"2018-09-27T21:02:05Z","author_association":"MEMBER","body":"Haven't been able to reproduce, as noted here (https://github.com/simple2d/simple2d/issues/81), but happy to reinvestigate if we can."}}
{"actor":{"display_login":"blacktm"}}