View previous topic :: View next topic |
Author |
Message |
198728 l33t
Joined: 08 Apr 2009 Posts: 693
|
Posted: Wed Jan 04, 2012 9:42 pm Post subject: Chiarimento ovelay [risolto] |
|
|
Voglio installare su una macchina con gentoo x64 e gnome, amuleadu-9999 (dottout) ma ho diversi problemi.
Ho fatto l'emerge di layman e installato l'overlay dottout; copiato nella sua cartella l'ebuild creato il manifest e fatto l'emerge.
Nonostante amule non parte, per problemi di configurazione gtk (forse l'utente deve essere nel gruppo video...), l'installazione è andata a buon fine; ogni volta che lancio emerge ricevo un messaggio d'errore Code: | shell-init: error retrieving current directory: getcwd: cannot access parent directories: File o directory non esistente | sicuramente per un'errore nel percorso inserito nel make.conf Code: | # These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=core2 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
VIDEO_CARDS="nvidia"
INPUT_DEVICES="keyboard mouse evdev"
LINGUAS="it"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_LICENSE="skype-eula"
KEYWORDS="~amd64"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="sqlite python gtk gnome -qt4 -kde X dbus -hal dvd alsa cdr udev lm_sensors"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/"
SYNC="rsync://rsync1.at.gentoo.org/gentoo-portage"
PORTDIR_OVERLAY="source /var/lib/layman/make.conf" |
Non mi ci ritrovo più...
EDIT: ho modificato il percorso nel make.conf in PORTDIR_OVERLAY="source /var/lib/layman/dottout" e ora è cambiato anche il messaggio d'errore Code: | !!! Invalid PORTDIR_OVERLAY (not a dir): 'source' |
P.S. come root amule funziona senza problemi
EDIT: ho eliminato source e ora non ho più nessun errore
Last edited by 198728 on Thu Jan 05, 2012 10:20 am; edited 1 time in total |
|
Back to top |
|
|
k01 Arch/Herd Tester
Joined: 13 Feb 2008 Posts: 617 Location: Milano
|
Posted: Wed Jan 04, 2012 9:53 pm Post subject: |
|
|
Quote: | Ho fatto l'emerge di layman e installato l'overlay dottout; copiato nella sua cartella l'ebuild creato il manifest e fatto l'emerge. |
che guida hai seguito per le ultime operazioni?? in make.conf devi aggiungere semplicemente source "/var/lib/layman/make.conf" non PORTDIR_OVERLAY="source /var/lib/layman/make.conf", e l'ebuild la trova da solo in /var/lib/layman/nomeoverlay senza bisogno di copiarla da altre parti |
|
Back to top |
|
|
198728 l33t
Joined: 08 Apr 2009 Posts: 693
|
Posted: Wed Jan 04, 2012 9:59 pm Post subject: |
|
|
Ho seguito http://www.gentoo.org/proj/it/overlays/userguide.xml
Se lascio come percorso /var/lib/layman/make.conf ricevo l'errore se invece indico /var/lib/layman/dottout l'errore sparisce. E' corretto? cosa deve essere indicato nel file make.conf nella cartella layman? |
|
Back to top |
|
|
k01 Arch/Herd Tester
Joined: 13 Feb 2008 Posts: 617 Location: Milano
|
Posted: Wed Jan 04, 2012 10:07 pm Post subject: |
|
|
è corretto nel senso che funziona, ma non è la via più giusta. /var/lib/layman/make.conf è lì apposta per evitare di modificare a mano la variabile PORTDIR_OVERLAY in make.conf ogni volta che si aggiunge o si cancella un overlay, il contenuto non è altro che la variabile PORTDIR_OVERLAY, nel tuo caso dovrebbe essere
Quote: | PORTDIR_OVERLAY="
/var/lib/layman/dottout
$PORTDIR_OVERLAY
" |
la via giusta come già detto è quella di aggiungere la riga
Quote: | source "/var/lib/layman/make.conf" |
a /etc/make.conf, PORTDIR_OVERLAY puoi anche non specificarla |
|
Back to top |
|
|
198728 l33t
Joined: 08 Apr 2009 Posts: 693
|
Posted: Wed Jan 04, 2012 10:13 pm Post subject: |
|
|
Come mi indichi effettivamente non ricevo nessun messaggio d'errore, però ho notato che quando lancio Code: | eix-sync && emerge -NDuav world | portage non fa il sync con gli ebuild dottout, mentre se lascio il make.conf come l'avevo impostato io si...da qui è nato il mio dubbio |
|
Back to top |
|
|
k01 Arch/Herd Tester
Joined: 13 Feb 2008 Posts: 617 Location: Milano
|
Posted: Wed Jan 04, 2012 10:22 pm Post subject: |
|
|
mi sembra strano che ci siano comportamenti diversi, perchè alla fine per portage la variabile dovrebbe essere identica sia in un modo che nell'altro, puoi verificare con emerge --info | grep PORTDIR_OVERLAY. comunque per sincronizzare gli overlay si usa layman -s nomeoverlay, quando sincronizzi portage quelli non vengono toccati, o ti riferisci alla parte in cui eix-sync ricostruisce la cache? |
|
Back to top |
|
|
198728 l33t
Joined: 08 Apr 2009 Posts: 693
|
Posted: Wed Jan 04, 2012 10:26 pm Post subject: |
|
|
The Extremer wrote: | ti riferisci alla parte in cui eix-sync ricostruisce la cache? |
forse mi sono espresso male. Si mi riferisco a quello! |
|
Back to top |
|
|
xdarma l33t
Joined: 08 Dec 2003 Posts: 719 Location: tra veneto e friuli (italy)
|
Posted: Thu Jan 05, 2012 9:07 am Post subject: Re: Chiarimento ovelay |
|
|
Questo è giusto?
Forse dovrebbe essere:
Code: | ACCEPT_KEYWORDS="amd64" |
_________________ proud user of faKeDE-4.7.3 -> back to windowmaker -> moved to LXQt |
|
Back to top |
|
|
198728 l33t
Joined: 08 Apr 2009 Posts: 693
|
Posted: Thu Jan 05, 2012 10:14 am Post subject: |
|
|
Un po' OT comunque grazie...una piccola svista. |
|
Back to top |
|
|
|