Erreur install module Perl DBD::mysql
[ Nouvelle discussion
| Répondre au groupe
|
fr.comp.os.mac-os.serveurs ]
Bonjour
Je réitère ma demande dans ce groupe car l'install est faite sur un
serveur LEOPARD et non un client
Impossible d'installer le module Perl DBD::mysql alors que les autres
modules se sont correctement installés
j'ai fait un essai manuel et il y a aussi 30 pages d'erreur (voir
meme objet sur fr.comp.os.mac-os.x)
voici le debut des erreurs de l'install manuelle (on les voit
apparaitre après le make):
ns:~ kaffee$ cd Downloads/DBD-mysql-4.010 2
ns:DBD-mysql-4.010 kaffee$ perl Makefile.PL
mysql> grant all privileges on test.* to 'kaffee'@'localhost'
identified by 's3kr1t';
You can also optionally set the user to run 'make test' with:
perl Makefile.pl --testuser=username
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I/usr/include -fno-omit-frame-
pointer -pipe -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -
DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT
embedded (mysql_config) libs (mysql_config) = -pipe
-L/usr/lib -lmysqlclient -lz -
lm
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) testpassword (default ) testsocket
(default ) Use of uninitialized value in printf at Makefile.PL line 175,
<PIPE>
line 93.
testuser ( ) = kaffee
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.
Checking if your kit is complete...
Looks good
Unrecognized argument in LIBS ignored: '-pipe'
Note (probably harmless): No library found for -lmysqlclient
Multiple copies of Driver.xst found in: /Library/Perl/5.8.8/darwin-
thread-multi-2level/auto/DBI/ /System/Library/Perl/Extras/5.8.8/darwin-
thread-multi-2level/auto/DBI/ at Makefile.PL line 747
Using DBI 1.607 (for perl 5.008008 on darwin-thread-multi-2level)
installed in /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI/
Writing Makefile for DBD::mysql
ns:DBD-mysql-4.010 kaffee$ make
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cc -c -I/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBI -I/
usr/include -fno-omit-frame-pointer -pipe -D_P1003_1B_VISIBLE -
DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -
DIGNORE_SIGHUP_SIGQUIT -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -arch i386 -
arch ppc -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-
strict-aliasing -Wdeclaration-after-statement -I/usr/local/include -
O3 -DVERSION=\"4.010\" -DXS_VERSION=\"4.010\" "-I/System/Library/
Perl/5.8.8/darwin-thread-multi-2level/CORE" dbdimp.c
In file included from dbdimp.c:20:
dbdimp.h:22:49: error: mysql.h: No such file or directory
dbdimp.h:23:45: error: mysqld_error.h: No such file or directory
dbdimp.h:25:49: error: errmsg.h: No such file or directory
In file included from dbdimp.c:20:

|
 cette fonctionnalité est reservée aux membres ayant une session active !
|