public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Unable to install the ffi gem.
@ 2011-10-29 11:06 Vishnupradeep
  2011-10-30  7:45 ` [gentoo-user] " Hans de Graaff
  0 siblings, 1 reply; 2+ messages in thread
From: Vishnupradeep @ 2011-10-29 11:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1703 bytes --]

x86_64-pc-linux-gnu-gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I.
-DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -march=amdfam10 -O2 -pipe
-fno-strict-aliasing  -fPIC  -I/usr/lib64/libffi-3.0.10/include
-Wno-declaration-after-statement   -c Struct.c
x86_64-pc-linux-gnu-gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I.
-DRUBY_EXTCONF_H=\"extconf.h\"    -fPIC -march=amdfam10 -O2 -pipe
-fno-strict-aliasing  -fPIC  -I/usr/lib64/libffi-3.0.10/include
-Wno-declaration-after-statement   -c DataConverter.c
x86_64-pc-linux-gnu-gcc -shared -o ffi_c.so Function.o Pointer.o Buffer.o
AbstractMemory.o ArrayType.o ffi.o MappedType.o StructByValue.o Call.o
StructLayout.o Thread.o Platform.o Variadic.o MethodHandle.o MemoryPointer.o
Types.o DynamicLibrary.o Type.o ClosurePool.o FunctionInfo.o LastError.o
StructByReference.o Struct.o DataConverter.o -L. -L/usr/lib64
-Wl,-R/usr/lib64 -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic
-Wl,--no-undefined     -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18 -lffi
 -lffi   -lrt -ldl -lcrypt -lm   -lc
Thread.o: In function `cleanup_blocking_thread':
Thread.c:(.text+0x29): undefined reference to `pthread_kill'
Thread.o: In function `rbffi_blocking_thread':
Thread.c:(.text+0xd9): undefined reference to `pthread_testcancel'
Thread.o: In function `rbffi_thread_blocking_region':
Thread.c:(.text+0x1ef): undefined reference to `pthread_create'
Thread.c:(.text+0x225): undefined reference to `pthread_join'
collect2: ld returned 1 exit status
make: *** [ffi_c.so] Error 1


Gem files will remain installed in /usr/lib64/ruby/gems/1.8/gems/ffi-1.0.9
for inspection.
Results logged to
/usr/lib64/ruby/gems/1.8/gems/ffi-1.0.9/ext/ffi_c/gem_make.out
tux diaspora #

[-- Attachment #2: Type: text/html, Size: 1986 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-user] Re: Unable to install the ffi gem.
  2011-10-29 11:06 [gentoo-user] Unable to install the ffi gem Vishnupradeep
@ 2011-10-30  7:45 ` Hans de Graaff
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Graaff @ 2011-10-30  7:45 UTC (permalink / raw
  To: gentoo-user

On Sat, 29 Oct 2011 16:36:31 +0530, Vishnupradeep wrote:

> Gem files will remain installed in
> /usr/lib64/ruby/gems/1.8/gems/ffi-1.0.9 for inspection.
> Results logged to
> /usr/lib64/ruby/gems/1.8/gems/ffi-1.0.9/ext/ffi_c/gem_make.out

The gem is broken. Install dev-ruby/ffi instead.

Hans




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-30  8:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-29 11:06 [gentoo-user] Unable to install the ffi gem Vishnupradeep
2011-10-30  7:45 ` [gentoo-user] " Hans de Graaff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox