Subject:
[ruby-ffi] Re: FFI 1.0.6 fails to compile
From:
Quintus
Date:
4/9/11 11:39 AM
To:
ruby-ffi



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