Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Differenza tra atom ed ebuild
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
Nio84
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2009
Posts: 140

PostPosted: Mon Jun 28, 2010 11:19 am    Post subject: Differenza tra atom ed ebuild Reply with quote

Salve...Ho provato a leggere qualche guida su portage ecc..

Allora cosa sono i metapacchetti l'ho capito....ma non riesco a capire la differenza tra atom ed ebuild
Cioè che differenza c'è tra quando gentoo mi dice "invalid package atom " e quando mi parla di ebuilds??
_________________
IL DESTINO è CONTRO DI ME?!.....................TANTO PEGGIO PER LUI!!!
Back to top
View user's profile Send private message
bi-andrea
Apprentice
Apprentice


Joined: 09 Mar 2010
Posts: 171
Location: cesenatico

PostPosted: Mon Jun 28, 2010 2:36 pm    Post subject: Reply with quote

da quello che ho capito atom sta per un singolo pacchetto, mentre ebuild sta per un binario che racchiude un lotto di pacchetti, es. gnome-light, gnome, kde-meta,......
Per avere indalid atom per caso stai cercando di usare flag USE per ogni singolo pacchetto?
_________________
Quando arrivi a Linux è un trauma, abituati a Windows, quando arrivi a Gentoo è uno spavento col brivido , però quando lo capisci sei uscito dall'università "GNU/Linux" ;)
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Mon Jun 28, 2010 2:39 pm    Post subject: Reply with quote

un ebuild è la serie di istruzioni che servono per

a. scaricare il sorgente
b. compilare
c. installare

per ogni pacchetto presente in portage. Queste istruzioni sono memorizzate in un file: /usr/portage/categoria/pacchetto-versione.ebuild.

L'atom è la rappresentazione di un pacchetto in un range di versioni ( "uguale a", "minore di", "maggiore di" ) che portage utilizza nei suoi file di configurazione, cioè i vari package.* sotto /etc/portage .
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Mon Jun 28, 2010 2:48 pm    Post subject: Reply with quote

@bi-andrea
capisco l'entusiasmo e la voglia di aiutare (ci sono passati più o meno tutti qui dentro). Ma se non si sanno le cose fare confusione nella testa degli altri non è assolutamente produttivo, anzi spesso ci si mette del tempo poi a far tornare i concetti "al posto giusto".
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Mon Jun 28, 2010 4:59 pm    Post subject: Reply with quote

come approfondimento.

qatom (app-portage/portage-utils)è il comando che analizza gli atom, trattandoli come stringhe (ed, eventualmente, confrontandoli):
Code:

s939 ~ # qatom dev-lang/python-2.6.5-r2 dev-lang/python-3.1.2-r3
dev-lang python 2.6.5 r2
dev-lang python 3.1.2 r3
s939 ~ # qatom -c dev-lang/python-2.6.5-r2 dev-lang/python-3.1.2-r3
dev-lang/python-2.6.5-r2 < dev-lang/python-3.1.2-r3
s939 ~ # qatom -c dev-lang/python-2.6.5-r2 kde-base/kopete-4.4.4-r2
dev-lang/python-2.6.5-r2 != kde-base/kopete-4.4.4-r2

man qatom
man q


ebuild, a volte, è un termine usato per indicare i tarball prodotti da emerge, ed è anche un comando (man ebuild).
tra le altre cose, permette di scomporre in fasi le operazioni che emerge esegue durante una compilazione.
per esempio,
Code:
ebuild unpack <atom>
esegue esclusivamente la fase di scaricamento e scompattamento del codice sorgente.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Nio84
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2009
Posts: 140

PostPosted: Tue Jun 29, 2010 1:11 am    Post subject: Reply with quote

Si piu' o meno avevo inteso....ho chiesto perche se dichiaro le USE per ogni pacchetto in package.use mi dice invalid atom
_________________
IL DESTINO è CONTRO DI ME?!.....................TANTO PEGGIO PER LUI!!!
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Tue Jun 29, 2010 7:11 pm    Post subject: Reply with quote

Non sarà che forse le dichiari male queste use all'interno di tale file?
Oppure inserisci qualcosa che portage non digerisce.
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Tue Jun 29, 2010 8:07 pm    Post subject: Reply with quote

Nio84 wrote:
Si piu' o meno avevo inteso....ho chiesto perche se dichiaro le USE per ogni pacchetto in package.use mi dice invalid atom

ok. allora ogni riga del file package.use è un atom.
se ricavi quei messaggi, significa che qualcuno di essi è scritto male.
_________________
vu vu vu
gentù
mi piaci tu
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