As long as they've got a compiler, it should be possible. First, write a CGI script that will do a qx// on whatever you send it and send you back the results ... Now upload the DBD-SQLite tar-ball. Then issue the magic command ...

Better yet, just have that CGI script use CPAN. Here's a (completely untested) outline of a "cpan_installer.cgi" script:

#!perl use CGI qw/:standard/; use CPAN; print header(); if ( my $module = param('module') ) { print start_html("Installing $module"), h1("Installing $module"); $ENV{PREFIX} = '~'; eval { CPAN::Shell->expand('Module',$module)->install }; if ( $@ ) { print "<font color=red>Failure: $@</font>"; } } else { print start_html("CPAN Installer Tool"), h1("CPAN Installer Tool"); print start_form(), textfield('module', ""), submit('install', "Click to Install"), end_form(); } print end_html();

Properly fitted out with some logic to detect common configuration problems and extra form controls to allow futzing with the make process, this might serve as a useful resource... I notice a routine stream of postings along the lines of "I only have FTP and CGI access on my web server account, and want to install X." It'd be nice if we could reply with something like "Just upload this script and it will either guide you through the process, or explain why it can't be done on your server."

Update: On second thought, this is more complicated than the above suggests; for example, we may need to deal with configuring CPAN for the first time, which this script doesn't do... But I still think that a suitably enhanced "cpan.cgi" script could be useful to many.


In reply to Re: Re: DBD::SQLite - Standalone on webserver via FTP? by simonm
in thread DBD::SQLite - Standalone on webserver via FTP? by lwicks

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.