# 64-bit Ubuntu 7.10

**URL:** <https://www.ruby-forum.com/t/64-bit-ubuntu-7-10/121954>\
**Category:** Ferret\
**Created:** [December 3, 2007, 10:53am UTC](https://www.ruby-forum.com/t/64-bit-ubuntu-7-10/121954 "2007-12-03T10:53:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marc\_Galbraith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a183cd/32.png) [@Marc\_Galbraith](https://www.ruby-forum.com/u/Marc_Galbraith)\
**Post date:** [December 3, 2007, 10:53am UTC](https://www.ruby-forum.com/t/64-bit-ubuntu-7-10/121954/1 "2007-12-03T10:53:18Z")

</div>

HI Guys,

I am trying to install ferret as a gem ‘sudo gem install ferret’ and it  
is  
failing  
to make the native libraries, I am using the 64 bit version of Ubuntu  
7.10

Here is the first the first 30 lines or so, any hints, I know it is  
probably  
some sort of 32 bit v 64 bit problem??

* * *

Building native extensions. This could take a while…  
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)  
ERROR: Failed to build gem native extension.

ruby extconf.rb install ferret  
creating Makefile

make  
cc -I. -I/usr/lib/ruby/1.8/x86\_64-linux -I/usr/lib/ruby/1.8/x86\_64-linux  
-I. -fPIC -fno-strict-aliasing -g -O2 -fPIC -D\_FILE\_OFFSET\_BITS=64 -c  
posh.c  
cc -I. -I/usr/lib/ruby/1.8/x86\_64-linux -I/usr/lib/ruby/1.8/x86\_64-linux  
-I. -fPIC -fno-strict-aliasing -g -O2 -fPIC -D\_FILE\_OFFSET\_BITS=64 -c  
q\_phrase.c  
q\_phrase.c:1:20: error: string.h: No such file or directory  
In file included from  
/usr/lib/gcc/x86\_64-linux-gnu/4.1.3/include/syslimits.h:7,  
from  
/usr/lib/gcc/x86\_64-linux-gnu/4.1.3/include/limits.h:11,  
from q\_phrase.c:2:  
/usr/lib/gcc/x86\_64-linux-gnu/4.1.3/include/limits.h:122:61: error:  
limits.h:  
No such file or directory  
In file included from global.h:4,  
from index.h:4,  
from search.h:8,  
from q\_phrase.c:3:  
config.h:4:23: error: sys/types.h: No such file or directory  
In file included from global.h:5,  
from index.h:4,  
from search.h:8,  
from q\_phrase.c:3:  
except.h:73:20: error: setjmp.h: No such file or directory  
In file included from global.h:5,  
from index.h:4,  
from search.h:8,  
from q\_phrase.c:3:  
except.h:97: error: expected specifier-qualifier-list before ‘jmp\_buf’  
In file included from lang.h:7,  
from global.h:6,  
from index.h:4,  
from search.h:8,  
from q\_phrase.c:3:  
/usr/lib/ruby/1.8/x86\_64-linux/ruby.h:40:21: error: stdlib.h: No such  
file  
or directory  
/usr/lib/ruby/1.8/x86\_64-linux/ruby.h:54:19: error: stdio.h: No such  
file or  
directory  
/usr/lib/ruby/1.8/x86\_64-linux/ruby.h:71:20: error: alloca.h: No such  
file  
or directory

* * *

Regards,  
Marc.

---

<div class="post-metadata">

**Author:** ![Marc\_Galbraith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a183cd/32.png) [@Marc\_Galbraith](https://www.ruby-forum.com/u/Marc_Galbraith)\
**Post date:** [December 3, 2007, 11:27pm UTC](https://www.ruby-forum.com/t/64-bit-ubuntu-7-10/121954/2 "2007-12-03T23:27:16Z")

</div>

Marc Galbraith wrote:

> HI Guys,
> 
> I am trying to install ferret as a gem ‘sudo gem install ferret’ and it  
> is  
> failing

You seem to be missing the C library development package. Try installing  
glibc.

```
Marko
```
