Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Problema 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
umbytux
n00b
n00b


Joined: 22 Sep 2007
Posts: 2

PostPosted: Mon Nov 12, 2007 4:29 pm    Post subject: [SOLVED] Problema compilazione gtk+ Reply with quote

Salve a tutti,
premetto che sono un utente nuovo in gentoo (ho installato gentoo la prima volta un mese fa),
ho un problema con la compilazione dell'ebuild gtk+ :( avendo compilato kde-meta
non riesco a capire cosa possa essere.....
l'errore che mi da è questo:

gtkprintercups.c: In function 'gtk_printer_cups_get_ppd_name':
gtkprintercups.c:138: warning: assignment discards qualifiers from pointer target type
gtkcupsutils.c: In function '_post_send':
gtkcupsutils.c:631: error: dereferencing pointer to incomplete type
gtkcupsutils.c: In function '_get_send':
gtkcupsutils.c:970: error: dereferencing pointer to incomplete type
make[4]: *** [gtkcupsutils.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.10.13/work/gtk+-2.10.13/modules/printbackends/cups'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.10.13/work/gtk+-2.10.13/modules/printbackends'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.10.13/work/gtk+-2.10.13/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.10.13/work/gtk+-2.10.13'
make: *** [all] Error 2
*
* ERROR: x11-libs/gtk+-2.10.13 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* gtk+-2.10.13.ebuild, line 108: Called die
* The specific snippet of code:
* emake || die "compile failed"
* The die message:
* compile 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.10.13/temp/build.log'.
*


Last edited by umbytux on Tue Nov 13, 2007 2:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3789
Location: sleeping in the bathtub

PostPosted: Mon Nov 12, 2007 4:43 pm    Post subject: Reply with quote

Try `echo x11-libs/gtk+ -cups >> /etc/portage/package.keywords && emerge -1 gtk+`
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon Nov 12, 2007 4:45 pm    Post subject: Reply with quote

Moved from Portage & Programming to Forum italiano (Italian).
sayonara dude
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Mon Nov 12, 2007 4:55 pm    Post subject: Re: Problema compilazione gtk+ Reply with quote

umbytux wrote:
Salve a tutti,
premetto che sono un utente nuovo in gentoo (ho installato gentoo la prima volta un mese fa),
ho un problema con la compilazione dell'ebuild gtk+ :( avendo compilato kde-meta
non riesco a capire cosa possa essere.....
l'errore che mi da è questo:

gtkprintercups.c: In function 'gtk_printer_cups_get_ppd_name':
gtkprintercups.c:138: warning: assignment discards qualifiers from pointer target type
gtkcupsutils.c: In function '_post_send':
gtkcupsutils.c:631: error: dereferencing pointer to incomplete type
gtkcupsutils.c: In function '_get_send':
gtkcupsutils.c:970: error: dereferencing pointer to incomplete type
...

* 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.10.13/temp/build.log'.
*


umbytux, se nell'applicatione gtk non ti serve il supporto per cups (stampa) prova con il suggerimento di Hopeless.
Se invece ti serve dovresti postare l'output completo in modo che si può risalire all'errore principale (presumibilmente una dipendenza mancante).

Benvenuto nel forum italiano ;-)
_________________
Ciao da me!
Back to top
View user's profile Send private message
umbytux
n00b
n00b


Joined: 22 Sep 2007
Posts: 2

PostPosted: Tue Nov 13, 2007 2:40 pm    Post subject: Reply with quote

Grazie innanzitutto per l'accoglienza
Io per il momento ho tolto il supporto cups ed è andato a buon fine :)
Piu avanti chiederò perchè avro bisogno di cups
Grazie dell'aiuto :)
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: Tue Nov 13, 2007 5:10 pm    Post subject: Reply with quote

Molto a naso... non è che l'automake di gtk tenta di far qualcosa con il sever cups che invece non è stato attivato?
Prova così
Code:
/etc/init.d/cupsd start
USE="-doc" emerge -1Nu glib pango gtk+

_________________
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