[MacRuby] #740: Building LZMA gem fails
#740: Building LZMA gem fails --------------------------------+------------------------------------------- Reporter: mike@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: --------------------------------+------------------------------------------- Trying to build the ruby-lzma gem fails with macgem (works with gem1.9) {{{ sudo macgem install ruby-lzma }}} This gives the error {{{ Building native extensions. This could take a while... ERROR: Error installing ruby-lzma: make failed: ["/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/bin/macruby extconf.rb", "creating Makefile\n", "make", "/usr/bin/gcc -I. -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0 /universal-darwin10.1 -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0/ruby/backward -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0 -I. -fno-common -fexceptions -fno-common -pipe -O3 -g -Wall -arch i386 -arch x86_64 -o BranchX86.o -c BranchX86.c\n/usr/bin/gcc -I. -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0 /universal-darwin10.1 -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0/ruby/backward -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0 -I. -fno-common -fexceptions -fno-common -pipe -O3 -g -Wall -arch i386 -arch x86_64 -o LzmaDecode.o -c LzmaDecode.c\n/usr/bin/gcc -I. -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0 /universal-darwin10.1 -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0/ruby/backward -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0 -I. -fno-common -fexceptions -fno-common -pipe -O3 -g -Wall -arch i386 -arch x86_64 -o LzmaRamDecode.o -c LzmaRamDecode.c\n/usr/bin/g++ -I. -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0 /universal-darwin10.1 -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0/ruby/backward -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0 -I. -fno-common -fexceptions -fno-common -pipe -O3 -g -Wall -arch i386 -arch x86_64 -o Alloc.o -c Alloc.cpp\n/usr/bin/g++ -I. -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0 /universal-darwin10.1 -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0/ruby/backward -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0 -I. -fno-common -fexceptions -fno-common -pipe -O3 -g -Wall -arch i386 -arch x86_64 -o CRC.o -c CRC.cpp\n/usr/bin/g++ -I. -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0 /universal-darwin10.1 -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0/ruby/backward -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0 -I. -fno-common -fexceptions -fno-common -pipe -O3 -g -Wall -arch i386 -arch x86_64 -o InBuffer.o -c InBuffer.cpp\n/usr/bin/g++ -I. -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0 /universal-darwin10.1 -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0/ruby/backward -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0 -I. -fno-common -fexceptions -fno-common -pipe -O3 -g -Wall -arch i386 -arch x86_64 -o LZInWindow.o -c LZInWindow.cpp\n/usr/bin/g++ -I. -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0 /universal-darwin10.1 -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0/ruby/backward -I/Library/Frameworks/MacRuby.framework/Versions/0.7/usr/include/ruby-1.9.0 -I. -fno-common -fexceptions -fno-common -pipe -O3 -g -Wall -arch i386 -arch x86_64 -o lzma_ruby.o -c lzma_ruby.cpp\nlzma_ruby.cpp: In function ‘VALUE lz_compress(VALUE, VALUE)’:\nlzma_ruby.cpp:11: error: invalid conversion from ‘const void*’ to ‘void*’\nlzma_ruby.cpp: In function ‘VALUE lz_decompress(VALUE, VALUE)’:\nlzma_ruby.cpp:30: error: invalid conversion from ‘const void*’ to ‘void*’\nlzma_ruby.cpp: In function ‘VALUE lz_compress(VALUE, VALUE)’:\nlzma_ruby.cpp:11: error: invalid conversion from ‘const void*’ to ‘void*’\nlzma_ruby.cpp: In function ‘VALUE lz_decompress(VALUE, VALUE)’:\nlzma_ruby.cpp:30: error: invalid conversion from ‘const void*’ to ‘void*’\nlipo: can't open input file: /var/tmp//ccfbZepa.out (No such file or directory)\nmake: *** [lzma_ruby.o] Error 1\n"] }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/740> MacRuby <http://macruby.org/>
#740: Building LZMA gem fails --------------------------------+------------------------------------------- Reporter: mike@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: major | Milestone: MacRuby 0.7 Component: MacRuby | Resolution: fixed Keywords: | --------------------------------+------------------------------------------- Changes (by martinlagardette@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.7 Comment: Hi! Thanks a lot for the report. We contacted the developer for a compatibility issue between ruby-lzma and MacRuby, it has [http://github.com/ianlevesque/ruby- lzma/commit/a1fa2b96e067ce4d350f84be2863fcd9b98c3065 already been commited] to the repository and [http://rubygems.org/gems/ruby-lzma a new version was pushed] already (v0.4.3). {{{ $> sudo macgem install ruby-lzma Password: Building native extensions. This could take a while... Successfully installed ruby-lzma-0.4.3 1 gem installed }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/740#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby