Created
May 1, 2011 12:55
-
-
Save walf443/950478 to your computer and use it in GitHub Desktop.
DBD::mysqlと5.5.10の組み合わせは相性わるいっぽい?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# どうやらperl5.13.3で内部APIに多少変動がある関係っぽい | |
PLEASE NOTE: | |
For 'make test' to run properly, you must ensure that the | |
database user 'yoshimi' can connect to your MySQL server | |
and has the proper privileges that these tests require such | |
as 'drop table', 'create table', 'drop procedure', 'create procedure' | |
as well as others. | |
mysql> grant all privileges on test.* to 'yoshimi'@'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/local/Cellar/mysql/5.5.10/include -g | |
embedded (mysql_config) = | |
libs (mysql_config) = -L/usr/local/Cellar/mysql/5.5.10/lib -lmysqlclient -lpthread -lz -lssl -lcrypto | |
mysql_config (guessed ) = mysql_config | |
nocatchstderr (default ) = 0 | |
nofoundrows (default ) = 0 | |
ssl (guessed ) = 1 | |
testdb (default ) = test | |
testhost (default ) = | |
testpassword (default ) = | |
testsocket (default ) = | |
testuser (guessed ) = yoshimi | |
To change these settings, see 'perl Makefile.PL --help' and | |
'perldoc INSTALL'. | |
Argument "6.57_05" isn't numeric in numeric ge (>=) at Makefile.PL line 350, <PIPE> line 138. | |
Using DBI 1.616 (for perl 5.013006 on darwin-2level) installed in /Users/yoshimi/perl5/perlbrew/perls/perl-5.13.6/lib/site_perl/5.13.6/darwin-2level/auto/DBI/ | |
Writing Makefile for DBD::mysql | |
Writing MYMETA.yml | |
yoshimi% [ ~/.cpanm/.../1304250262.3332/DBD-mysql-4.018 ] | |
yoshimi% make [ ~/.cpanm/.../1304250262.3332/DBD-mysql-4.018 ] | |
Skip blib/lib/DBD/mysql.pm (unchanged) | |
Skip blib/lib/DBD/mysql/GetInfo.pm (unchanged) | |
Skip blib/lib/DBD/mysql/INSTALL.pod (unchanged) | |
Skip blib/lib/Bundle/DBD/mysql.pm (unchanged) | |
cc -c -I/Users/yoshimi/perl5/perlbrew/perls/perl-5.13.6/lib/site_perl/5.13.6/darwin-2level/auto/DBI -I/usr/local/Cellar/mysql/5.5.10/include -g -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O3 -DVERSION=\"4.018\" -DXS_VERSION=\"4.018\" "-I/Users/yoshimi/perl5/perlbrew/perls/perl-5.13.6/lib/5.13.6/darwin-2level/CORE" dbdimp.c | |
dbdimp.c: In function ‘mysql_db_FETCH_attrib’: | |
dbdimp.c:2447: error: ‘sv_undef’ undeclared (first use in this function) | |
dbdimp.c:2447: error: (Each undeclared identifier is reported only once | |
dbdimp.c:2447: error: for each function it appears in.) | |
dbdimp.c: In function ‘mysql_st_internal_execute41’: | |
dbdimp.c:3298: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘my_ulonglong’ | |
dbdimp.c: In function ‘mysql_describe’: | |
dbdimp.c:3517: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long unsigned int’ | |
dbdimp.c:3521: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’ | |
dbdimp.c: In function ‘mysql_st_fetch’: | |
dbdimp.c:3738: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’ | |
dbdimp.c:3780: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 3 has type ‘struct MYSQL_RES *’ | |
dbdimp.c:3782: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ | |
dbdimp.c: In function ‘mysql_st_FETCH_attrib’: | |
dbdimp.c:4365: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘my_ulonglong’ | |
dbdimp.c: In function ‘mysql_bind_ph’: | |
dbdimp.c:4571: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘IV’ | |
dbdimp.c:4583: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘IV’ | |
dbdimp.c:4595: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘IV’ | |
dbdimp.c:4609: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘IV’ | |
dbdimp.c:4630: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘IV’ | |
make: *** [dbdimp.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment