Forum: Ferret Problem installing ferret on ubuntu 8.04

Posted by Sébastien Mizrahi (slum)
on 2008-07-29 19:32
Hi all,

I've some errors while installing Ferret on ubuntu ; after making
sudo gem install ferret
and choose the last one (0.11.6 (ruby))

I have this message :
------------------------------------
ruby extconf.rb install ferret
creating Makefile

make
cc -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I.
-fPIC -fno-strict-aliasing -g -g -O2  -fPIC -D_FILE_OFFSET_BITS=64  -c
api.c
api.c:2:43: erreur: stdlib.h : Aucun fichier ou dossier de ce type
Dans le fichier inclus à partir de
/usr/lib/gcc/i486-linux-gnu/4.2.3/include/syslimits.h:7,
          à partir de
/usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:11,
          à partir de header.h:2,
          à partir de api.c:3:
/usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:122:61: erreur:
limits.h : Aucun fichier ou dossier de ce type
api.c: Dans la fonction «SN_create_env» :
api.c:7: attention : incompatible implicit declaration of built-in
function «calloc»
api.c:8: erreur: «NULL» undeclared (first use in this function)
api.c:8: erreur: (Each undeclared identifier is reported only once
api.c:8: erreur: for each function it appears in.)
api.c: Dans la fonction «SN_close_env» :
api.c:47: erreur: «NULL» undeclared (first use in this function)
api.c: Dans la fonction «SN_set_current» :
api.c:65: erreur: «NULL» undeclared (first use in this function)
make: *** [api.o] Erreur 1
-------------------------------------

Do I miss something ?

Thank you !
Posted by Sébastien Mizrahi (slum)
on 2008-07-29 20:05
Found the solution : I missed the libc6-dev package :)
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.