Newsgroup: it.comp.os.linux.development
Titolo: Moduli Perl non si compilano

salve amici, 
non riesco a compilare i moduli per i driver DBI, DBD:mysql, e non
solo.
Io ho installato Slackware 8.0, con installazione FULL eccetto le
interfacce grafiche!
Qui di seguito vi riporto quello che ho fatto e il risultato:
root@y3knet:/home/admin/1/Msql-Mysql-modules-1.2219# perl Makefile.PL
--debug
Which drivers do you want to install?
    1)  MySQL only
    2)  mSQL only (either of mSQL 1 or mSQL 2)
    3)  MySQL and mSQL (either of mSQL 1 or mSQL 2)
    4)  mSQL 1 and mSQL 2
    5)  MySQL, mSQL 1 and mSQL 2
Enter the appropriate number:  [3] 1
Do you want to install the MysqlPerl emulation? You might keep your
old
Mysql module (to be distinguished from DBD::mysql!) if you are
concerned
about compatibility to existing applications! [n]
Where is your MySQL installed? Please tell me the directory that
contains the subdir 'include'. [/usr]
Using include/mysql/mysql.h in /usr.
Using lib/mysql/libmysqlclient.a in /usr.
Which database should I use for testing the MySQL drivers? [test]
On which host is database test running (hostname, ip address
or hostort) [localhost]
User name for connecting to database test? [undef] root
Password for connecting to database test? [undef]
Driver mysql is using the following settings for tests:
    Database test
    Host
    DSN      DBI:mysql:database=test
    User     root
    Password
Creating files for MySQL ....................
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lgz
Using DBI 1.15 installed in
/usr/lib/perl5/site_perl/i386-linux/auto/DBI
Writing Makefile for DBD::mysql
Writing Makefile for Msql-Mysql-modules
root@y3knet:/home/admin/1/Msql-Mysql-modules-1.2219# make
make: *** Warning: File `Makefile.PL' has modification time in the
future (2001
10-31 04:37:50 > 2001-01-20 22:17:23)
Makefile out-of-date with respect to Makefile.PL
/usr/lib/perl5/i386-linux/Conf
g.pm
 /usr/lib/perl5/i386-linux/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true
/usr/bin/perl "-I/usr/lib/perl5/i386-linux" "-I/usr/lib/perl5"
Makefile.PL
Which drivers do you want to install?
    1)  MySQL only
    2)  mSQL only (either of mSQL 1 or mSQL 2)
    3)  MySQL and mSQL (either of mSQL 1 or mSQL 2)
    4)  mSQL 1 and mSQL 2
    5)  MySQL, mSQL 1 and mSQL 2
Enter the appropriate number:  [3] 1
Do you want to install the MysqlPerl emulation? You might keep your
old
Mysql module (to be distinguished from DBD::mysql!) if you are
concerned
about compatibility to existing applications! [n]
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lgz
Using DBI 1.15 installed in
/usr/lib/perl5/site_perl/i386-linux/auto/DBI
Writing Makefile for DBD::mysql
Writing Makefile for Msql-Mysql-modules
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
make: *** [Makefile] Error 1
root@y3knet:/home/admin/1/Msql-Mysql-modules-1.2219# gcc -lgz
/usr/i386-slackware-linux/bin/ld: cannot find -lgz
collect2: ld returned 1 exit status
root@y3knet:/home/admin/1/Msql-Mysql-modules-1.2219#
Qualcuno mi sa aiutare, e sa un mese che sono fermo e in piena
disperazione.
Grazie a tutti!

 /usr/i386-slackware-linux/bin/ld: cannot find -lgz
Prova a editare a mano il Makefile e togliere l'uso di quella opzione. 
Oppure installa la relativa libreria.
Ciao
Simone

Ora provero a digitare tutto il makefile a mano,
ma la libreria obbligatoriamente e installata, in quanto l'ultima
volta ho fatto un installazione completa.
Mi avevano detto che la libreria che mancava doveva essere libz.so ma
questa libreria e presente nel sistema e ricordo che durante
l'installazone la slackware intallava il relativo pacchetto!
Puo essere il file corrotto o altro?
grazie per il tuo aiuto!
