Subject:
[ruby-ffi] Re: cannot install ffi gem on Solaris
From:
Eugene Zheganin
Date:
9/13/12 1:12 AM
To:
ruby-ffi@googlegroups.com

Hi.

It just looks like the tarball avalable in the rubygems.org distribution lacks this directory. Being downloaded from git I can successfully build the gem (rake says that everything is fine). I just don't understand why rake install tries to do the same thing in the pkg directory. I've just built the gem and all of it's libraries, why not just install the spec of it ?

среда, 12 сентября 2012 г., 12:09:27 UTC+6 пользователь Eugene Zheganin написал:
Hi.

I use ruby 1.8.7.

Is there any way to build ffi gem on solaris 10 ? I am able to build ffi_c.so library and get rake to this point (inserting -m64 in one place, and -std=c99 in another):

[warn] YARD unavailable
install -c build/i386-solaris2.10/ffi_c/1.8.7/ffi_c.so lib/ffi_c.so
gmake -f libtest/GNUmakefile CPU=i386 OS=solaris 
gmake: libtest/GNUmakefile: No such file or directory
gmake: *** No rule to make target `libtest/GNUmakefile'.  Stop.
rake aborted!
Command failed with status (2): [gmake -f libtest/GNUmakefile CPU=i386 OS=s...]

Tasks: TOP => default => specs => build/libtest.so
(See full trace by running task with --trace)

But I don't see any libtest or GNUmakefile, so I'm pretty much stuck here.

Thanks.