Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Install]file make.conf e variabile USE
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
effeuno
Apprentice
Apprentice


Joined: 23 Dec 2003
Posts: 292

PostPosted: Thu Oct 07, 2004 7:28 am    Post subject: [Install]file make.conf e variabile USE Reply with quote

Nel mio file make.conf non ho nessuna variabile USE!!!!
Ho emergiato i seguenti pacchetti:
bootsplash, Xorg, fluxbox, eterm, elinks, firefox, vim, rox, aterm.
Non ho riscontrato problemi a parte un acerca lentezza di lancio di firefox di cui tratto in apposito topic.
Mi spiegate se devo aggiungere qualche USE particolare e, sopratutto se devo farlo.
Grazie.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Thu Oct 07, 2004 7:31 am    Post subject: Reply with quote

Delle use di default ci sono in make.profile (o qualcosa del genere), questo file non si deve toccare. Per aggiungere delle tue use (o togliere quelle di default) editi il tuo make.conf e metti la linea
Code:
USE="quelle che vuoi"

per toglierne una di default che non ti piace basta che metti -nome_use. Per vedere quali sono di default lancia
Code:
emerge info | grep USE

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mouser
Veteran
Veteran


Joined: 10 Aug 2004
Posts: 1419
Location: Milano

PostPosted: Thu Oct 07, 2004 7:32 am    Post subject: Reply with quote

effeuno wrote:

Nel mio file make.conf non ho nessuna variabile USE!!!!

8O 8O 8O 8O
questo è male....

Comunque, per come sei messo questo potrebbe essere un inizio
Code:

USE="-qt -kde -gtk -gnome"

per il resto..... devi vedere il tuo sistema!

My 2 cent
mouser :wink:
Back to top
View user's profile Send private message
mouser
Veteran
Veteran


Joined: 10 Aug 2004
Posts: 1419
Location: Milano

PostPosted: Thu Oct 07, 2004 7:34 am    Post subject: Reply with quote

Code:

Dal messaggio di fedeliallalinea
[b]Inviato: Gio Ott 07, 2004 4:31 am[/b]

Dal messaggio di mouser
[b]Inviato: Gio Ott 07, 2004 4:32 am[/b]


fedeli, ma sei una macchina 8O 8O
Back to top
View user's profile Send private message
effeuno
Apprentice
Apprentice


Joined: 23 Dec 2003
Posts: 292

PostPosted: Thu Oct 07, 2004 7:47 am    Post subject: Reply with quote

Se ho capito bene le USE necessarie sono gia' presenti.
Quindi se tutto mi funziona ..... dovrebbe essere ok!
Se mi mancassero delle USE non potrei compilare qualche pacchetto, o sbaglio.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Thu Oct 07, 2004 7:51 am    Post subject: Reply with quote

effeuno wrote:
Se ho capito bene le USE necessarie sono gia' presenti.

No le USE non sono necessarie sono un'opzione. Diventano necessarie quando ne hai bisogno. Esempio voglio apache con supporto mysql aggiungo questa USE ad apache, se non la metto compilera' ugualmente ma se devo avere un db mysql interfacciato con apache non funzionera'.

effeuno wrote:
Se mi mancassero delle USE non potrei compilare qualche pacchetto, o sbaglio.

Sbagli ti ho detto sopra a che servono
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
effeuno
Apprentice
Apprentice


Joined: 23 Dec 2003
Posts: 292

PostPosted: Thu Oct 07, 2004 7:58 am    Post subject: Reply with quote

fedeliallalinea wrote:
Diventano necessarie quando ne hai bisogno. Esempio voglio apache con supporto mysql aggiungo questa USE ad apache, se non la metto compilera' ugualmente ma se devo avere un db mysql interfacciato con apache non funzionera'.


Se ho capito bene in questo caso prima di compilare controllo se nella USE mysql e' presente, se non lo trovo vado ad aggiungerlo in make.conf,,compilo e poi posso toglierlo dal make.conf.
Per conoscere quali USE devo aggiungere come posso fare.
Nel senso che, con il solito esempio, per sapere se devo aggiungere mysql oppure MYsql come posso fare?
Back to top
View user's profile Send private message
mouser
Veteran
Veteran


Joined: 10 Aug 2004
Posts: 1419
Location: Milano

PostPosted: Thu Oct 07, 2004 8:01 am    Post subject: Reply with quote

Invece di mettere e togliere voci a make.conf puoi utilizzare
Code:

# USE="mysql" emerge -av apache


Ciauz
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Thu Oct 07, 2004 8:03 am    Post subject: Reply with quote

No se non la vuoi globale ma specifica a quel pacchetto nel tuo file (magari devi creare cartella e file) /etc/portage/package.use metti
Code:
net-www/apache mysql

cosi' facendo ogni aggiornamento di apace ti compilera' con la use mysql senza che compili altri pacchetti con questa USE.

Per sapere che USE ha un pacchetto dai
Code:
# emerge -pv nome_pacchetto

Quelle in rosso con un + sono quella attivate, mentre quelle in blu con un - sono quelle attivabili (o non attivate)
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Trust No One
n00b
n00b


Joined: 14 Oct 2004
Posts: 53
Location: Firenze,Italy

PostPosted: Mon Oct 18, 2004 2:10 pm    Post subject: Reply with quote

quindi quelle col + sono attivate anche senza avere nessuna variabile USE nel make.conf?

Last edited by Trust No One on Mon Oct 18, 2004 2:17 pm; edited 2 times in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Mon Oct 18, 2004 2:14 pm    Post subject: Reply with quote

Trust No One wrote:
quindi quelle col + sono attivate anche senza avere nessuna variabile USE nel make.conf?

Si perche' legge dei file di sistema che hanno quelle use. Leggi la faq sotto FG18 https://forums.gentoo.org/viewtopic.php?t=233661
_________________
Questions are guaranteed in life; Answers aren't.
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