Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problemi installazione gentoo
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
zack77
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2005
Posts: 87

PostPosted: Mon May 16, 2005 11:41 am    Post subject: Reply with quote

vero si sta andando ot

scusate.....
Back to top
View user's profile Send private message
zack77
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2005
Posts: 87

PostPosted: Mon May 16, 2005 12:37 pm    Post subject: Reply with quote

ah.... curiosita:
il comando emerge... x esempio emerge kernel-sources.... da che directory lo devo lanciare? da /usr/src/linux ?

e x altri casi? x esempio se installassi un programma?
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Mon May 16, 2005 3:50 pm    Post subject: Reply with quote

emerge lo puoi lanciare da dove vuoi....

Se ti stai domandando perché "make menuconfig" va per forza eseguito nella dir dove risiede il kernel la ragione è questa:
il comando make esegue il makefile che trova nella directory in cui è... l'opzione menuconfig (che è un opzione del makefile, non del comando make) viene usata per configurare il kernel (e scrivere alla fine il .config) prima del processo di compilazione vero e proprio...
Capirari pertanto che se esegui "make" in una directort diversa esegui l'eventuale makefile del programma i cui sorgenti sono riposti in tale dir....

I comandi che sono nel PATH, una variabile che contiene i percorsi delle directory che di default contengono gli eseguibili, possono essere eseguiti dovunque, senza bisogno di specificare il percorso competo del comando (tipo /usr/bin/emerge per esempio)
di default il path di root contiene /bin, /sbin, /usr/bin e /usr/sbin, mente quello degli utenti sono /bin e /usr/bin visto che il sbin ci stanno i comandi che vengono eseguiti solo da root (non è proprio vero ma poco ci manca)

Andando nello specifico del comando "emerge", questo serve per scaricare, configurare, compilare e installare automaticamente i programmi seguendo le regole indicate nell'ebuild, che risiede in /usr/portage
quando dai per esempio "emerge xorg-x11" ti viene scaricato, configurato, compilato e installato xorg seguendo le regole dettate nell'ebuild /usr/portage/x11-base/xorg-x11/xorg-x11-<numeroversione>.ebuild
Il programma viene installato nella directory che gli pertiene e non in quella da cui dai il comando, pertanto è perfettamente identico lanciare il comando da qualsiasi punto dell'albero delle directory

Ti consiglio caldamente una lettura di
Code:
man portage
man emerge
man make.conf

nonché della guida gentoo se hai tempo :wink:
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
zack77
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2005
Posts: 87

PostPosted: Tue May 17, 2005 6:46 am    Post subject: Reply with quote

grazie mille x la risposta + che esaustiva
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
Goto page Previous  1, 2
Page 2 of 2

 
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