[MacRuby-devel] MacRuby Build Issues

Laurent Sansonetti lsansonetti at apple.com
Wed Aug 5 01:44:25 PDT 2009


Hi John,

What's your environment (OS) and CPU?

Also, could you paste a few more lines? I assume it's failing to link  
miniruby here.

Thanks,
Laurent

On Aug 5, 2009, at 1:32 AM, John-Paul Bader wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hey guys,
>
>
> i'm relatively new in the world of MacRuby but I'm hooked already. I  
> tried to build it from source (trunk and experimental) but didn't  
> have any luck with it.
>
> The experimental branch exits here:
>
>> "llvm::Intrinsic::getDeclaration(llvm::Module*, llvm::Intrinsic::ID,  
> llvm::Type const**, unsigned int)", referenced from:
>     RoxorCompiler::compile_bs_struct_new(rb_vm_bs_boxed*)        in  
> bridgesupport.o
>     RoxorCompiler::compile_landing_pad_header(std::type_info const&) 
> in compiler.o
>     RoxorCompiler::compile_landing_pad_header(std::type_info const&) 
> in compiler.o
>     RoxorCompiler::compile_landing_pad_header(std::type_info const&) 
> in compiler.o
> "llvm::LoadInst::LoadInst(llvm::Value*, char const*, bool,  
> llvm::Instruction*)", referenced from:
>     RoxorAOTCompiler::compile_sel(objc_selector*, bool)   in  
> compiler.o
>     RoxorAOTCompiler::gen_slot_cache(unsigned long)in compiler.o
> ld: symbol(s) not found for architecture x86_64
> collect2: ld returned 1 exit status
> lipo: can't open input file: /var/folders/YT/YT9QPpMNF4KUf1I+NyCXyk++ 
> +TI/-Tmp-//ccG7VEk8.out (No such file or directory)
> rake aborted!
> Command failed with status (1): [/usr/bin/g++ -I. -I./include -I./ 
> onig - -I/u...]
>
> I installed the recommended llvm version and I tried to rake clean  
> before every attempt
>
>
>
> The trunk exits here:
>> gcc -I. -I../../.ext/include/universal-darwin9.0 -I..//.././include - 
> I..//.././ext/readline -DRUBY_EXTCONF_H=\"extconf.h\"  -fno-common - 
> fno-common -pipe -O2 -g -Wall -Wno-parentheses -arch i386 -arch  
> x86_64 - -o readline.o -c readline.c
> gcc -dynamic -bundle -undefined suppress -flat_namespace -arch i386 - 
> arch x86_64 -o ../../.ext/universal-darwin9.0/readline.bundle  
> readline.o -L. -L../..   -arch i386 -arch x86_64  -lmacruby - 
> lreadline - -lncurses
> compiling ripper
> ../../miniruby -I'../..' -I'..//.././lib' -I'../../.ext/universal- 
> darwin9.0' -I'../../.ext/common' -I./- -I'..//.././ext' - 
> rpurelib.rb ..//.././ext/ripper/tools/preproc.rb ..//.././parse.y -- 
> output=ripper.y
> bison -t -v -oy.tab.c ripper.y
> ripper.y:2920.25-26: $$ für Regelmitte bei $6 von „primary“ hat  
> keinen deklarierten Typ
> make: *** [ripper.c] Error 1
> rake aborted!
> Command failed with status (1): [GC_DISABLE=1 ./miniruby -I./lib - 
> I.ext/com...]
> /usr/local/src/MacRuby-trunk/Rakefile:591
> (See full trace by running task with --trace)
>
> My shell has a german locale. Forgive me ;)
>
> I don't really have a clue what I could do to fix it. I'm following  
> the list for a few days now and didn't here any reports of build  
> issues.
>
> Any ideas?
>
> Kind regards, John
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (Darwin)
>
> iEYEARECAAYFAkp5Q4YACgkQK6xKqn9SkYOCIwCgvi1ZjBjPyhi7b/+VywdBvhFQ
> nOcAnR1IvUhw/QfLQlxd18SlT5eE2syR
> =MkN9
> -----END PGP SIGNATURE-----
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list