Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Chiarimento ovelay [risolto]
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) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
mrl4n
l33t
l33t


Joined: 08 Apr 2009
Posts: 688

PostPosted: Wed Jan 04, 2012 9:42 pm    Post subject: Chiarimento ovelay [risolto] Reply with quote

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 mrl4n on Thu Jan 05, 2012 10:20 am; edited 1 time in total
Back to top
View user's profile Send private message
k01
Arch/Herd Tester
Arch/Herd Tester


Joined: 13 Feb 2008
Posts: 617
Location: Milano

PostPosted: Wed Jan 04, 2012 9:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
mrl4n
l33t
l33t


Joined: 08 Apr 2009
Posts: 688

PostPosted: Wed Jan 04, 2012 9:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
k01
Arch/Herd Tester
Arch/Herd Tester


Joined: 13 Feb 2008
Posts: 617
Location: Milano

PostPosted: Wed Jan 04, 2012 10:07 pm    Post subject: Reply with quote

è 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
View user's profile Send private message
mrl4n
l33t
l33t


Joined: 08 Apr 2009
Posts: 688

PostPosted: Wed Jan 04, 2012 10:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
k01
Arch/Herd Tester
Arch/Herd Tester


Joined: 13 Feb 2008
Posts: 617
Location: Milano

PostPosted: Wed Jan 04, 2012 10:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
mrl4n
l33t
l33t


Joined: 08 Apr 2009
Posts: 688

PostPosted: Wed Jan 04, 2012 10:26 pm    Post subject: Reply with quote

The Extremer wrote:
ti riferisci alla parte in cui eix-sync ricostruisce la cache?


forse mi sono espresso male. Si mi riferisco a quello! :oops:
Back to top
View user's profile Send private message
xdarma
l33t
l33t


Joined: 08 Dec 2003
Posts: 719
Location: tra veneto e friuli (italy)

PostPosted: Thu Jan 05, 2012 9:07 am    Post subject: Re: Chiarimento ovelay Reply with quote

Code:

KEYWORDS="~amd64"

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
View user's profile Send private message
mrl4n
l33t
l33t


Joined: 08 Apr 2009
Posts: 688

PostPosted: Thu Jan 05, 2012 10:14 am    Post subject: Reply with quote

Un po' OT comunque grazie...una piccola svista. :lol:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano 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