From 9958399b43f98e817f82d53c88470d4237ebaac0 Mon Sep 17 00:00:00 2001 From: Troy Date: Fri, 17 Jul 2009 00:21:35 +0400 Subject: [PATCH] Updated instructions for install Perl DBI and DBH::SQLite --- tdw-experimental/README | 3 +++ tdw-experimental/sql-gnu-populate | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tdw-experimental/README b/tdw-experimental/README index e914037..254a4c4 100644 --- a/tdw-experimental/README +++ b/tdw-experimental/README @@ -1,3 +1,6 @@ +# su -c 'perl -MCPAN -e "install DBI"' +# su -c 'perl -MCPAN -e "install DBD::SQLite"' + Plan: 1. Write a Perl program with _very_ simple dependency checking. 2. Make notes on ldconfig diff --git a/tdw-experimental/sql-gnu-populate b/tdw-experimental/sql-gnu-populate index 4045922..6f11109 100755 --- a/tdw-experimental/sql-gnu-populate +++ b/tdw-experimental/sql-gnu-populate @@ -19,7 +19,8 @@ unlink($database); my $dbh = DBI->connect("dbi:SQLite:$database", "", "", {RaiseError => 1, AutoCommit => 1}); # su -c 'aptitude install libdbd-sqlite3-perl' on a Debian system TDW 2009-04-19 -# su -c 'perl -MCPAN -e "install DBD-SQLite"' +# su -c 'perl -MCPAN -e "install DBI"' +# su -c 'perl -MCPAN -e "install DBD::SQLite"' &populate_gnu_mirrors($dbh); &populate_gnu_software($dbh);