- ソースからコンパイルする場合のTIPS
- インストール時に開発環境をいれておくのが最良(コンパイル時にヘッダーが必要になることが多いため)
MySQL†
# groupadd mysql
# useradd -g mysql -d /usr/local/mysql mysql
# passwd mysql
# chown -R mysql:mysql /usr/local/mysql/
PostgreSQL7.x†
# groupadd postgres
# useradd -g postgres -d /usr/local/pgsql postgres
# cd /usr/local/pgsql
# chown -R postgres:postgres /usr/local/pgsql/
readlineとzlibがconfigureでエラーになるので
./configure --enable-multibyte=EUC_JP --prefix=/usr/local/pgsql --without-readline --without-zlib
make check
make install
Lynx†
コンパイル時にcursesというライブラリが必要
ncursesというのがGNUにある
vineならapt-get install ncurses-devel