PDA

Visualizza la versione completa : Problema debian minimale


best1980
05-12-2004, 18:14
Ciao a tutti. Ho installato una debian minimale partendo da woody. Da qui ho editato sources.list e inserito i repository per 'sid'. Ho aggiornato tutto a sid e dopo aver installato il server X e fluxbox come window manager ora funziona tutto. Installando verie cose mi sono accorto che mancavano vari pacchetti fondamentali. Due tra tutti sono 'make' e 'gcc'. Ora sto installando delle dockapps e mi sono accorto che mancano dei file fondamentali come stdio.h o stlib.h e altri. Quello che voglio chiedervi : che pacchetti devo installare per aver a disposizione questi file?

Inoltre oltre a gcc e make ci saranno altri pacchetti basilari che non mi venuto ancora in mente di installare. Quali??

Grazie a tutti per l'aiuto che mi darete...

CIAO

andy caps
05-12-2004, 19:50
dovrebbe essere libc6-dev

dai comunque
apt-get install libc6-dev debianutils debconf pciutils dpkg-dev g++ cpp make binutils automake autoconf


http://www.debian.org/doc/manuals/apt-howto/ch-search.it.html

Enrico81
05-12-2004, 20:09
Originariamente inviato da best1980
Ciao a tutti. Ho installato una debian minimale partendo da woody. Da qui ho editato sources.list e inserito i repository per 'sid'. Ho aggiornato tutto a sid e dopo aver installato il server X e fluxbox come window manager ora funziona tutto. Installando verie cose mi sono accorto che mancavano vari pacchetti fondamentali. Due tra tutti sono 'make' e 'gcc'. Ora sto installando delle dockapps e mi sono accorto che mancano dei file fondamentali come stdio.h o stlib.h e altri. Quello che voglio chiedervi : che pacchetti devo installare per aver a disposizione questi file?

Inoltre oltre a gcc e make ci saranno altri pacchetti basilari che non mi venuto ancora in mente di installare. Quali??

Grazie a tutti per l'aiuto che mi darete...

CIAO

Io di solito dopo l'installazione del sistema di base installo anche:

# apt-get install make gcc modutils binutils libncurses*

e non ho problemi particolari, funziona tutto.


ps. per quanto riguarda binutils e modutils, uno dei due gi presente alla fine dell'installazione ma non mi ricordo mai quale e cmq il sistema ti dice che gi installato e non ci sono problemi.

best1980
05-12-2004, 20:41
Grazie ragazzi. Ora installo i pacchetti e poi vi faccio sapere... :)

best1980
05-12-2004, 21:12
Ho installato i pacchetti che mi avete detto e ora ho molti meno errori in compilazione, ma quando cerco di compilare le dockapps che ho scaricato ricevo cmq diversi errori. Per le dockapps che pacchetti dovrei installare in generale?? Una volta avevo fluxbox su slackware e la compilazione delle dockapps non mi dava tutti questi problemi forse perch alcuni pacchetti erano gi installati nell'installazione di base di slack ma ora che sono partito da una debian minimale ho diversi problemi... :dh:

Mi sapete aiutare???

GRAZIE

andy caps
05-12-2004, 21:23
se incolli gli errori di compilazione si puo vedere
in genere prima dell'errore dice cosa gli manca

best1980
05-12-2004, 21:48
Per esempio la dockapps wmtz-0.7

dando un make 2> error, il file error contiene:
wmtz.c:54:15: missing terminating " character
wmtz.c:55: error: parse error before ':' token
wmtz.c:67: error: parse error before '}' token
wmtz.c:67: warning: type defaults to `int' in declaration of `timezone_t'
wmtz.c:67: warning: data definition has no type or storage class
wmtz.c:73: error: parse error before "zone"
wmtz.c:73: warning: type defaults to `int' in declaration of `zone'
wmtz.c:73: warning: data definition has no type or storage class
wmtz.c: In function `wmtz_routine':
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:316: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:322: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:332: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:340: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union
wmtz.c:349: error: request for member `label' in something not a structure or union

best1980
05-12-2004, 21:49
wmtz.c:353: error: request for member `epoch' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:359: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:369: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:379: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:398: error: request for member `label' in something not a structure or union
wmtz.c:400: error: request for member `tz' in something not a structure or union
wmtz.c:425: error: request for member `label' in something not a structure or union
wmtz.c:425: error: request for member `label' in something not a structure or union
wmtz.c:425: error: request for member `label' in something not a structure or union
wmtz.c:425: error: request for member `label' in something not a structure or union
wmtz.c:425: error: request for member `label' in something not a structure or union
wmtz.c:434: error: request for member `diff' in something not a structure or union
wmtz.c:482: warning: deprecated use of label at end of compound statement
wmtz.c: In function `handleTheMenu':
wmtz.c:532: warning: deprecated use of label at end of compound statement
wmtz.c: In function `Read_Config_File':
wmtz.c:635: error: request for member `label' in something not a structure or union
wmtz.c:636: error: request for member `label' in something not a structure or union
wmtz.c:637: error: request for member `label' in something not a structure or union
wmtz.c:638: error: request for member `label' in something not a structure or union
wmtz.c:639: error: request for member `label' in something not a structure or union
wmtz.c:640: error: request for member `diff' in something not a structure or union
wmtz.c:641: error: request for member `diff' in something not a structure or union
wmtz.c:642: error: request for member `diff' in something not a structure or union
wmtz.c:643: error: request for member `diff' in something not a structure or union
wmtz.c:644: error: request for member `diff' in something not a structure or union
wmtz.c:645: error: request for member `epoch' in something not a structure or union
wmtz.c:646: error: request for member `epoch' in something not a structure or union
wmtz.c:647: error: request for member `epoch' in something not a structure or union
wmtz.c:648: error: request for member `epoch' in something not a structure or union
wmtz.c:649: error: request for member `epoch' in something not a structure or union
wmtz.c:652: error: request for member `tz' in something not a structure or union
wmtz.c:654: error: request for member `tz' in something not a structure or union
wmtz.c:656: error: request for member `tz' in something not a structure or union
wmtz.c:658: error: request for member `tz' in something not a structure or union
wmtz.c:660: error: request for member `tz' in something not a structure or union
make: *** [wmtz.o] Error 1


HELP :(

andy caps
05-12-2004, 22:06
in questo caso io proverei ad installare

apt-get install wmtz

come si chiama il pacchetto che stai compilando ?

andy caps
05-12-2004, 22:09
altrimenti dando questo comando vedi da che pacchetti dipende

ndy:~# apt-cache depends wmtz
wmtz
Depends: libc6
|Depends: libx11-6
Depends: xlibs
|Depends: libxext6
Depends: xlibs
|Depends: libxpm4
Depends: xlibs
andy:~#

installandoli dovresti risolvere

Loading