Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sudo perl -MCPAN -e 'install DBD::mysql'
- Going to read '/Users/jonathan/.cpan/Metadata'
- Database was generated on Fri, 25 Mar 2011 12:29:22 GMT
- Running install for module 'DBD::mysql'
- Running make for C/CA/CAPTTOFU/DBD-mysql-4.018.tar.gz
- Checksum for /Users/jonathan/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.018.tar.gz ok
- CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.018.tar.gz
- PLEASE NOTE:
- For 'make test' to run properly, you must ensure that the
- database user 'root' 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 'root'@'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/mysql-5.5.9-osx10.6-x86_64/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64
- embedded (mysql_config) =
- libs (mysql_config) = -L/usr/local/mysql-5.5.9-osx10.6-x86_64/lib -lmysqlclient -lpthread
- mysql_config (guessed ) = mysql_config
- nocatchstderr (default ) = 0
- nofoundrows (default ) = 0
- ssl (guessed ) = 0
- testdb (default ) = test
- testhost (default ) =
- testpassword (default ) =
- testsocket (default ) =
- testuser (guessed ) = root
- To change these settings, see 'perl Makefile.PL --help' and
- 'perldoc INSTALL'.
- Checking if your kit is complete...
- Looks good
- Using DBI 1.616 (for perl 5.012003 on darwin-multi-2level) installed in /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/auto/DBI/
- Writing Makefile for DBD::mysql
- 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
- /usr/bin/gcc-4.2 -c -I/opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/auto/DBI -I/usr/local/mysql-5.5.9-osx10.6-x86_64/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -O2 -arch x86_64 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector -I/opt/local/include -O3 -DVERSION=\"4.018\" -DXS_VERSION=\"4.018\" "-I/opt/local/lib/perl5/5.12.3/darwin-multi-2level/CORE" dbdimp.c
- 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’
- /opt/local/bin/perl -p -e "s/~DRIVER~/mysql/g" /opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/auto/DBI/Driver.xst > mysql.xsi
- /opt/local/bin/perl /opt/local/lib/perl5/5.12.3/ExtUtils/xsubpp -typemap /opt/local/lib/perl5/5.12.3/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
- Warning: duplicate function definition 'do' detected in mysql.xs, line 225
- Warning: duplicate function definition 'rows' detected in mysql.xs, line 650
- /usr/bin/gcc-4.2 -c -I/opt/local/lib/perl5/site_perl/5.12.3/darwin-multi-2level/auto/DBI -I/usr/local/mysql-5.5.9-osx10.6-x86_64/include -Os -g -fno-common -fno-strict-aliasing -arch x86_64 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -O2 -arch x86_64 -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector -I/opt/local/include -O3 -DVERSION=\"4.018\" -DXS_VERSION=\"4.018\" "-I/opt/local/lib/perl5/5.12.3/darwin-multi-2level/CORE" mysql.c
- Running Mkbootstrap for DBD::mysql ()
- chmod 644 mysql.bs
- rm -f blib/arch/auto/DBD/mysql/mysql.bundle
- LD_RUN_PATH="/usr/local/mysql-5.5.9-osx10.6-x86_64/lib:/usr/lib" /opt/local/bin/perl myld env MACOSX_DEPLOYMENT_TARGET=10.6 /usr/bin/gcc-4.2 -L/opt/local/lib -arch x86_64 -bundle -undefined dynamic_lookup -fstack-protector dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.bundle \
- -L/usr/local/mysql-5.5.9-osx10.6-x86_64/lib -lmysqlclient -lpthread \
- chmod 755 blib/arch/auto/DBD/mysql/mysql.bundle
- cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
- chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
- Manifying blib/man3/DBD::mysql.3pm
- Manifying blib/man3/DBD::mysql::INSTALL.3pm
- Manifying blib/man3/Bundle::DBD::mysql.3pm
- CAPTTOFU/DBD-mysql-4.018.tar.gz
- /usr/bin/make -- OK
- 'YAML' not installed, will not store persistent state
- Running make test
- PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
- t/00base.t .................. 1/6 Bailout called. Further testing stopped: Unable to load DBD::mysql
- # Failed test 'use DBD::mysql;'
- # at t/00base.t line 21.
- # Tried to use 'DBD::mysql'.
- # Error: Can't load '/Users/jonathan/.cpan/build/DBD-mysql-4.018-iCpHW3/blib/arch/auto/DBD/mysql/mysql.bundle' for module DBD::mysql: dlopen(/Users/jonathan/.cpan/build/DBD-mysql-4.018-iCpHW3/blib/arch/auto/DBD/mysql/mysql.bundle, 2): Library not loaded: libmysqlclient.16.dylib
- # Referenced from: /Users/jonathan/.cpan/build/DBD-mysql-4.018-iCpHW3/blib/arch/auto/DBD/mysql/mysql.bundle
- # Reason: image not found at /opt/local/lib/perl5/5.12.3/darwin-multi-2level/DynaLoader.pm line 204.
- # at (eval 7) line 2
- # Compilation failed in require at (eval 7) line 2.
- # BEGIN failed--compilation aborted at (eval 7) line 2.
- FAILED--Further testing stopped: Unable to load DBD::mysql
- make: *** [test_dynamic] Error 255
- CAPTTOFU/DBD-mysql-4.018.tar.gz
- /usr/bin/make test -- NOT OK
- //hint// to see the cpan-testers results for installing this module, try:
- reports CAPTTOFU/DBD-mysql-4.018.tar.gz
- Running make install
- make test had returned bad status, won't install without force
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement