Subject:
[ruby-ffi] Re: FFI 1.0.6 fails to compile
From:
Arthur Silva
Date:
12/3/12 11:50 AM
To:
ruby-ffi@googlegroups.com

Any chance you can translate your solution for RedHat? >_>

On Saturday, April 9, 2011 5:39:59 PM UTC+1, Quintus wrote:


On 9 Apr., 18:30, Quintus <sutn...@gmx.net> wrote:
> I fixed the problem by the following workaround:
>
> $ sudo ln -s /usr/src/linux-2.6.37-ARCH/include/asm-generic/* /usr/
> include/asm-generic/
>
> That's not really a solution, but at least it works. Until the next
> kernel upgrade. :-(
>
> Valete,
> Quintus

YEAH, I now got it correctly. For whatever reason, the linux-api-
headers package wasn't installed correctly on my system. I did
$ sudo pacman -S linux-api-headers
$ cd
$ sudo su
# pacman -S linux-api-headers
(the first one reported an error about the working directory and
crashed (I suppose because my working directory was /usr/include/asm-
generic), so I installed it a second time as pure root, without sudo.
And now ffi installs absolutely fine.

Thanks for everybody trying to get this resolved.
ffi's great!

Valete,
Quintus