Well actually I just managed to resolve this issue.

I do already have MySQL installed. I had to specify some flags while doing running the Makefile.PL, to specify the location of some MySQL header files that it was complaining about. I obtained the value of the flags by using the mysql_config.

After that I did make and make install and everything went well.

One thing again though. DBI once again got installed in some random directory inside ~/perl5/lib/perl5 and I had to manually drag it to ~/perl5/lib/perl5. I had in fact specified PREFIX also while running the Makefile.PL and it seems to have only partly heeded to it (it went inside ~/perl5/lib/perl5). Any ideas what's going on?

Thanks so much for your help.


In reply to Re^6: (Never Ending) Module Installation Issues by listanand
in thread (Never Ending) Module Installation Issues by listanand

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.