Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problema installando gtk-server: "missing header: ffi.h"
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
blue_gentoo
n00b
n00b


Joined: 03 Nov 2008
Posts: 2

PostPosted: Mon Nov 03, 2008 1:34 pm    Post subject: Problema installando gtk-server: "missing header: ffi.h Reply with quote

Ciao a tutti!

Ho bisogno di una mano per il seguente problema: dovendo compilare il pacchetto gtk-server (mascherato) mi compare questo errore:

Code:

>>> Unpacking source...
>>> Unpacking gtk-server-2.0.12.tar.gz to /var/tmp/portage/x11-libs/gtk-server-2.0.12/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-libs/gtk-server-2.0.12/work/gtk-server-2.0.12 ...
 * QA Notice: 'autoconf' called by src_compile: x11-libs/gtk-server-2.0.12
 * Use autotools.eclass instead of calling 'autoconf' directly.
 * econf: updating gtk-server-2.0.12/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating gtk-server-2.0.12/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedi$
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for pkg-config... /usr/bin/pkg-config
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking ffi.h usability... no
checking ffi.h presence... no
checking for ffi.h... no
configure: error: Cannot compile - missing header: ffi.h

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/x11-libs/gtk-server-2.0.12/work/gtk-server-2.0.12/config.log
*
 * ERROR: x11-libs/gtk-server-2.0.12 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2067:  Called econf 'src_compile'
 *               ebuild.sh, line  519:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-libs/gtk-server-2.0.12/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk-server-2.0.12/temp/environment'.
 *


Magari ho dimenticato io di installare qualcosa! C'è un modo per risolvere tale problema?

Grazie!
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Mon Nov 03, 2008 2:07 pm    Post subject: Reply with quote

a naso credo che ti manchi o devi usare la versione instabile di dev-libs/libffi, prova.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
blue_gentoo
n00b
n00b


Joined: 03 Nov 2008
Posts: 2

PostPosted: Mon Nov 03, 2008 2:24 pm    Post subject: Reply with quote

No, purtroppo ho già provato ad installare dev-libs/libffi-3.0.6 (che è una versione non stabile), ma il problema rimane.
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Mon Nov 03, 2008 6:58 pm    Post subject: Reply with quote

ho dato un rapido sguardo all'ebuild e
Code:
sed -i -e "s,-lffi,-L/usr/$(get_libdir)/libffi -lffi,g" configure.in
a naso manca una corrispondente linea per la -I (presumo che gli headers di libffi non siano in /usr/include) o forse potrebbe bastare impostare una apposita variabile ambiente.
A parte aprire direttamente un bug potresti provare a modificare l'ebuild e cambiare la linea in
Code:
sed -i -e "s,-lffi,-L/usr/$(get_libdir)/libffi -lffi,g -I/usr/vattelappesca" configure.in
secondo la collocazione di ffi.h (e poi se funziona il bug lo apri lo stesso, con l'unica differenza che con probabilmente i devel ti ringrazieranno invece di maledirti tra i denti :twisted: ).
Se provi ad usare la versione precendente hai lo stesso errore?

Altro non so dirti perchè non sono interessato al pacchetto in questione e non lo ho mai installato.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum