Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compilazione gtk+
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
die-hard
Apprentice
Apprentice


Joined: 20 Mar 2005
Posts: 255
Location: Italy

PostPosted: Fri Apr 11, 2008 7:30 am    Post subject: compilazione gtk+ Reply with quote

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
View user's profile Send private message
BikE
Guru
Guru


Joined: 21 Dec 2004
Posts: 455
Location: Genova

PostPosted: Fri Apr 11, 2008 10:12 am    Post subject: Re: compilazione gtk+ Reply with quote

die-hard wrote:
L'unico post trovato è in russo se non erro :)


8O 8O
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
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Fri Apr 11, 2008 11:15 am    Post subject: Reply with quote

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
View user's profile Send private message
die-hard
Apprentice
Apprentice


Joined: 20 Mar 2005
Posts: 255
Location: Italy

PostPosted: Sat Apr 12, 2008 1:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Sat Apr 12, 2008 2:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Sun Apr 13, 2008 8:10 am    Post subject: Reply with quote

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
View user's profile Send private message
die-hard
Apprentice
Apprentice


Joined: 20 Mar 2005
Posts: 255
Location: Italy

PostPosted: Sun Apr 13, 2008 8:50 am    Post subject: Reply with quote

Onip wrote:
oppure prova con
Code:
# revdep-rebuild -X


niente da fare, ho provato con entrambi i metodi :(
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Mon Apr 14, 2008 6:50 am    Post subject: Reply with quote

ovvero ?
Tolte le gtk, il resto l'hai ricompilato ?

Coda
Back to top
View user's profile Send private message
die-hard
Apprentice
Apprentice


Joined: 20 Mar 2005
Posts: 255
Location: Italy

PostPosted: Mon Apr 14, 2008 11:00 am    Post subject: Reply with quote

codadilupo wrote:
ovvero ?
Tolte le gtk, il resto l'hai ricompilato ?

Coda


Riesco a compilare tutto ciò che non riguarda gnome :(
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Mon Apr 14, 2008 11:19 am    Post subject: Reply with quote

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:
Code:
# emerge -pvt gtk+
:?:

Coda
Back to top
View user's profile Send private message
die-hard
Apprentice
Apprentice


Joined: 20 Mar 2005
Posts: 255
Location: Italy

PostPosted: Mon Apr 14, 2008 11:51 am    Post subject: Reply with quote

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:
Code:
# emerge -pvt gtk+
:?:

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
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Mon Apr 14, 2008 1:24 pm    Post subject: Reply with quote

ok:

Code:
# grep -i gtk+ /etc/portage/package.*


ti dice da quale file devi togliere il pacchetto.

Dopodichè:

Code:
# emerge -k world


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
View user's profile Send private message
die-hard
Apprentice
Apprentice


Joined: 20 Mar 2005
Posts: 255
Location: Italy

PostPosted: Mon Apr 14, 2008 5:02 pm    Post subject: Reply with quote

codadilupo wrote:
ok:

Code:
# grep -i gtk+ /etc/portage/package.*


ti dice da quale file devi togliere il pacchetto.

Dopodichè:

Code:
# emerge -k world


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
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Tue Apr 15, 2008 6:29 am    Post subject: Reply with quote

cioe', anche compilando pango-1.20.2 le gtk+ alla versione stabile ( 2.8 ) non si compilano ?

Coda
Back to top
View user's profile Send private message
die-hard
Apprentice
Apprentice


Joined: 20 Mar 2005
Posts: 255
Location: Italy

PostPosted: Tue Apr 15, 2008 1:45 pm    Post subject: Reply with quote

codadilupo wrote:
cioe', anche compilando pango-1.20.2 le gtk+ alla versione stabile ( 2.8 ) non si compilano ?

Coda


esatto :(
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