WindowsにSQLiteをインストールする方法

SQLiteをWindows上にインストールする方法をメモっておく。

私の家のマシン環境は、Windows XP であり、perl などのプログラミングも全てWindows上で行いたいと考えている。最近、SQLiteが気になり始め、Windows 上でSQLiteを使ったアプリを作るために、SQLiteを利用できるようにした。

前提条件

  • Apache などのWebサーバがすでにインストールされていること
  • ActivePerl がすでにインストールされていること

手順

  1. コマンドプロンプトを起動する。
  2. "ppm"コマンドを実行する。
  3. "install DBD-SQLite"と入力して、エンターキーを押す。

実行例

C:\>ppm
PPM - Programmer's Package Manager version 3.1.
Copyright (c) 2001 ActiveState Corp. All Rights Reserved.
ActiveState is a devision of Sophos.

Entering interactive shell. Using Term::ReadLine::Stub as readline library.

Type 'help' to get started.

ppm> install DBD-SQLite
====================
Install 'DBI' version 1.49 in ActivePerl 5.8.6.811.
====================
Downloaded 556633 bytes.
Extracting 73/73: blib/arch/auto/DBI/Driver_xst.h

(略)

Files found in blib\arch: installing files in blib\lib into architecture depende
nt library tree
Installing C:\usr\site\lib\DBD\SQLite.pm
Successfully installed DBD-SQLite version 1.11 in ActivePerl 5.8.6.811.
ppm>

以上の設定で、perlでSQLiteが利用できるようになる。

トラックバック(0)

このブログ記事に対するトラックバックURL: http://itsmemo.com/mt/mt-tb.cgi/45

※スパム防止のため、管理人がトラックバック内容確認後、公開されます。

コメント(3)

Anonymous :

手順2のPPMファイルはどこから入手するればよいのか?

管理人 :

>Anonymous

PPMは、ActivePerlをインストールすれば、勝手にインストールされます。

Anonymous :

おぉ〜、できました。ありがとうございます。

コメントする