At 6:20 PM -0700 4/27/05, Clark Christensen wrote:
Being new to compilers, I have a question about building
DBD-SQLite (for Perl).  If I want to update the underlying
SQLite code in DBD-SQLite to the current release, (v3.2.1),
i sit simply a matter of putting the current SQLite sources
into the DBD-SQLite-1.07 dir and rebuilding?  Or is it more
complicated?  Anybody else have
experience with this?

I do, and the solution's way simpler than that.

Just execute the getsqlite.pl script that's included with the DBD::SQLite distro after you decompress the archive and before you do the 'perl Makefile.PL'. Eg:

  perl getsqlite.pl
  perl Makefile.PL
  make
  make test
  make install

The catch is that you need to have the CPAN module LWP::Simple installed with your Perl first, as the getsqlite.pl script depends on it to implement an HTTP client by which it fetches the most recent code. This module does not come with Perl by default, but it is easy to download from CPAN and install yourself.

-- Darren Duncan

Reply via email to