I tried installing DBD::mysql but it dosent quite complete

I used the following line

perl Makefile.PL --cflags=-I/usr/local/mysql/include/mysql -libs=-L/usr/local/mysql/lib/mysql The I tag being the location of mysql.h. Can you see if I am doing anything wrong?

THanks

Costas

I have included the results of 'make' for anyones reference
cc -c -I/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI -I/usr/loca +l/mysql/include/mysql -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FIL +E_OFFSET_BITS=64 -O2 -march=i686 -pipe -DVERSION=\"2.0902\" -DXS_VE +RSION=\"2.0902\" -fpic -I/usr/lib/perl5/5.6.1/i686-linux/CORE dbdimp +.c /usr/bin/perl -p -e "s/~DRIVER~/mysql/g" < /usr/lib/perl5/site_perl/5. +6.1/i686-linux/auto/DBI/Driver.xst > mysql.xsi /usr/bin/perl -I/usr/lib/perl5/5.6.1/i686-linux -I/usr/lib/perl5/5.6.1 + /usr/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.6.1/ +ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c Warning: duplicate function definition 'rows' detected in mysql.xs, li +ne 263 cc -c -I/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI -I/usr/loca +l/mysql/include/mysql -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FIL +E_OFFSET_BITS=64 -O2 -march=i686 -pipe -DVERSION=\"2.0902\" -DXS_VE +RSION=\"2.0902\" -fpic -I/usr/lib/perl5/5.6.1/i686-linux/CORE mysql. +c Running Mkbootstrap for DBD::mysql () chmod 644 mysql.bs rm -f blib/arch/auto/DBD/mysql/mysql.so LD_RUN_PATH="" /usr/bin/perl myld cc -shared dbdimp.o mysql.o -o bli +b/arch/auto/DBD/mysql/mysql.so chmod 755 blib/arch/auto/DBD/mysql/mysql.so cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs chmod 644 blib/arch/auto/DBD/mysql/mysql.bs Manifying blib/man3/DBD::mysql.3perl Unmatched =back at /usr/bin/pod2man line 48 Unmatched =back at /usr/bin/pod2man line 48 Manifying blib/man3/DBD::mysql::INSTALL.3perl Manifying blib/man3/Bundle::DBD::mysql.3perl Manifying blib/man3/Mysql.3perl

In reply to Installing DBD problems by costas

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.