Recently installed MySQL, works fine from the command line.
 
Had problems with installation of Msql-Mysql-modules-1.2215:
  1. Could not find loadable object (I fixed this by copying DBI.so into the path).
  2. Can't locate auto/DBI/prepare.al (and any other method that is called, except for connect). This one is giving me problems.
 
Here I am speculating:
I looked in the Makefile generated by make Makefile.PL. It looks like the autosplit routine is responsible for breaking up the mysql.pm into '.al' pieces? These pieces are missing (find / -name *.al returns only POSIX .al things). No warning is given by make that things are missing.  
I tried breaking up mysql.pm manually (as one would make .pm files). The test program connects to the database but "hangs" indefinitely on the prepare statement.
 
When perl things work, they work very well, so please help me determine what I did wrong!
 
A small question: Why break things into .als? For speed on loading? Could the programs be written to look for the .pm if the .al cannot be found?
 
Thanks!
Gary

In reply to MySQL DBI - Can't locate auto/DBI/prepare.al 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.