View previous topic :: View next topic |
Author |
Message |
Gr3yFox Apprentice


Joined: 11 May 2006 Posts: 218 Location: Genoa, Italy
|
Posted: Mon Dec 18, 2006 7:24 pm Post subject: [risolto] PHP4 + mysql4: possibile? |
|
|
Dovrei realizzare per un corso dell'università un progetto php+mysql. Il server sul quale alla fine dovrà funzionare il progetto sarà configurato con mysql 4.0.24 e php 4.3.10.
Per questo volevo installare qui sulla mia gentoo a casa php4.4 e mysql4.1 (le versioni non coincidono proprio ma essendo la major uguale presumo non ci siano problemi di compatibilità del codice e del db).
Per quanto riguarda php4 sarebbe tutto a posto (emerge =php-4.4.4-r6, mascherate le successive) ma a quanto pare come dipendenza si tira dietro mysql 5... c'è modo di mettere lo stesso il 4 senza avere problemi? In caso contrario, cosa mi proponete di fare? _________________ GreyFox (Linux registered user #435102)
greyfox.imente.org - GreyFox's shots (photoblog)
Last edited by Gr3yFox on Mon Dec 18, 2006 8:00 pm; edited 1 time in total |
|
Back to top |
|
 |
Sparker l33t


Joined: 28 Aug 2003 Posts: 992
|
Posted: Mon Dec 18, 2006 7:37 pm Post subject: |
|
|
Io installerei prima mysql-4 (magari mascherando le versioni >=5.0, echo ">=dev-db/mysql-5.0" >> /etc/portage/package.mask) |
|
Back to top |
|
 |
Gr3yFox Apprentice


Joined: 11 May 2006 Posts: 218 Location: Genoa, Italy
|
Posted: Mon Dec 18, 2006 7:39 pm Post subject: |
|
|
Provato mascherando come dici tu, ma purtroppo non sembra risolvere.
Quote: | !!! All ebuilds that could satisfy "=dev-db/mysql-5.0*" have been masked. |
_________________ GreyFox (Linux registered user #435102)
greyfox.imente.org - GreyFox's shots (photoblog) |
|
Back to top |
|
 |
Scen Retired Dev


Joined: 29 Jul 2003 Posts: 2470 Location: Padova, Italy
|
Posted: Mon Dec 18, 2006 7:49 pm Post subject: |
|
|
Devi mascherare anche il virtual di mysql, quindi (es.)
Code: |
echo '>=virtual/mysql-5' >> /etc/portage/package.mask
|
Oppss...
[EDIT]
s/keywords/mask
[/EDIT] _________________ I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Last edited by Scen on Mon Dec 18, 2006 7:58 pm; edited 1 time in total |
|
Back to top |
|
 |
Gr3yFox Apprentice


Joined: 11 May 2006 Posts: 218 Location: Genoa, Italy
|
Posted: Mon Dec 18, 2006 7:51 pm Post subject: |
|
|
hai confuso keywords con mask
edit: cmq ora funziona grazie mille. Una curiosità... questa cosa del mascherare le versioni successive in che casi si può applicare? _________________ GreyFox (Linux registered user #435102)
greyfox.imente.org - GreyFox's shots (photoblog) |
|
Back to top |
|
 |
Scen Retired Dev


Joined: 29 Jul 2003 Posts: 2470 Location: Padova, Italy
|
Posted: Mon Dec 18, 2006 8:01 pm Post subject: |
|
|
Azz, scusami per l'errore, chiedo venia
Il mascheramento delle versioni successive può servire nel caso non si voglia effettuare l'upgrade di un determinato pacchetto all'ultima versione stabile per diversi motivi.
Tieni presente che, nel momento in cui la versione che hai mascherato diventa dipendenza di un pacchetto installato, riceverai l'errore in fase di aggiornamento di world, e dovrai provvedere a smascherarla!
p.s. se il tuo problema è risolto aggiungi [OK] o [RISOLTO al titolo del topic!  _________________ I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny |
|
Back to top |
|
 |
Gr3yFox Apprentice


Joined: 11 May 2006 Posts: 218 Location: Genoa, Italy
|
Posted: Mon Dec 18, 2006 8:07 pm Post subject: |
|
|
Circa l'errore di prima figurati, può succedere, non c'è nessun problema.
Grazie per la delucidazione sul mascheramento
(Il tag risolto l'ho aggiunto poco dopo la risposta di prima, mi ero dimenticato) _________________ GreyFox (Linux registered user #435102)
greyfox.imente.org - GreyFox's shots (photoblog) |
|
Back to top |
|
 |
|