Updated instructions for install Perl DBI and DBH::SQLite
This commit is contained in:
parent
9d619b15d1
commit
9958399b43
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
# su -c 'perl -MCPAN -e "install DBI"'
|
||||||
|
# su -c 'perl -MCPAN -e "install DBD::SQLite"'
|
||||||
|
|
||||||
Plan:
|
Plan:
|
||||||
1. Write a Perl program with _very_ simple dependency checking.
|
1. Write a Perl program with _very_ simple dependency checking.
|
||||||
2. Make notes on ldconfig
|
2. Make notes on ldconfig
|
||||||
|
|
|
@ -19,7 +19,8 @@ unlink($database);
|
||||||
|
|
||||||
my $dbh = DBI->connect("dbi:SQLite:$database", "", "", {RaiseError => 1, AutoCommit => 1});
|
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 '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_mirrors($dbh);
|
||||||
&populate_gnu_software($dbh);
|
&populate_gnu_software($dbh);
|
||||||
|
|
Loading…
Reference in a new issue