PDA

Visualizza la versione completa : [Mandrake 10] INSTALLAZIONE GTK


spider1985
05-07-2004, 00:21
SAlve a tutti!
PEr installare le gtk mi servono i pacchetti blib, pango, atk e naturalmente le gtk...
Ho provato ad installare prima le gtk ma mi dava un errore perch dovevo prima installare glib e pango...PRocedo con l'installazione di glib...e mi vengono fuori una marea di errori:
Tratto dal file INSTALL


% gzip -cd glib-2.4.0.tar.gz | tar xvf - # unpack the sources
% cd glib-2.4.0 # change to the toplevel directory
% ./configure # run the `configure' script
% make # build GLIB

[ Become root if necessary ]
% rm -rf /install-prefix/include/glib.h /install-prefix/include/gmodule.h
% make install # install GLIB



Eseguo i comandi scritti...ma quando vado a fare make install...ricevo tanti errori come ho gi detto, ve ne posto una parte:


garray.c:544: error: `length' undeclared (first use in this function)
garray.c:544: error: dereferencing pointer to incomplete type
garray.c:546: error: dereferencing pointer to incomplete type
garray.c:547: error: dereferencing pointer to incomplete type
garray.c:548: error: dereferencing pointer to incomplete type
garray.c:549: error: dereferencing pointer to incomplete type
garray.c:549: error: `gpointer' undeclared (first use in this function)
garray.c:551: error: dereferencing pointer to incomplete type
garray.c: At top level:
garray.c:562: error: parse error before "g_ptr_array_remove"
garray.c:562: error: parse error before '*' token
garray.c:564: warning: return type defaults to `int'
garray.c: In function `g_ptr_array_remove':
garray.c:565: error: `farray' undeclared (first use in this function)
garray.c:566: error: `guint' undeclared (first use in this function)
garray.c:566: error: parse error before "i"
garray.c:568: error: `FALSE' undeclared (first use in this function)
garray.c:570: error: `i' undeclared (first use in this function)
garray.c:570: error: dereferencing pointer to incomplete type
garray.c:572: error: dereferencing pointer to incomplete type
garray.c:572: error: `data' undeclared (first use in this function)
garray.c:575: error: `TRUE' undeclared (first use in this function)
garray.c: At top level:
garray.c:583: error: parse error before "g_ptr_array_remove_fast"
garray.c:583: error: parse error before '*' token
garray.c:585: warning: return type defaults to `int'
garray.c: In function `g_ptr_array_remove_fast':
garray.c:586: error: `farray' undeclared (first use in this function)
garray.c:587: error: `guint' undeclared (first use in this function)
garray.c:587: error: parse error before "i"
garray.c:589: error: `FALSE' undeclared (first use in this function)
garray.c:591: error: `i' undeclared (first use in this function)
garray.c:591: error: dereferencing pointer to incomplete type
garray.c:593: error: dereferencing pointer to incomplete type
garray.c:593: error: `data' undeclared (first use in this function)
garray.c:596: error: `TRUE' undeclared (first use in this function)
garray.c: At top level:
garray.c:604: error: parse error before '*' token
garray.c: In function `g_ptr_array_add':
garray.c:607: error: `farray' undeclared (first use in this function)
garray.c:613: error: dereferencing pointer to incomplete type
garray.c:613: error: dereferencing pointer to incomplete type
garray.c:613: error: `data' undeclared (first use in this function)
garray.c: At top level:
garray.c:617: error: parse error before '*' token
garray.c: In function `g_ptr_array_sort':
garray.c:620: error: `array' undeclared (first use in this function)
garray.c:624: error: `gpointer' undeclared (first use in this function)
garray.c:625: error: `compare_func' undeclared (first use in this function)
garray.c: At top level:
garray.c:629: error: parse error before '*' token
garray.c: In function `g_ptr_array_sort_with_data':
garray.c:633: error: `array' undeclared (first use in this function)
garray.c:637: error: `gpointer' undeclared (first use in this function)
garray.c:638: error: `compare_func' undeclared (first use in this function)
garray.c:639: error: `user_data' undeclared (first use in this function)
garray.c: At top level:
garray.c:653: error: parse error before '*' token
garray.c: In function `g_ptr_array_foreach':
garray.c:657: error: `guint' undeclared (first use in this function)
garray.c:657: error: parse error before "i"
garray.c:659: error: `array' undeclared (first use in this function)
garray.c:661: error: `i' undeclared (first use in this function)
garray.c:662: error: `func' undeclared (first use in this function)
garray.c:662: error: `user_data' undeclared (first use in this function)
garray.c: At top level:
garray.c:668: error: parse error before '*' token
garray.c:669: warning: return type defaults to `int'
garray.c: In function `g_byte_array_new':
garray.c:670: error: `GByteArray' undeclared (first use in this function)
garray.c:670: error: parse error before ')' token
garray.c: At top level:
garray.c:673: error: parse error before '*' token
garray.c:673: error: parse error before "reserved_size"
garray.c:674: warning: return type defaults to `int'
garray.c: In function `g_byte_array_sized_new':
garray.c:675: error: `GByteArray' undeclared (first use in this function)
garray.c:675: error: parse error before ')' token
garray.c: At top level:
garray.c:678: error: parse error before '*' token
garray.c:678: error: parse error before '*' token
garray.c:680: warning: return type defaults to `int'
garray.c: In function `g_byte_array_free':
garray.c:681: error: `guint8' undeclared (first use in this function)
garray.c:681: error: parse error before ')' token
garray.c: At top level:
garray.c:684: error: parse error before '*' token
garray.c:684: error: parse error before '*' token
garray.c:687: warning: return type defaults to `int'
garray.c: In function `g_byte_array_append':
garray.c:688: error: `GArray' undeclared (first use in this function)
garray.c:688: error: parse error before ')' token
garray.c:690: error: `array' undeclared (first use in this function)
garray.c: At top level:
garray.c:693: error: parse error before '*' token
garray.c:693: error: parse error before '*' token
garray.c:696: warning: return type defaults to `int'
garray.c: In function `g_byte_array_prepend':
garray.c:697: error: `GArray' undeclared (first use in this function)
garray.c:697: error: parse error before ')' token
garray.c:699: error: `array' undeclared (first use in this function)
garray.c: At top level:
garray.c:702: error: parse error before '*' token
garray.c:702: error: parse error before '*' token
garray.c:704: warning: return type defaults to `int'
garray.c: In function `g_byte_array_set_size':
garray.c:705: error: `GArray' undeclared (first use in this function)
garray.c:705: error: parse error before ')' token
garray.c:707: error: `array' undeclared (first use in this function)
garray.c: At top level:
garray.c:710: error: parse error before '*' token
garray.c:710: error: parse error before '*' token
garray.c:712: warning: return type defaults to `int'
garray.c: In function `g_byte_array_remove_index':
garray.c:713: error: `GArray' undeclared (first use in this function)
garray.c:713: error: parse error before ')' token
garray.c:715: error: `array' undeclared (first use in this function)
garray.c: At top level:
garray.c:718: error: parse error before '*' token
garray.c:718: error: parse error before '*' token
garray.c:720: warning: return type defaults to `int'
garray.c: In function `g_byte_array_remove_index_fast':
garray.c:721: error: `GArray' undeclared (first use in this function)
garray.c:721: error: parse error before ')' token
garray.c:723: error: `array' undeclared (first use in this function)
garray.c: At top level:
garray.c:726: error: parse error before '*' token
garray.c:727: error: parse error before '*' token
garray.c:730: warning: return type defaults to `int'
garray.c: In function `g_byte_array_remove_range':
garray.c:731: error: `array' undeclared (first use in this function)
garray.c:732: error: `index_' undeclared (first use in this function)
garray.c:733: error: `length' undeclared (first use in this function)
garray.c:735: error: `GByteArray' undeclared (first use in this function)
garray.c:735: error: parse error before ')' token
garray.c: At top level:
garray.c:739: error: parse error before '*' token
garray.c: In function `g_byte_array_sort':
garray.c:742: error: `GArray' undeclared (first use in this function)
garray.c:742: error: parse error before ')' token
garray.c: At top level:
garray.c:746: error: parse error before '*' token
garray.c: In function `g_byte_array_sort_with_data':
garray.c:750: error: `GArray' undeclared (first use in this function)
garray.c:750: error: parse error before ')' token
make[3]: *** [garray.lo] Error 1
make[3]: Leaving directory `/home/damiano/programmi/setup/glib-2.4.0/glib'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/damiano/programmi/setup/glib-2.4.0/glib'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/damiano/programmi/setup/glib-2.4.0'
make: *** [install] Error 2


Ma cosa successo??? :dh:

francofait
05-07-2004, 00:24
Ma installare tutto dai cdrom della distro cosi diffile ?
:D :cry: :ciauz:

spider1985
05-07-2004, 00:29
MI chiede il cd 4 ho solo i primi tre...ma cos' questo errore?

francofait
05-07-2004, 00:34
si ma librerie di sistema e ambiente di sviluppo sono tutte sui primi 3 cdom. Bastano ed avanzano , sufficente un installazione completa con tutti gli ambienti.

spider1985
05-07-2004, 00:36
ma trovo una marea di pacchetti scrivendo gtk nella ricerca sul centro di controllo di mandrake...
Cmq perch questo errore??

fra7576
05-07-2004, 01:00
ma fare una bella installazione completa almeno la prima volta ?? :D

spider1985
05-07-2004, 01:08
cio???aggiungo tutti i pacchetti in fase di installazione???
MA cavolo nessuno sa che problema ???
ALla fine si risolve sempre cosi???
:dh:

francofait
05-07-2004, 01:45
Originariamente inviato da spider1985
ma trovo una marea di pacchetti scrivendo gtk nella ricerca sul centro di controllo di mandrake...
Cmq perch questo errore??

Certo che trovi una marea di pacchetti, le gtk sono di sistema per l'ambiente grafico, e le devi installare tutte, in versione originle altrimenti scontato che sconvolgi tutto.
Non hai alternative.
:ciauz: :ciauz:

spider1985
05-07-2004, 01:57
se li installo tutti mi chiede il cd numero 4...che non ho...non pu esserci un altra risoluzione del problema??

francofait
05-07-2004, 02:00
Originariamente inviato da spider1985
se li installo tutti mi chiede il cd numero 4...che non ho...non pu esserci un altra risoluzione del problema??

quando ti chiede il numero 4 , esci
Quelle incluse nei primi 3 sono sufficenti.

Loading