Rechercher : dans
Par :

Installation DBD::mysql sous fedora 10

Dernière réponse le 13 jan 2009 à 18:25:44 titonio12, le 13 jan 2009 à 14:50:06 
 Signaler ce message aux modérateurs

Bonjour,
Lors de l'installation des divers modules perl pour pouvoir installé OCSng, j'ai un problème.
Tout les autres modules on fonctionné sauf le modules DBD::mysql j'ai télécharger la version DBD-mysql-4.010 je décompresse mon fichier avec tar... je vais dans le répertoire
J'utilise la commande : perl Makefile.PL --mysql_config --testdb=test.... pour les modification du fichier conf
Je suis censé faire un make et un make test par la suite mais déja à la suite du perl Makefile... j'obtient :


[root@fedoratest DBD-mysql-4.010]# perl Makefile.PL --mysql_config=/usr/lib/mysql/mysql_config --testdb=test --testuser=root --testpassword=root --testhost=localhost
I will use the following settings for compiling and testing:

cflags (mysql_config ) = -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -fPIC
embedded (mysql_config ) =
libs (mysql_config ) = -rdynamic -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto
mysql_config (Users choice ) = /usr/lib/mysql/mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 1
testdb (User's choice) = test
testhost (User's choice) = localhost
testpassword (User's choice) = root
testsocket (default ) =
testuser (User's choice) = root

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Unrecognized argument in LIBS ignored: '-rdynamic'
Using DBI 1.607 (for perl 5.010000 on i686-linux) installed in /usr/local/lib/perl5/site_perl/5.10.0/i686-linux/auto/DBI/
Writing Makefile for DBD::mysql

si je continue avec le make jai une tonne d'érreur :

[root@fedoratest DBD-mysql-4.010]# make
cc -c -I/usr/local/lib/perl5/site_perl/5.10.0/i686-linux/auto/DBI -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -fPIC -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"4.010\" -DXS_VERSION=\"4.010\" -fPIC "-I/usr/local/lib/perl5/5.10.0/i686-linux/CORE" dbdimp.c
Dans le fichier inclus à partir de dbdimp.c:20:
dbdimp.h:22:49: erreur: mysql.h : Aucun fichier ou dossier de ce type
dbdimp.h:23:45: erreur: mysqld_error.h : Aucun fichier ou dossier de ce type
dbdimp.h:25:49: erreur: errmsg.h : Aucun fichier ou dossier de ce type
In file included from dbdimp.c:20:
dbdimp.h:144: erreur: expected specifier-qualifier-list before ‘MYSQL’
dbdimp.h:237: erreur: expected specifier-qualifier-list before ‘MYSQL_RES’
In file included from dbdimp.c:20:
dbdimp.h:294: erreur: expected ‘)’ before ‘*’ token
dbdimp.h:297: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mysql_st_internal_execute’
dbdimp.h:329: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
dbdimp.c:407: erreur: expected ‘)’ before ‘*’ token
dbdimp.c:626: erreur: ‘FIELD_TYPE_VAR_STRING’ undeclared here (not in a function)
dbdimp.c:636: erreur: ‘FIELD_TYPE_DECIMAL’ undeclared here (not in a function)
dbdimp.c:646: erreur: ‘FIELD_TYPE_TINY’ undeclared here (not in a function)
dbdimp.c:656: erreur: ‘FIELD_TYPE_SHORT’ undeclared here (not in a function)
dbdimp.c:666: erreur: ‘FIELD_TYPE_LONG’ undeclared here (not in a function)
dbdimp.c:676: erreur: ‘FIELD_TYPE_FLOAT’ undeclared here (not in a function)
dbdimp.c:686: erreur: ‘FIELD_TYPE_DOUBLE’ undeclared here (not in a function)
dbdimp.c:709: erreur: ‘FIELD_TYPE_TIMESTAMP’ undeclared here (not in a function)
dbdimp.c:719: erreur: ‘FIELD_TYPE_LONGLONG’ undeclared here (not in a function)
dbdimp.c:729: erreur: ‘FIELD_TYPE_INT24’ undeclared here (not in a function)
dbdimp.c:739: erreur: ‘FIELD_TYPE_DATE’ undeclared here (not in a function)
dbdimp.c:749: erreur: ‘FIELD_TYPE_TIME’ undeclared here (not in a function)
dbdimp.c:759: erreur: ‘FIELD_TYPE_DATETIME’ undeclared here (not in a function)
dbdimp.c:769: erreur: ‘FIELD_TYPE_YEAR’ undeclared here (not in a function)
dbdimp.c:779: erreur: ‘FIELD_TYPE_NEWDATE’ undeclared here (not in a function)
dbdimp.c:789: erreur: ‘FIELD_TYPE_ENUM’ undeclared here (not in a function)
dbdimp.c:799: erreur: ‘FIELD_TYPE_SET’ undeclared here (not in a function)
dbdimp.c:809: erreur: ‘FIELD_TYPE_BLOB’ undeclared here (not in a function)
dbdimp.c:819: erreur: ‘FIELD_TYPE_TINY_BLOB’ undeclared here (not in a function)
dbdimp.c:829: erreur: ‘FIELD_TYPE_MEDIUM_BLOB’ undeclared here (not in a function)
dbdimp.c:839: erreur: ‘FIELD_TYPE_LONG_BLOB’ undeclared here (not in a function)
dbdimp.c:849: erreur: ‘FIELD_TYPE_STRING’ undeclared here (not in a function)
dbdimp.c:1316: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
dbdimp.c: In function ‘my_login’:
dbdimp.c:1758: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1759: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1759: erreur: ‘MYSQL’ undeclared (first use in this function)
dbdimp.c:1759: erreur: (Each undeclared identifier is reported only once
dbdimp.c:1759: erreur: for each function it appears in.)
dbdimp.c:1759: attention : comparaison entre un pointeur et un entier
dbdimp.c:1759: erreur: invalid operands to binary / (have ‘unsigned int’ and ‘const struct sql_type_info_t *’)
dbdimp.c:1759: erreur: invalid operands to binary > (have ‘double’ and ‘const struct sql_type_info_t *’)
dbdimp.c:1759: erreur: expected expression before ‘)’ token
dbdimp.c:1759: erreur: invalid operands to binary * (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:1761: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c: In function ‘mysql_db_login’:
dbdimp.c:1798: erreur: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:1798: erreur: request for member ‘auto_reconnects_ok’ in something not a structure or union
dbdimp.c:1799: erreur: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:1799: erreur: request for member ‘auto_reconnects_failed’ in something not a structure or union
dbdimp.c:1800: erreur: ‘imp_dbh_t’ has no member named ‘bind_type_guessing’
dbdimp.c:1801: erreur: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:1803: erreur: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:1812: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1813: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1813: attention : passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c: In function ‘mysql_db_commit’:
dbdimp.c:1850: erreur: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:1853: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1858: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1858: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1859: attention : passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c: In function ‘mysql_db_rollback’:
dbdimp.c:1878: erreur: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:1881: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1886: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1887: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1887: attention : passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c: In function ‘mysql_db_disconnect’:
dbdimp.c:1924: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:1925: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c: In function ‘mysql_db_destroy’:
dbdimp.c:2012: erreur: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:2016: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2024: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c: In function ‘mysql_db_STORE_attrib’:
dbdimp.c:2062: erreur: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:2084: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2092: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2116: erreur: ‘imp_dbh_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:2118: erreur: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:2120: erreur: ‘imp_dbh_t’ has no member named ‘use_server_side_prepare’
dbdimp.c:2123: erreur: ‘imp_dbh_t’ has no member named ‘bind_type_guessing’
dbdimp.c: Hors de toute fonction :
dbdimp.c:2153: erreur: expected ‘)’ before ‘val’
dbdimp.c: In function ‘mysql_db_FETCH_attrib’:
dbdimp.c:2182: erreur: ‘imp_dbh_t’ has no member named ‘has_transactions’
dbdimp.c:2199: erreur: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:2199: attention : passing argument 1 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2204: erreur: ‘imp_dbh_t’ has no member named ‘bind_type_guessing’
dbdimp.c:2204: attention : passing argument 1 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2208: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2212: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2212: attention : initialization makes pointer from integer without a cast
dbdimp.c:2226: erreur: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:2226: erreur: request for member ‘auto_reconnects_ok’ in something not a structure or union
dbdimp.c:2226: attention : passing argument 1 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2233: erreur: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:2233: erreur: request for member ‘auto_reconnects_failed’ in something not a structure or union
dbdimp.c:2233: attention : passing argument 1 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:2247: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2247: attention : initialization makes pointer from integer without a cast
dbdimp.c:2256: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2256: attention : initialization makes pointer from integer without a cast
dbdimp.c:2261: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2261: attention : passing argument 1 of ‘Perl_sv_2mortal’ makes pointer from integer without a cast
dbdimp.c:2266: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2272: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2272: attention : initialization makes pointer from integer without a cast
dbdimp.c:2277: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2279: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2279: erreur: ‘sql_type_info_t’ has no member named ‘net’
dbdimp.c:2279: erreur: request for member ‘fd’ in something not a structure or union
dbdimp.c:2282: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2282: attention : initialization makes pointer from integer without a cast
dbdimp.c:2289: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:2289: attention : initialization makes pointer from integer without a cast
dbdimp.c:2294: erreur: ‘imp_dbh_t’ has no member named ‘use_server_side_prepare’
dbdimp.c:2299: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c: In function ‘mysql_st_prepare’:
dbdimp.c:2348: erreur: ‘MYSQL_VERSION_ID’ undeclared (first use in this function)
dbdimp.c:2363: erreur: ‘imp_sth_t’ has no member named ‘done_desc’
dbdimp.c:2364: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:2365: erreur: ‘imp_sth_t’ has no member named ‘currow’
dbdimp.c:2369: erreur: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:2370: erreur: ‘imp_dbh_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:2370: attention : non concordance entre pointeur et entier dans une expression conditionnelle
dbdimp.c:2373: erreur: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:2373: erreur: assignment of read-only location ‘<erroneous-expression>[i]’
dbdimp.c:2562: erreur: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c: In function ‘mysql_st_free_result_sets’:
dbdimp.c:2632: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:2634: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:2635: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c: Hors de toute fonction :
dbdimp.c:2799: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mysql_st_internal_execute’
dbdimp.c: In function ‘mysql_st_execute’:
dbdimp.c:3100: erreur: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3100: erreur: used struct type value where scalar is required
dbdimp.c:3101: erreur: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3101: erreur: ne peut convertir en un type pointeur
dbdimp.c:3103: erreur: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3103: erreur: assignment of read-only location ‘<erroneous-expression>[i]’
dbdimp.c:3136: erreur: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c:3141: erreur: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3142: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3143: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3144: erreur: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:3147: erreur: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c:3147: erreur: ‘my_ulonglong’ undeclared (first use in this function)
dbdimp.c:3149: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3151: erreur: ‘imp_sth_t’ has no member named ‘insertid’
dbdimp.c:3151: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3160: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3162: erreur: ‘imp_sth_t’ has no member named ‘done_desc’
dbdimp.c:3163: erreur: ‘imp_sth_t’ has no member named ‘fetch_done’
dbdimp.c:3167: erreur: ‘imp_sth_t’ has no member named ‘warning_count’
dbdimp.c:3175: erreur: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c:3181: erreur: ‘imp_sth_t’ has no member named ‘row_num’
dbdimp.c: In function ‘mysql_describe’:
dbdimp.c:3303: erreur: ‘imp_sth_t’ has no member named ‘done_desc’
dbdimp.c: In function ‘mysql_st_fetch’:
dbdimp.c:3331: erreur: ‘MYSQL_ROW’ undeclared (first use in this function)
dbdimp.c:3331: erreur: expected ‘;’ before ‘cols’
dbdimp.c:3333: erreur: ‘MYSQL’ undeclared (first use in this function)
dbdimp.c:3333: erreur: ‘svsock’ undeclared (first use in this function)
dbdimp.c:3333: erreur: invalid operands to binary * (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:3333: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3339: erreur: ‘MYSQL_FIELD’ undeclared (first use in this function)
dbdimp.c:3339: erreur: ‘fields’ undeclared (first use in this function)
dbdimp.c:3339: erreur: invalid operands to binary * (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:3377: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3384: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3384: erreur: ‘sql_type_info_t’ has no member named ‘net’
dbdimp.c:3384: erreur: request for member ‘last_errno’ in something not a structure or union
dbdimp.c:3515: erreur: ‘imp_sth_t’ has no member named ‘currow’
dbdimp.c:3515: erreur: lvalue required as increment operand
dbdimp.c:3520: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3522: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3524: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3526: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3528: erreur: ‘imp_sth_t’ has no member named ‘currow’
dbdimp.c:3531: erreur: ‘cols’ undeclared (first use in this function)
dbdimp.c:3531: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3537: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3538: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3539: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:3540: attention : passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c:3550: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3551: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3552: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:3552: attention : assignment makes pointer from integer without a cast
dbdimp.c:3592: erreur: incompatible types in initialization
dbdimp.c: In function ‘mysql_st_destroy’:
dbdimp.c:3780: erreur: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3782: erreur: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3782: attention : passing argument 1 of ‘free_param’ from incompatible pointer type
dbdimp.c:3783: erreur: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:3789: erreur: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3789: erreur: used struct type value where scalar is required
dbdimp.c:3790: erreur: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3790: erreur: ne peut convertir en un type pointeur
dbdimp.c:3791: erreur: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3791: erreur: assignment of read-only location ‘<erroneous-expression>[i]’
dbdimp.c: In function ‘mysql_st_STORE_attrib’:
dbdimp.c:3835: erreur: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c: Hors de toute fonction :
dbdimp.c:3883: erreur: expected declaration specifiers or ‘...’ before ‘MYSQL_RES’
dbdimp.c: In function ‘mysql_st_FETCH_internal’:
dbdimp.c:3889: erreur: ‘MYSQL_FIELD’ undeclared (first use in this function)
dbdimp.c:3889: erreur: ‘curField’ undeclared (first use in this function)
dbdimp.c:3889: erreur: invalid operands to binary * (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:3896: erreur: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3896: erreur: invalid operands to binary && (have ‘int’ and ‘sql_type_info_t’)
dbdimp.c:3897: erreur: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3897: erreur: incompatible types in assignment
dbdimp.c:3900: erreur: ‘res’ undeclared (first use in this function)
dbdimp.c:3914: erreur: ‘sql_type_info_t’ has no member named ‘name’
dbdimp.c:3914: erreur: ‘sql_type_info_t’ has no member named ‘name’
dbdimp.c:3914: attention : passing argument 1 of ‘strlen’ from incompatible pointer type
dbdimp.c:3914: attention : passing argument 1 of ‘Perl_newSVpv’ from incompatible pointer type
dbdimp.c:3918: erreur: ‘sql_type_info_t’ has no member named ‘table’
dbdimp.c:3918: erreur: ‘sql_type_info_t’ has no member named ‘table’
dbdimp.c:3918: attention : passing argument 1 of ‘strlen’ from incompatible pointer type
dbdimp.c:3918: attention : passing argument 1 of ‘Perl_newSVpv’ from incompatible pointer type
dbdimp.c:3922: erreur: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3926: erreur: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3926: attention : passing argument 1 of ‘native2sql’ makes integer from pointer without a cast
dbdimp.c:3929: erreur: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3933: erreur: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3937: erreur: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3941: erreur: ‘sql_type_info_t’ has no member named ‘length’
dbdimp.c:3945: erreur: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3945: attention : passing argument 1 of ‘native2sql’ makes integer from pointer without a cast
dbdimp.c:3949: erreur: ‘sql_type_info_t’ has no member named ‘type’
dbdimp.c:3949: attention : passing argument 1 of ‘native2sql’ makes integer from pointer without a cast
dbdimp.c:3953: erreur: ‘sql_type_info_t’ has no member named ‘max_length’
dbdimp.c:3965: erreur: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3965: erreur: ‘PRI_KEY_FLAG’ undeclared (first use in this function)
dbdimp.c:3965: erreur: ‘UNIQUE_KEY_FLAG’ undeclared (first use in this function)
dbdimp.c:3965: erreur: invalid operands to binary | (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:3965: erreur: ‘MULTIPLE_KEY_FLAG’ undeclared (first use in this function)
dbdimp.c:3965: erreur: invalid operands to binary | (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:3965: erreur: invalid operands to binary & (have ‘const struct sql_type_info_t *’ and ‘const struct sql_type_info_t *’)
dbdimp.c:3969: erreur: ‘sql_type_info_t’ has no member named ‘flags’
dbdimp.c:3973: erreur: ‘sql_type_info_t’ has no member named ‘decimals’
dbdimp.c:3977: erreur: ‘sql_type_info_t’ has no member named ‘length’
dbdimp.c:3977: erreur: ‘sql_type_info_t’ has no member named ‘max_length’
dbdimp.c:3978: erreur: ‘sql_type_info_t’ has no member named ‘length’
dbdimp.c:3978: erreur: ‘sql_type_info_t’ has no member named ‘max_length’
dbdimp.c:3978: attention : passing argument 1 of ‘Perl_newSViv’ makes integer from pointer without a cast
dbdimp.c:3992: erreur: ‘imp_sth_t’ has no member named ‘av_attr’
dbdimp.c:3992: erreur: assignment of read-only location ‘<erroneous-expression>[what]’
dbdimp.c: In function ‘mysql_st_FETCH_attrib’:
dbdimp.c:4043: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4043: attention : passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4043: erreur: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4045: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4045: attention : passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4045: erreur: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4049: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4049: attention : passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4049: erreur: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4061: erreur: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:4061: erreur: ‘sql_type_info_t’ has no member named ‘value’
dbdimp.c:4061: attention : passing argument 1 of ‘Perl_newSVsv’ from incompatible pointer type
dbdimp.c:4070: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4070: attention : passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4070: erreur: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4074: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4074: attention : passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4074: erreur: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4080: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4080: attention : passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4080: erreur: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4084: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4084: attention : passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4084: erreur: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4088: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4088: attention : passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4088: erreur: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4090: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4090: attention : passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4090: erreur: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4092: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4092: attention : passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4092: erreur: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4094: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4098: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4098: attention : passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4098: erreur: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4105: erreur: ‘imp_sth_t’ has no member named ‘insertid’
dbdimp.c:4107: erreur: ‘imp_sth_t’ has no member named ‘insertid’
dbdimp.c:4107: attention : passing argument 1 of ‘Perl_sv_2mortal’ makes pointer from integer without a cast
dbdimp.c:4112: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4112: attention : passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4112: erreur: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4116: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4116: attention : passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4116: erreur: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4118: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4118: attention : passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4118: erreur: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c:4120: erreur: ‘imp_sth_t’ has no member named ‘use_mysql_use_result’
dbdimp.c:4124: erreur: ‘imp_sth_t’ has no member named ‘warning_count’
dbdimp.c:4136: erreur: ‘imp_sth_t’ has no member named ‘result’
dbdimp.c:4136: attention : passing argument 3 of ‘mysql_st_FETCH_internal’ makes integer from pointer without a cast
dbdimp.c:4136: erreur: too many arguments to function ‘mysql_st_FETCH_internal’
dbdimp.c: In function ‘mysql_bind_ph’:
dbdimp.c:4260: erreur: ‘imp_sth_t’ has no member named ‘params’
dbdimp.c:4260: attention : passing argument 1 of ‘bind_param’ from incompatible pointer type
dbdimp.c: In function ‘mysql_db_reconnect’:
dbdimp.c:4375: erreur: ‘MYSQL’ undeclared (first use in this function)
dbdimp.c:4375: erreur: expected ‘;’ before ‘save_socket’
dbdimp.c:4385: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4385: erreur: ‘CR_SERVER_GONE_ERROR’ undeclared (first use in this function)
dbdimp.c:4385: attention : comparaison entre un pointeur et un entier
dbdimp.c:4389: erreur: ‘imp_dbh_t’ has no member named ‘auto_reconnect’
dbdimp.c:4403: erreur: ‘save_socket’ undeclared (first use in this function)
dbdimp.c:4403: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4404: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4404: attention : passing argument 3 of ‘memcpy’ makes integer from pointer without a cast
dbdimp.c:4405: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4405: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4405: attention : passing argument 1 of ‘memset’ discards qualifiers from pointer target type
dbdimp.c:4413: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4413: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4414: attention : passing argument 3 of ‘mysql_dr_error’ makes pointer from integer without a cast
dbdimp.c:4415: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4415: attention : passing argument 1 of ‘memcpy’ discards qualifiers from pointer target type
dbdimp.c:4415: attention : passing argument 3 of ‘memcpy’ makes integer from pointer without a cast
dbdimp.c:4416: erreur: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:4416: erreur: request for member ‘auto_reconnects_failed’ in something not a structure or union
dbdimp.c:4416: erreur: lvalue required as increment operand
dbdimp.c:4419: erreur: ‘imp_dbh_t’ has no member named ‘stats’
dbdimp.c:4419: erreur: request for member ‘auto_reconnects_ok’ in something not a structure or union
dbdimp.c:4419: erreur: lvalue required as increment operand
dbdimp.c: In function ‘mysql_db_quote’:
dbdimp.c:4579: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c: In function ‘mysql_db_last_insert_id’:
dbdimp.c:4602: erreur: ‘imp_dbh_t’ has no member named ‘pmysql’
dbdimp.c:4602: attention : passing argument 1 of ‘Perl_sv_2mortal’ makes pointer from integer without a cast
make: *** [dbdimp.o] Erreur 1


merci d'avance de votre aide

Configuration: Linux Fedora
Firefox 3.0.4

Meilleures réponses pour « installation DBD::mysql sous fedora 10 » dans :
[Fedora Core] Compléter l'installation de la Fedora Voir Compléter l'installation de la Fedora Core 1 - Yum Extender (Yumex) 2 - Téléchargeons les paquetages complémentaires 3 - Installons les paquetages téléchargés 4 - Les codecs Win32 5 - Les cas de Mplayer, VLC, Kaffeine 6 - Le format Real 7...
Installation de Mysql sous Linux Gentoo VoirL’installation de Mysql sous la distribution Gentoo est très facile et se fait en quelques étapes : Lancer la commande emerge dev-db/mysql Cette commande permet le téléchargement des packades nécessaire à l’installation de mysql et...
Installation / migration Mysql 5.1 avec les binaires officiels VoirPour de multiples raisons, je préfère installer Mysql depuis les binaires compilés par Mysql ,plutôt que d'utiliser les packages (rpm, apt, ...) : les packages installent dans les répertoires de leur choix, il est difficile de maîtriser cela on...
Installation d'un serveur Web sous Linux (Apache, PHP et MySQL) VoirIntroduction Un serveur web est un logiciel permettant de rendre accessibles à de nombreux ordinateurs (les clients) des pages web stockées sur le disque. Cette fiche pratique explique comment installer le serveur web Apache sur un système de type...
MySQL - Installation sous Windows VoirPrésentation de MySQL MySQL est un Système de Gestion de Bases de Données (SGBD) fonctionnant sous Linux et Windows. Depuis la version 3.23.19, MySQL est sous Licence GPL (aussi bien sous Linux que Windows), ce qui signifie qu'il peut être utilisé...

1

mamiemando, le 13 jan 2009 à 15:30:29

Plutôt que de t'embêter à compiler DBD mysql, pourquoi ne pas essayer plutôt de trouver un paquet rpm ?

Si tu tiens à compiler ce paquet il faut que tu trouves "mysql.h" :

dbdimp.h:22:49: erreur: mysql.h : Aucun fichier ou dossier de ce type

En effet, ce fichier n'étant pas trouvé, il engendre en cascade plein d'autres erreurs. Il faudra pour cela probablement récupérer d'autres archives de sources.

Bonne chance

Répondre à mamiemando

3

titonio12, le 13 jan 2009 à 16:11:17

Et surtout quel méthode je dois utilisé merci beaucoup

Répondre à titonio12

2

titonio12, le 13 jan 2009 à 16:01:00

Merci de ta réponse mais ou puis je trouver un paquet rpm qui corresponde à ce que je recherche

Répondre à titonio12

4

 jeanbi, le 13 jan 2009 à 18:25:44

Bonjour,
sous fedora
en root
yum install mysql etc...
a+
FC 10 - Mandriva 2009 -Debian 4.0-
Les meilleures choses ont besoin de patience.(JC ANGLADE)

Répondre à jeanbi