PDA

View Full Version : Installare MySQL


Napalm
08-07-2004, 10:15
Devo creare un programmino e mi server un database SQL, ho estratto gli rpm della distribuzione Fedora Core 2 ma quando li eseguo mi dà errore xchè ho dei file mancanti, mi potete dare una mano?
Ecco cosa mi dice:


[root@localhost Programmazione]# rpm -ivh mysql-3.23.58-9.i386.rpm

warning: mysql-3.23.58-9.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2

error: Failed dependencies:
perl(DBI) is needed by mysql-3.23.58-9

perl-DBD-MySQL is needed by mysql-3.23.58-9
perl-DBI is needed by mysql-3.23.58-9

[root@localhost Programmazione]# rpm -ivh php-mysql-4.3.4-11.i386.rpm

warning: php-mysql-4.3.4-11.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2

error: Failed dependencies:

libmysqlclient.so.10 is needed by php-mysql-4.3.4-11
php = 4.3.4-11 is needed by php-mysql-4.3.4-11
[root@localhost Programmazione]# rpm -ivh mysql-server-3.23.58-9.i386.rpm

warning: mysql-server-3.23.58-9.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2

error: Failed dependencies:

libmysqlclient.so.10 is needed by mysql-server-3.23.58-9
mysql = 3.23.58 is needed by mysql-server-3.23.58-9

[root@localhost Programmazione]# rpm -ivh libdbi-dbd-mysql-0.6.5-8.1.i386.rpm

warning: libdbi-dbd-mysql-0.6.5-8.1.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2

error: Failed dependencies:

libdbi = 0.6.5-8.1 is needed by libdbi-dbd-mysql-0.6.5-8.1

libmysqlclient.so.10 is needed by libdbi-dbd-mysql-0.6.5-8.1
[root@localhost Programmazione]# rpm -ivh mysql-bench-3.23.58-9.i386.rpm

warning: mysql-bench-3.23.58-9.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:

mysql = 3.23.58 is needed by mysql-bench-3.23.58-9

perl(DBI) is needed by mysql-bench-3.23.58-9

[root@localhost Programmazione]# rpm -ivh mod_auth_mysql-20030510-4.1.i386.rpm

warning: mod_auth_mysql-20030510-4.1.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:

libmysqlclient.so.10 is needed by mod_auth_mysql-20030510-4.1

[root@localhost Programmazione]# rpm -ivh mysql-devel-3.23.58-9.i386.rpm

warning: mysql-devel-3.23.58-9.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:

mysql = 3.23.58 is needed by mysql-devel-3.23.58-9




Thx

NapalM

The X
08-07-2004, 10:32
se hai 1 connessione ad internet dal pc con linux prova ad usare il tool d'installazione via internet della tua distro così, in teoria, t dovrebbe scaricare il mysql ed anke tutti i pakketti dipendenti da esso....

Io, x es, con debian x installare mysql ho dovuto semplicemente lanciare 1 comando....

apt-get install mysql e il sistema mi ha installato il server, il client ed anke tutti i pakketti ad essi dipendenti :P

Napalm
08-07-2004, 10:43
Il problema che non è connesso ad internet .. :(
Thx lo stesso

NapalM

The X
08-07-2004, 10:50
Originariamente inviato da Napalm
Il problema che non è connesso ad internet .. :(
Thx lo stesso

NapalM

ma hai 1 altro pc, un amico, la postazione d lavoro ecc da cui puoi scaricarti quel pacchetto ?

basterebbe anke il cd d installazione della debian 3.0

Napalm
08-07-2004, 13:09
Originariamente inviato da The X
ma hai 1 altro pc, un amico, la postazione d lavoro ecc da cui puoi scaricarti quel pacchetto ?

basterebbe anke il cd d installazione della debian 3.0

Purtroppo no, teoricamente con gl irmp dentro fedora dovrei riuscire.. ma non capisco cosa mi manca .

NapalM

Napalm
08-07-2004, 18:26
Boh..qualcosina sono riuscito a risolvere solo che quando compilo mi esce fuori questo problema:


cc ghim.o f_gruppo.o f_utente.o f_generali.o f_socket.o f_db.o -lmysqlclient -o ghim
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [ghim] Error 1



NapalM