Had mysql working underl Mac OS 10.2; just upgraded to 10.3, mysql still works from command line. 10.3 comes with Perl 5.8.1. CPAN worked with the "install Bundle::CPAN" command. Worked on "install DBI", but fails with "install DBD::mysql", which is essential to get this system up an running for in house production/testing of Perl-based web applications.

Any ideas/advice? Here's what CPAN says. this may be obvious enough, but i'm not an expert on editing install files..

/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /Library/Perl/5.8.1/darwin-th +read-multi-2level/auto/DBI/Driver.xst > mysql.xsi<br /> /usr/bin/perl /System/Library/Perl/5.8.1/ExtUtils/xsubpp -typemap /Sy +stem/Library/Perl/5.8.1/ExtUtils/typemap mysql.xs > mysql.xsc && mv +mysql.xsc mysql.c<br /> Warning: duplicate function definition 'do' detected in mysql.xs, line + 192<br /> Warning: duplicate function definition 'rows' detected in mysql.xs, li +ne 290<br /> cc -c -I/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI -I/us +r/local/mysql/include -O3 -fno-omit-frame-pointer -g -pipe -pipe -fno +-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/loc +al/include -Os -DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" "-I/Sy +stem/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" mysql.c rm -f blib/arch/auto/DBD/mysql/mysql.bundle LD_RUN_PATH="/usr/lib" /usr/bin/perl myld MACOSX_DEPLOYMENT_TARGET=10. +3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mys +ql.o -o blib/arch/auto/DBD/mysql/mysql.bundle -L/usr/local/mysql/l +ib -lmysqlclient -lz -lm make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1 /usr/bin/make -j3 -- NOT OK

edited: Wed Nov 5 23:47:22 2003 by jeffa - code tags


In reply to Can't Install DBD::mysql by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.