Sherm Pendley wrote:
You didn't run the other steps; the full recipe is:
perl Makefile.PL --with-whatever-args
make
make test
sudo make install
Sorry if this sounds obvious, but you shouldn't continue with the next
step until you're happy with the last one. If you have any doubts,
don't hesitate to do as you've done here - post your input, the
output, and your question.
Okay . . . I went ahead with the args that I'd set; also created a new
directory at /usr/local/mysql/include/mysql and ran the following command:
sudo ln -s /usr/local/mysql/lib /usr/local/mysql/lib/mysql ln -s
/usr/local/mysql/include /usr/local/mysql/include/mysql
Ran make test, but still got a whole bunch of errors. here's the first
set of errors:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base.............ok 1/5install_driver(mysql) failed: Can't load
'/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'
for module DBD::mysql:
dlopen(/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle,
2): Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
Referenced from:
/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle
Reason: image not found at
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/DynaLoader.pm line
230.
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/00base.t line 38
t/00base.............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/10connect..........install_driver(mysql) failed: Can't load
'/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle'
for module DBD::mysql:
dlopen(/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle,
2): Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
Referenced from:
/Users/lolajl/.cpan/build/DBD-mysql-4.005/blib/arch/auto/DBD/mysql/mysql.bundle
Reason: image not found at
/System/Library/Perl/5.8.6/darwin-thread-multi-2level/DynaLoader.pm line
230.
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/10connect.t line 25
# Looks like your test died before it could output anything.
t/10connect..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
--
Lola J. Lee Beno - ColdFusion Programmer/Web Designer for Hire
http://www.lolajl.net/resume | Blog at http://www.lolajl.net/blog/
"In rivers, the water that you touch is the last of what has passed
and the first of that which comes; so with present time."
- Leonardo da Vinci (1452-1519)