View previous topic :: View next topic |
Author |
Message |
naftalina67 n00b
Joined: 16 Oct 2005 Posts: 32
|
Posted: Sun Oct 16, 2005 3:44 pm Post subject: installazione gnome |
|
|
salve a tutti,
sono un nuovo utente linux-gentoo ed ho un problema durante l'installazione di gnome!
quando faccio emerge gnome compare questo errore durante l'installazione del pacchetto dev-libs/DirectFB-09.22
/usr/include/linux/wait.h: In function 'wait_on_bit':
/usr/include/linux/wait.h: 376: error: implicit declaration of function 'test_bit'
error: dev-libs/DirectFB-09.22 failed
Function src_compile, line 107, Exitcode 2
la macchina sulla quale ho installato gentoo è un ibook g4 800mhz, ma non penso che sia un problema d'architettura
quale potrebbe essere la soluzione?
grazie a tutti |
|
Back to top |
|
|
neryo Veteran
Joined: 09 Oct 2004 Posts: 1292 Location: Ferrara, Italy, Europe
|
Posted: Sun Oct 16, 2005 3:49 pm Post subject: |
|
|
ciao, benvenuto.. sarebbe opportuno postare tutto l'output dell'errore..
cmq potresti momentaneamente provare resumarlo e skipparlo..
Code: | # emerge --resume --skipfirst gnome |
_________________ cache: a safe place for hiding or storing things..
D-link DWL-G650 AirPlus
Apache Php Mysql |
|
Back to top |
|
|
Ic3M4n Advocate
Joined: 02 Nov 2004 Posts: 3489 Location: Bergamo.
|
Posted: Sun Oct 16, 2005 4:10 pm Post subject: |
|
|
ciao w benvenuto...
come puoi facilmente vedere l'errore che ti segna sembra imputato a questo file:
Code: | equery belongs /usr/include/linux/wait.h
[ Searching for file(s) /usr/include/linux/wait.h in *... ]
sys-kernel/linux-headers-2.6.11-r2 (/usr/include/linux/wait.h)
| che come vedi appartiene ai linux-headers. ebbene: sono stati compilati correttamente? oppure: hai saltato qualche altro pacchetto? oppure: hai per caso saltato alcuni errori nell'output che hai postato? |
|
Back to top |
|
|
naftalina67 n00b
Joined: 16 Oct 2005 Posts: 32
|
Posted: Sun Oct 16, 2005 4:55 pm Post subject: |
|
|
per sicurezza ho fatto emerge -s linux-headers ed effettivamente è installato (versione 2.6.11-r2)
ora sto provando a ricompilare gnome così vi posso postare l'output completo!
grazie per l'aiuto.. |
|
Back to top |
|
|
naftalina67 n00b
Joined: 16 Oct 2005 Posts: 32
|
Posted: Sun Oct 16, 2005 5:08 pm Post subject: |
|
|
Code: |
In file included from keyboard.c:42:
/usr/include/linux/keyboard.h:7:2: warning: #warning Gentoo Linux Headers Warnin g: GNU Libc Linux Headers Override Detected.
/usr/include/linux/keyboard.h:8:2: warning: #warning Gentoo Linux Headers Warnin g: This is bad. Removing override and continuing.
/usr/include/linux/keyboard.h:9:2: warning: #warning Gentoo Linux Headers Warnin g: If your compilation dies here, mention this when
/usr/include/linux/keyboard.h:10:2: warning: #warning Gentoo Linux Headers Warni ng: filing a bug!
In file included from /usr/include/linux/keyboard.h:14,
from keyboard.c:42:
/usr/include/linux/wait.h: In function `wait_on_bit':
/usr/include/linux/wait.h:376: error: implicit declaration of function `test_bit '
/usr/include/linux/wait.h: In function `wait_on_bit_lock':
/usr/include/linux/wait.h:400: error: implicit declaration of function `test_and _set_bit'
make[3]: *** [keyboard.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/DirectFB-0.9.22/work/DirectFB-0.9.2 2/inputdrivers/keyboard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/DirectFB-0.9.22/work/DirectFB-0.9.2 2/inputdrivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/DirectFB-0.9.22/work/DirectFB-0.9.2 2'
make: *** [all] Error 2
!!! ERROR: dev-libs/DirectFB-0.9.22 failed.
!!! Function src_compile, Line 107, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
|
questo è l'output d'errore.. |
|
Back to top |
|
|
naftalina67 n00b
Joined: 16 Oct 2005 Posts: 32
|
Posted: Mon Oct 17, 2005 5:02 pm Post subject: |
|
|
girovagando su internet ho anche visto ke è possibile installare la versione minimale di gnome (gnome-light).c'ho provato, ma anche questa non va.. quindi questo dev-libs/DirectFB-0.9.22 mi è proprio indispensabile? come fare?
grazie a tutti |
|
Back to top |
|
|
syntaxerrormmm Guru
Joined: 17 Apr 2005 Posts: 449 Location: Romano di Lombardia - BG - ITALY
|
Posted: Tue Oct 18, 2005 8:11 pm Post subject: |
|
|
Fra i vari messaggi di warning di quella pagina ce n'erano alcuni riguardanti le glibc e gli headers. Se non ricordo male, le glibc vanno ricompilate ad ogni aggiornamento degli header. Quindi, quello che ti consiglio è di riemergere linux-headers e glibc, in quest'ordine. Anche una ricompilatina al kernel, a quel punto, non farebbe male.
Credo che il problema possa essere dovuto a questo, ma non ti so dire. D'altronde io uso GNOME senza supporto al DirectFB e continuo a vivere felice e contento. Controlla che la USEFLAG "directfb" sia disabilitata in /etc/make.conf, se non ti serve il DirectFB.
L'alternativa sarebbe (ma non credo possa essere fruttuosa, nessuno in Bugzilla ha avuto il tuo stesso problema) mascherare temporaneamente quella versione di DirectFB e vedere se quella più bassa funge.
Ciao. _________________ "Every rule can be broken, but no rule may be ignored."
Last.fm - Gentoo 2006.1 on:
Acer Aspire 1355LC - suspend2-sources-2.6.18-r3
IBM Thinkpad T30 - suspend2-sources-2.6.19-r3 |
|
Back to top |
|
|
naftalina67 n00b
Joined: 16 Oct 2005 Posts: 32
|
Posted: Tue Oct 18, 2005 9:29 pm Post subject: |
|
|
grazie, ora sto provando a compilare gnome senza DirectFB e vediamo come va .
poi provo la tua soluzione... mi piacerebbe risolvere
thanks |
|
Back to top |
|
|
salade Apprentice
Joined: 10 May 2004 Posts: 170
|
Posted: Tue Nov 01, 2005 7:25 pm Post subject: |
|
|
ciao a tutti.
ho anche io il suo stesso problema.
Code: |
In file included from /usr/include/linux/keyboard.h:14,
from keyboard.c:42:
/usr/include/linux/wait.h: In function `wait_on_bit':
/usr/include/linux/wait.h:376: error: implicit declaration of function `test_bit'
/usr/include/linux/wait.h: In function `wait_on_bit_lock':
/usr/include/linux/wait.h:400: error: implicit declaration of function `test_and_set_bit'
make[3]: *** [keyboard.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/DirectFB-0.9.24/work/DirectFB-0.9.24/inputdrivers/keyboard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/DirectFB-0.9.24/work/DirectFB-0.9.24/inputdrivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/DirectFB-0.9.24/work/DirectFB-0.9.24'
make: *** [all-recursive-am] Error 2
!!! ERROR: dev-libs/DirectFB-0.9.24 failed.
!!! Function src_compile, Line 94, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
|
ecco maggiori info sulla mia architettura:
Code: |
marge ~ # emerge --info
Portage 2.0.53_rc7 (default-linux/ppc/2005.1/ppc, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-gentoo ppc)
=================================================================
System uname: 2.6.14-gentoo ppc 7447A, altivec supported
Gentoo Base System version 1.12.0_pre9
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.13
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=powerpc -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=powerpc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ngi.it http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X alsa berkdb bitmap-fonts bzip2 crypt cups dvb dvdread eds emboss fortran gd gif gpm gstreamer gtk2 gzip2 imagemagick ipv6 jpeg libwww mad motif mp3 mpeg ncurses nls ogg oggvorbis opengl pam pdflib perl png python qt readline samba spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xine xinerama xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
|
ho provato a mascherare le varie versioni di DirectFB, ma tutte danno lo stesso errore.
Ho provato anche a riemergere linux-headers e glibc, ma senza successo.
DirectFB mi servirebbe per l'applicazione qingy
Avete qualche idea?
Thanks
Stefano |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31449 Location: here
|
|
Back to top |
|
|
salade Apprentice
Joined: 10 May 2004 Posts: 170
|
Posted: Wed Nov 02, 2005 8:51 pm Post subject: |
|
|
in effetti ho risolto facendo il downgrade a linux-headers-2.6.8 ...
...non avevo letto con attenzione il post... sorry |
|
Back to top |
|
|
Onip Advocate
Joined: 02 Sep 2004 Posts: 2912 Location: Parma (Italy)
|
Posted: Thu Nov 03, 2005 7:47 am Post subject: |
|
|
se hai risolto allora potresti aggiungere il tag [RISOLTO] al titolo del topic? _________________ Linux Registered User n. 373835
Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum |
|
Back to top |
|
|
salade Apprentice
Joined: 10 May 2004 Posts: 170
|
Posted: Thu Nov 03, 2005 8:35 am Post subject: |
|
|
Onip wrote: | se hai risolto allora potresti aggiungere il tag [RISOLTO] al titolo del topic? |
Direi di no, dato che il topic non è mio |
|
Back to top |
|
|
|