DBI is a module that relies on XS, meaning the bulk of it is written in C, the Perl part is mostly only a connection layer between Perl and the module. As a consequence, "placing it in the right place" can't work: the module must be built first, which involves a C compiler. You can use a module like CPAN to (optionally) download and install a module, or you can download it by hand, extract the .tar.gz file, and at the command prompt, cd to the main directory that got extracted, and type the following commands, one at a time:
perl Makefile.PL make make test make install
Do not proceed to the next command if the output of the last command doesn't look right. For example, do not type "make install" if "make test" complains.

Why am I even typing that here? The DBI docs even mention this, at the very top, under "quick start"

It is possible to "just place the files at the appropriate place" if you do have prebuilt binary files for your platform. For example, that's what Activestate provides for this kind of modules for Windows (all versions), for example: the XS parts come built as DLL files.


In reply to Re: Installing DBI module by bart
in thread Installing DBI module by FireBird34

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.