View previous topic :: View next topic |
Author |
Message |
die-hard Apprentice
Joined: 20 Mar 2005 Posts: 255 Location: Italy
|
Posted: Fri Apr 11, 2008 7:30 am Post subject: compilazione gtk+ |
|
|
salve ragazzi, nella compilazione ho riscontrato alcuni problemi, mi dice che non riesce a lincare pango, ma tali lib ci sono nel mio sistema.
Ecco l'errore:
Code: |
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking X11/extensions/XShm.h... yes
checking Pango flags... -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
configure: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/x11-libs/gtk+-2.12.9-r2/work/gtk+-2.12.9/config.log
*
* ERROR: x11-libs/gtk+-2.12.9-r2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2831: Called econf 'src_compile' 'src_compile' '--disable-gtk-doc' '--with-libjpeg' '--with-libtiff' '--disable-xinerama' '--enable-cups=auto' '--with-libpng'
* ebuild.sh, line 513: 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+-2.12.9-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-2.12.9-r2/temp/environment'.
*
* Messages for package x11-libs/gtk+-2.12.9-r2:
|
L'unico post trovato è in russo se non erro |
|
Back to top |
|
|
BikE Guru
Joined: 21 Dec 2004 Posts: 455 Location: Genova
|
Posted: Fri Apr 11, 2008 10:12 am Post subject: Re: compilazione gtk+ |
|
|
die-hard wrote: | L'unico post trovato è in russo se non erro |
Code: | Risultati 1 - 10 su circa 20.600 per Can't link to Pango. Pango is required to build. (0,32 secondi) |
|
|
Back to top |
|
|
codadilupo Advocate
Joined: 05 Aug 2003 Posts: 3135
|
Posted: Fri Apr 11, 2008 11:15 am Post subject: |
|
|
prova a dare un revdep-rebuild -p e verifica che sia tutto ok. Eventualmente puoi anche ricompilare pango con:
Code: | # emerge -av1 pango |
P.S.: posta versioni e USE di entrambi i pacchetti, cosi' capiamo qualcosa di piu'
Coda |
|
Back to top |
|
|
die-hard Apprentice
Joined: 20 Mar 2005 Posts: 255 Location: Italy
|
Posted: Sat Apr 12, 2008 1:56 pm Post subject: |
|
|
codadilupo wrote: | prova a dare un revdep-rebuild -p e verifica che sia tutto ok. Eventualmente puoi anche ricompilare pango con:
Code: | # emerge -av1 pango |
P.S.: posta versioni e USE di entrambi i pacchetti, cosi' capiamo qualcosa di piu'
Coda |
ecco i pacchetti consigliati da revdep-rebuild
Code: |
emerge --oneshot =media-libs/gstreamer-0.10.14 =net-libs/libsoup-2.2.104 =media-libs/gst-plugins-base-0.10.14 =app-text/ghostscript-gpl-8.61-r3 =net-print/libgnomecups-0.2.2 =gnome-base/libgnomeprint-2.18.4 =net-fs/samba-3.0.28 =x11-libs/gtk+-2.12.8 =sys-fs/ntfsprogs-2.0.0 =gnome-extra/evolution-data-server-1.12.3 =gnome-extra/evolution-webcal-2.12.0 =gnome-extra/bug-buddy-2.20.1 =app-text/tetex-3.0_p1-r6 =gnustep-base/gnustep-gui-0.12.1 =gnome-extra/libgsf-1.14.7 =net-print/gnome-cups-manager-0.31-r2 =gnome-extra/gnome-media-2.20.1
|
purtroppo emergendo questi pacchetti il primo a cui tocca è proprio gtk+
USEFLAGS:
Code: | VaioTux ~ # emerge -pv gtk+
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] x11-libs/gtk+-2.12.9-r2 [2.12.8] USE="X cups jpeg tiff -debug -doc -vim-syntax -xinerama" 0 kB
Total: 1 package (1 upgrade), Size of downloads: 0 kB
VaioTux ~ # |
|
|
Back to top |
|
|
codadilupo Advocate
Joined: 05 Aug 2003 Posts: 3135
|
Posted: Sat Apr 12, 2008 2:06 pm Post subject: |
|
|
eh, no!
revdep-rebuild ti impone di ricompilare la versione corrente delle gtk, emerge ti propone di aggiornarla. E i verbi non sono affatto casuali.
Comincia con:
Code: | emerge --oneshot =media-libs/gstreamer-0.10.14 =net-libs/libsoup-2.2.104 =media-libs/gst-plugins-base-0.10.14 =app-text/ghostscript-gpl-8.61-r3 =net-print/libgnomecups-0.2.2 =gnome-base/libgnomeprint-2.18.4 =net-fs/samba-3.0.28 =x11-libs/gtk+-2.12.8 =sys-fs/ntfsprogs-2.0.0 =gnome-extra/evolution-data-server-1.12.3 =gnome-extra/evolution-webcal-2.12.0 =gnome-extra/bug-buddy-2.20.1 =app-text/tetex-3.0_p1-r6 =gnustep-base/gnustep-gui-0.12.1 =gnome-extra/libgsf-1.14.7 =net-print/gnome-cups-manager-0.31-r2 =gnome-extra/gnome-media-2.20.1 |
Al primo fallimento procedi con:
Code: | emerge --resume --skipfirst |
e continua cosi' finche' non finiscono i pacchetti. Dopo dai nuovamente revdep-rebuild e daccapo finchè revdep-rebuild non smette di assillarti. Allora, e solo allora potrai aggiornare!
Coda |
|
Back to top |
|
|
Onip Advocate
Joined: 02 Sep 2004 Posts: 2912 Location: Parma (Italy)
|
Posted: Sun Apr 13, 2008 8:10 am Post subject: |
|
|
oppure prova con
Code: | # revdep-rebuild -X |
_________________ Linux Registered User n. 373835
Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum |
|
Back to top |
|
|
die-hard Apprentice
Joined: 20 Mar 2005 Posts: 255 Location: Italy
|
Posted: Sun Apr 13, 2008 8:50 am Post subject: |
|
|
Onip wrote: | oppure prova con
Code: | # revdep-rebuild -X |
|
niente da fare, ho provato con entrambi i metodi |
|
Back to top |
|
|
codadilupo Advocate
Joined: 05 Aug 2003 Posts: 3135
|
Posted: Mon Apr 14, 2008 6:50 am Post subject: |
|
|
ovvero ?
Tolte le gtk, il resto l'hai ricompilato ?
Coda |
|
Back to top |
|
|
die-hard Apprentice
Joined: 20 Mar 2005 Posts: 255 Location: Italy
|
Posted: Mon Apr 14, 2008 11:00 am Post subject: |
|
|
codadilupo wrote: | ovvero ?
Tolte le gtk, il resto l'hai ricompilato ?
Coda |
Riesco a compilare tutto ciò che non riguarda gnome |
|
Back to top |
|
|
codadilupo Advocate
Joined: 05 Aug 2003 Posts: 3135
|
Posted: Mon Apr 14, 2008 11:19 am Post subject: |
|
|
die-hard wrote: | Riesco a compilare tutto ciò che non riguarda gnome |
Ok, un test:
dopo aver dato
Code: | # quickpkg pango
# emerge -C pango |
cosa restituisce:
Coda |
|
Back to top |
|
|
die-hard Apprentice
Joined: 20 Mar 2005 Posts: 255 Location: Italy
|
Posted: Mon Apr 14, 2008 11:51 am Post subject: |
|
|
codadilupo wrote: | die-hard wrote: | Riesco a compilare tutto ciò che non riguarda gnome |
Ok, un test:
dopo aver dato
Code: | # quickpkg pango
# emerge -C pango |
cosa restituisce:
Coda |
ecco l'output :
Code: |
VaioTux ~ # quickpkg pango
* Building package for x11-libs/pango-1.20.2 ... [ ok ]
* Excluded config: '/etc/pango/pangox.aliases'
* Packages now in '/usr/portage/packages':
* x11-libs/pango-1.20.2: 680K
* Excluded config files: 1
* See --help if you would like to include config files.
VaioTux ~ #
VaioTux ~ # emerge -pvt gtk+
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[ebuild U ] x11-libs/gtk+-2.12.9-r2 [2.12.8] USE="X cups jpeg tiff -debug -doc -vim-syntax -xinerama" 0 kB
[ebuild N ] x11-libs/pango-1.20.2 USE="X -debug -doc" 0 kB
Total: 2 packages (1 upgrade, 1 new), Size of downloads: 0 kB
VaioTux ~ #
|
|
|
Back to top |
|
|
codadilupo Advocate
Joined: 05 Aug 2003 Posts: 3135
|
Posted: Mon Apr 14, 2008 1:24 pm Post subject: |
|
|
ok:
Code: | # grep -i gtk+ /etc/portage/package.* |
ti dice da quale file devi togliere il pacchetto.
Dopodichè:
A uqesto punto, se vuoi, puoi provare a smascherare di nuovo le gtk, ma penso tu debba smascherare un bel po' di altra roba (tipo pango), se vuoi usare la versione 2.12.9
Coda |
|
Back to top |
|
|
die-hard Apprentice
Joined: 20 Mar 2005 Posts: 255 Location: Italy
|
Posted: Mon Apr 14, 2008 5:02 pm Post subject: |
|
|
codadilupo wrote: | ok:
Code: | # grep -i gtk+ /etc/portage/package.* |
ti dice da quale file devi togliere il pacchetto.
Dopodichè:
A uqesto punto, se vuoi, puoi provare a smascherare di nuovo le gtk, ma penso tu debba smascherare un bel po' di altra roba (tipo pango), se vuoi usare la versione 2.12.9
Coda |
Il problema persiste...pls help me |
|
Back to top |
|
|
codadilupo Advocate
Joined: 05 Aug 2003 Posts: 3135
|
Posted: Tue Apr 15, 2008 6:29 am Post subject: |
|
|
cioe', anche compilando pango-1.20.2 le gtk+ alla versione stabile ( 2.8 ) non si compilano ?
Coda |
|
Back to top |
|
|
die-hard Apprentice
Joined: 20 Mar 2005 Posts: 255 Location: Italy
|
Posted: Tue Apr 15, 2008 1:45 pm Post subject: |
|
|
codadilupo wrote: | cioe', anche compilando pango-1.20.2 le gtk+ alla versione stabile ( 2.8 ) non si compilano ?
Coda |
esatto |
|
Back to top |
|
|
|