To change these settings, see 'perl Makefile.PL -help' and Libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient I will use the following settings for compiling and testing:Ĭflags (mysql_config) = -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -DUNIV_LINUX -DUNIV_LINUX You can also optionally set the user to run 'make test' with: Mysql> grant all privileges on test.* to identified by 's3kr1t' Prepending /home/rkltwitter/.cpan/build/DBI-1.623-Wb16cS/blib/arch /home/rkltwitter/.cpan/build/DBI-1.623-Wb16cS/blib/lib /home/rkltwitter/.cpan/build/Class-DBI-v3.0.17-TE00jx/blib/arch /home/rkltwitter/.cpan/build/Class-DBI-v3.0.17-TE00jx/blib/lib /home/rkltwitter/.cpan/build/Class-Data-Inheritable-0.08-6zT5e2/blib/arch /home/rkltwitter/.cpan/build/Class-Data-Inheritable-0.08-6zT5e2/blib/lib /home/rkltwitter/.cpan/build/Class-Trigger-0.14-ojTrtL/blib/arch /home/rkltwitter/.cpan/build/Class-Trigger-0.14-ojTrtL/blib/lib /home/rkltwitter/.cpan/build/Class-Accessor-0.34-I26kqc/blib/arch /home/rkltwitter/.cpan/build/Class-Accessor-0.34-I26kqc/blib/lib to PERL5LIB for 'make'ĬPAN.pm: Building C/CA/CAPTTOFU/Īrgument "PREFIX=~/perlmods" isn't numeric in alarm at /home/rkltwitter/perl5/perlbrew/perls/perl-5.16.2/lib/5.16.2/CPAN/Distribution.pm line 1945.įor 'make test' to run properly, you must ensure that theĭatabase user 'rkltwitter' can connect to your MySQL serverĪnd has the proper privileges that these tests require suchĪs 'drop table', 'create table', 'drop procedure', 'create procedure' Here is the output that I get when doing install DBD::mysql DBD-mysql-4.022/TODOĭBD-mysql-4.022/t/40server_prepare_error.tĭBD-mysql-4.022/eg/prepare_memory_ĬPAN: Parse::CPAN::Meta loaded ok (v1.4402) There is no mysql server running on this box, and there shouldn't need to be. Perl/cpan installed in my home directory using perlbrew.
0 Comments
Leave a Reply. |