Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emergere un sorgente precedente
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
piumeno
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2004
Posts: 88

PostPosted: Fri Feb 17, 2006 10:05 am    Post subject: emergere un sorgente precedente Reply with quote

Allora ho un problemino, ho aggiornato il portage.
Ho scaricato l'ultima versione di mysql ma non la vuole compilare mi da il segeunte errore:

>>> md5 files ;-) files/digest-DBD-mysql-3.0002_p4
>>> md5 src_uri ;-) DBD-mysql-3.0002_4.tar.gz
>>> Unpacking source...
>>> Unpacking DBD-mysql-3.0002_4.tar.gz to /var/tmp/portage/DBD-mysql-3.0002_p4/work
* Applying mysql-5.0-new_bit_type.patch ... [ ok ]>>> Source unpacked.
* Using ExtUtils::MakeMaker
Can't locate DBI/DBD.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4 /usr/local/lib/site_perl .) at Makefile.PL line 23.
make: *** No targets specified and no makefile found. Stop.

!!! ERROR: dev-perl/DBD-mysql-3.0002_p4 failed.
!!! Function perl-module_src_compile, Line 125, Exitcode 2
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.


Visto che non riesco a risolvere, non so più dove sbattere la testa.

Mi chiedevo, come faccio a emerge la versione del database precedente che ho nei distfiles...

Vi ringrazio

Dimenticavo, se riuscite a capire l'errore è meglio :wink:
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Fri Feb 17, 2006 10:27 am    Post subject: Reply with quote

basta dare un
Code:
emerge =pacchetto-versione


esempio:
Code:
emerge =DBD-mysql-2.1027


ti emergerà la versione 2.1027
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri Feb 17, 2006 10:27 am    Post subject: Re: emergere un sorgente precedente Reply with quote

piumeno wrote:
DBD-mysql-3.0002_p4


Quello non é mysql ma la libreria perl per accedere a mysql.
Peraltro noto che é un pacchetto ~x86. Ricordo che, quando un pacchetto viene marcato con ~x86, significa che non é proprio perfetto e che potrebbe dare dei problemi... ergo chi vuole tenere il sistema con quella keyword é bene che sia in grado almeno di capire come fare davanti ai piccoli problemi che, sicuramente, gli capiteranno (e, magari, segnalarli su https://bugs.gentoo.org).

Fatta l'ennesima ripetizione del discorso ~x86 vs x86 (di thread come questo é pieno il forum, ci sono anche alcuni thread che trattano il passaggio da ~x86 a x86 "stabile", per chi é interessato) veniamo al dunque.

Il precedente DBD-mysql non devi reinstallarlo, perché emerge disinstalla un pacchetto solo si accorge che il "pacchetto upgrade" é compilato e pronto per essere installato.

Comuqnue per evitare che un pacchetto venga aggiornato basta mettere l'entry in /etc/portage/package.mask (man emerge per i dettagli)

Per installare un pacchetto di una particolare versione basta fare qualcosa tipo "emerge \=nomepacchetto-1.2.3-r1" (man emerge per i dettagli)
_________________
Ciao da me!
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