Table of Contents

How to Compile Shared version

Starbug1 uses SQLite3, cgic, gettext, iconv. It needs rsunc, gettext, sqlite3, cgic To compile Starbug1.

Install SQLite3

If sqlite3 development files was installed, jump to next step.

Install by operation system's package system.

Ubuntu:

$ sudo apt-get install libsqlite3-dev

Install by sources.

Download latest source sqlite-3.x.x.tar.gz from http://www.sqlite.org/.

$ wget http://www.sqlite.org/sqlite-3.5.4.tar.gz

extract, compile and install.

$ tar zxf sqlite-3.5.4.tar.gz
$ mkdir bld
$ cd bld
$ ../sqlite-3-5-4/configure --disable-tcl
$ make
$ sudo make install

Install cgic

Download cgic205.tar.gz from http://www.boutell.com/cgic/.

$ wget http://www.boutell.com/cgic/cgic205.tar.gz

extract, compile and install.

$ tar zxf cgic205.tar.gz
$ cd cgic205
$ make
$ sudo make install

Compile Starbug1

get source.

Download from https://sourceforge.jp/projects/starbug1/

Compile

Extract source file archive and compile.

$ tar zxf starbug1-x.x.x.tar.gz
$ cd starbug1
$ make INITIAL_LOCALE=ja_JP webapp

It is required GNU Make To compile Starbug1. If make is GNU's, use gmake instead. above command makes web application set to the directory dist/starbug1.

Compile several language versions.

English Version

$ tar zxf starbug1-x.x.x.tar.gz
$ cd starbug1
$ make INITIAL_LOCALE=en_US webapp

Simplified Chinese

$ tar zxf starbug1-x.x.x.tar.gz
$ cd starbug1
$ make INITIAL_LOCALE=zh_CN webapp

Traditional Chinese

$ tar zxf starbug1-x.x.x.tar.gz
$ cd starbug1
$ make INITIAL_LOCALE=zh_TW webapp

next is setup.