Skip to content

Instantly share code, notes, and snippets.

@2ge
Created August 6, 2012 03:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 2ge/3269490 to your computer and use it in GitHub Desktop.
Save 2ge/3269490 to your computer and use it in GitHub Desktop.
DBD::mysql failed
cpan[1]> install DBD::mysql
Reading '/Users/2ge/.cpan/Metadata'
Database was generated on Sun, 05 Aug 2012 10:19:03 GMT
Running install for module 'DBD::mysql'
Running make for C/CA/CAPTTOFU/DBD-mysql-4.021.tar.gz
Checksum for /Users/2ge/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.021.tar.gz ok
Scanning cache /Users/2ge/.cpan/build for sizes
............................................................................DONE
CPAN.pm: Building C/CA/CAPTTOFU/DBD-mysql-4.021.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/Cellar/mysql/5.5.25a/include -Qunused-arguments -g
embedded (mysql_config) =
ldflags (mysql_config) =
libs (mysql_config) = -L/usr/local/Cellar/mysql/5.5.25a/lib -lmysqlclient -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 ) = root
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.
Checking if your kit is complete...
Looks good
Using DBI 1.622 (for perl 5.012004 on darwin-thread-multi-2level) installed in /Library/Perl/5.12/darwin-thread-multi-2level/auto/DBI/
Writing Makefile for DBD::mysql
Writing MYMETA.yml and MYMETA.json
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
clang -c -I/Library/Perl/5.12/darwin-thread-multi-2level/auto/DBI -I/usr/local/Cellar/mysql/5.5.25a/include -Qunused-arguments -g -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -arch i386 -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -Os -DVERSION=\"4.021\" -DXS_VERSION=\"4.021\" "-I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE" dbdimp.c
dbdimp.c:2378:5: warning: expression result unused [-Wunused-value]
hv_store((HV*)SvRV(dbh), key, kl, cachesv, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:432:6: note: expanded from macro 'hv_store'
((SV**) hv_common_key_len((hv), (key), (klen), \
^
dbdimp.c:2491:7: warning: expression result unused [-Wunused-value]
hv_store(
^~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:432:6: note: expanded from macro 'hv_store'
((SV**) hv_common_key_len((hv), (key), (klen), \
^
dbdimp.c:2498:7: warning: expression result unused [-Wunused-value]
hv_store(
^~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:432:6: note: expanded from macro 'hv_store'
((SV**) hv_common_key_len((hv), (key), (klen), \
^
dbdimp.c:3037:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "NAME", 4, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3038:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "NULLABLE", 8, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3039:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "NUM_OF_FIELDS", 13, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3040:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "PRECISION", 9, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3041:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "SCALE", 5, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3042:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "TYPE", 4, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3043:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_insertid", 14, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3044:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_is_auto_increment", 23, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3045:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_is_blob", 13, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3046:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_is_key", 12, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3047:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_is_num", 12, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3048:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_is_pri_key", 16, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3049:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_length", 12, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3050:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_max_length", 16, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3051:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_table", 11, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3052:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_type", 10, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3053:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_type_name", 15, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3054:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_warning_count", 20, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3609:22: warning: incompatible pointer types assigning to 'my_bool *' (aka 'char *') from 'bool *' [-Wincompatible-pointer-types]
buffer->is_null= &(fbh->is_null);
^ ~~~~~~~~~~~~~~~
dbdimp.c:4440:17: warning: expression result unused [-Wunused-value]
hv_store(pvhv, key,
^~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:432:6: note: expanded from macro 'hv_store'
((SV**) hv_common_key_len((hv), (key), (klen), \
^
23 warnings generated.
dbdimp.c:2378:5: warning: expression result unused [-Wunused-value]
hv_store((HV*)SvRV(dbh), key, kl, cachesv, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:432:6: note: expanded from macro 'hv_store'
((SV**) hv_common_key_len((hv), (key), (klen), \
^
dbdimp.c:2491:7: warning: expression result unused [-Wunused-value]
hv_store(
^~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:432:6: note: expanded from macro 'hv_store'
((SV**) hv_common_key_len((hv), (key), (klen), \
^
dbdimp.c:2498:7: warning: expression result unused [-Wunused-value]
hv_store(
^~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:432:6: note: expanded from macro 'hv_store'
((SV**) hv_common_key_len((hv), (key), (klen), \
^
dbdimp.c:3037:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "NAME", 4, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3038:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "NULLABLE", 8, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3039:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "NUM_OF_FIELDS", 13, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3040:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "PRECISION", 9, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3041:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "SCALE", 5, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3042:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "TYPE", 4, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3043:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_insertid", 14, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3044:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_is_auto_increment", 23, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3045:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_is_blob", 13, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3046:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_is_key", 12, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3047:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_is_num", 12, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3048:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_is_pri_key", 16, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3049:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_length", 12, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3050:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_max_length", 16, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3051:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_table", 11, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3052:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_type", 10, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3053:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_type_name", 15, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3054:7: warning: expression result unused [-Wunused-value]
hv_delete((HV*)SvRV(sth), "mysql_warning_count", 20, G_DISCARD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:446:6: note: expanded from macro 'hv_delete'
(MUTABLE_SV(hv_common_key_len((hv), (key), (klen), \
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/handy.h:71:24: note: expanded from macro 'MUTABLE_SV'
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
^
dbdimp.c:3609:22: warning: incompatible pointer types assigning to 'my_bool *' (aka 'char *') from 'bool *' [-Wincompatible-pointer-types]
buffer->is_null= &(fbh->is_null);
^ ~~~~~~~~~~~~~~~
dbdimp.c:4440:17: warning: expression result unused [-Wunused-value]
hv_store(pvhv, key,
^~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:432:6: note: expanded from macro 'hv_store'
((SV**) hv_common_key_len((hv), (key), (klen), \
^
23 warnings generated.
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /Library/Perl/5.12/darwin-thread-multi-2level/auto/DBI/Driver.xst > mysql.xsi
/usr/bin/perl /System/Library/Perl/5.12/ExtUtils/xsubpp -typemap /System/Library/Perl/5.12/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 242
Warning: duplicate function definition 'rows' detected in mysql.xs, line 752
clang -c -I/Library/Perl/5.12/darwin-thread-multi-2level/auto/DBI -I/usr/local/Cellar/mysql/5.5.25a/include -Qunused-arguments -g -DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -arch i386 -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -Os -DVERSION=\"4.021\" -DXS_VERSION=\"4.021\" "-I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE" mysql.c
mysql.xs:309:3: warning: expression result unused [-Wunused-value]
hv_store((HV*)SvRV(dbh), "Statement", 9, SvREFCNT_inc(statement), 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:432:6: note: expanded from macro 'hv_store'
((SV**) hv_common_key_len((hv), (key), (klen), \
^
mysql.xs:931:35: warning: format specifies type 'int' but the argument has type 'SV *' (aka 'struct sv *') [-Wformat]
croak("Unknown SQL Info type: %i",dbh);
~^ ~~~
2 warnings generated.
mysql.xs:309:3: warning: expression result unused [-Wunused-value]
hv_store((HV*)SvRV(dbh), "Statement", 9, SvREFCNT_inc(statement), 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/hv.h:432:6: note: expanded from macro 'hv_store'
((SV**) hv_common_key_len((hv), (key), (klen), \
^
1 warning generated.
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.bundle
LD_RUN_PATH="/usr/local/Cellar/mysql/5.5.25a/lib:/usr/lib" /usr/bin/perl myld clang -mmacosx-version-min=10.8 -arch i386 -arch x86_64 -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.bundle \
-L/usr/local/Cellar/mysql/5.5.25a/lib -lmysqlclient -lz -lssl -lcrypto \
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.021.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base.t .................. ok
t/10connect.t ............... No subtests run
t/20createdrop.t ............ No subtests run
t/25lockunlock.t ............ No subtests run
t/29warnings.t .............. No subtests run
t/30insertfetch.t ........... No subtests run
t/31insertid.t .............. No subtests run
t/32insert_error.t .......... No subtests run
t/35limit.t ................. No subtests run
t/35prepare.t ............... No subtests run
t/40bindparam.t ............. No subtests run
t/40bindparam2.t ............ No subtests run
t/40blobs.t ................. No subtests run
t/40catalog.t ............... No subtests run
t/40keyinfo.t ............... No subtests run
t/40listfields.t ............ No subtests run
t/40nulls.t ................. No subtests run
t/40nulls_prepare.t ......... No subtests run
t/40numrows.t ............... No subtests run
t/40server_prepare.t ........ No subtests run
t/40server_prepare_error.t .. No subtests run
t/40types.t ................. No subtests run
t/41bindparam.t ............. No subtests run
t/41blobs_prepare.t ......... No subtests run
t/42bindparam.t ............. No subtests run
t/50chopblanks.t ............ No subtests run
t/50commit.t ................ No subtests run
t/51bind_type_guessing.t .... No subtests run
t/52comment.t ............... No subtests run
t/53comment.t ............... No subtests run
t/55utf8.t .................. No subtests run
t/60leaks.t ................. skipped: Skip $ENV{SLOW_TESTS} is not set
t/65types.t ................. No subtests run
t/70takeimp.t ............... No subtests run
t/71impdata.t ............... No subtests run
t/75supported_sql.t ......... No subtests run
t/76multi_statement.t ....... No subtests run
t/80procs.t ................. No subtests run
t/85init_command.t .......... No subtests run
t/86_bug_36972.t ............ No subtests run
Test Summary Report
-------------------
t/10connect.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/20createdrop.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/25lockunlock.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/29warnings.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/30insertfetch.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/31insertid.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/32insert_error.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/35limit.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/35prepare.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/40bindparam.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/40bindparam2.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/40blobs.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/40catalog.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/40keyinfo.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/40listfields.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/40nulls.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/40nulls_prepare.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/40numrows.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/40server_prepare.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/40server_prepare_error.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/40types.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/41bindparam.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/41blobs_prepare.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/42bindparam.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/50chopblanks.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/50commit.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/51bind_type_guessing.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/52comment.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/53comment.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/55utf8.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/65types.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/70takeimp.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/71impdata.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/75supported_sql.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/76multi_statement.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/80procs.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/85init_command.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
t/86_bug_36972.t (Wstat: 11 Tests: 0 Failed: 0)
Non-zero wait status: 11
Parse errors: No plan found in TAP output
Files=40, Tests=6, 8 wallclock secs ( 0.09 usr 0.07 sys + 2.12 cusr 0.26 csys = 2.54 CPU)
Result: FAIL
Failed 38/40 test programs. 0/6 subtests failed.
make: *** [test_dynamic] Error 255
CAPTTOFU/DBD-mysql-4.021.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.021.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
CAPTTOFU/DBD-mysql-4.021.tar.gz : make_test NO
-----------------
e$ perl -V
Summary of my perl5 (revision 5 version 12 subversion 4) configuration:
Platform:
osname=darwin, osvers=12.0, archname=darwin-thread-multi-2level
uname='darwin b1026.apple.com 12.0 darwin kernel version 12.0.0: tue may 15 23:31:29 pdt 2012; root:xnu-2050.6.70~1release_x86_64 x86_64 '
config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags= -Dman3ext=3pm -Duseithreads -Duseshrplib -Dinc_version_list=none -Dcc=clang'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='clang', ccflags ='-arch i386 -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include',
optimize='-Os',
cppflags='-g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='clang -mmacosx-version-min=10.8', ldflags ='-arch i386 -arch x86_64 -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=, so=dylib, useshrplib=true, libperl=libperl.dylib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-arch i386 -arch x86_64 -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL
USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
Locally applied patches:
/Library/Perl/Updates/<version> comes before system perl directories
installprivlib and installarchlib points to the Updates directory
Built under darwin
Compiled at Jun 20 2012 13:55:28
%ENV:
PERL5LIB="/Users/2ge/perl5/lib/perl5/darwin-thread-multi-2level:/Users/2ge/perl5/lib/perl5"
PERL_LOCAL_LIB_ROOT="/Users/2ge/perl5"
PERL_MB_OPT="--install_base /Users/2ge/perl5"
PERL_MM_OPT="INSTALL_BASE=/Users/2ge/perl5"
@INC:
/Users/2ge/perl5/lib/perl5/darwin-thread-multi-2level
/Users/2ge/perl5/lib/perl5
/Library/Perl/5.12/darwin-thread-multi-2level
/Library/Perl/5.12
/Network/Library/Perl/5.12/darwin-thread-multi-2level
/Network/Library/Perl/5.12
/Library/Perl/Updates/5.12.4/darwin-thread-multi-2level
/Library/Perl/Updates/5.12.4
/System/Library/Perl/5.12/darwin-thread-multi-2level
/System/Library/Perl/5.12
/System/Library/Perl/Extras/5.12/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.12
.
----------
$ uname -a
Darwin Branos-MacBook-Pro-2.local 12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64
@2ge
Copy link
Author

2ge commented Aug 7, 2012

e$ mysql_config
Usage: /usr/local/bin/mysql_config [OPTIONS]
Options:
--cflags [-I/usr/local/Cellar/mysql/5.5.25a/include -Qunused-arguments -g]
--include [-I/usr/local/Cellar/mysql/5.5.25a/include]
--libs [-L/usr/local/Cellar/mysql/5.5.25a/lib -lmysqlclient -lz -lssl -lcrypto]
--libs_r [-L/usr/local/Cellar/mysql/5.5.25a/lib -lmysqlclient_r -lz -lssl -lcrypto]
--plugindir [/usr/local/Cellar/mysql/5.5.25a/lib/plugin]
--socket [/tmp/mysql.sock]
--port [0]
--version [5.5.25a]
--libmysqld-libs [-L/usr/local/Cellar/mysql/5.5.25a/lib -lmysqld]
--variable=VAR VAR is one of:
pkgincludedir [/usr/local/Cellar/mysql/5.5.25a/include]
pkglibdir [/usr/local/Cellar/mysql/5.5.25a/lib]
plugindir [/usr/local/Cellar/mysql/5.5.25a/lib/plugin]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment