Midgard-data Installation
- ./configure --with-midgad-config=/usr/local/midgard-config --with-mysql-config=/usr/local/bin/mysql_config --with-apxs=/usr/sbin/apxs --with-apache-user=www --with-dialog=/usr/local/bin/dialog
- make install
- datagard
- ./configure
- gmake
- gmake install
- gmake clean
./configure --with-midgad-config=/usr/local/midgard-config --with-mysql-config=/usr/local/bin/mysql_config --with-apxs=/usr/sbin/apxs --with-apache-user=www --with-dialog=/usr/local/bin/dialog
make install
datagard
- What is MySQL admin name? admin
What is MySQL admin password? password
Select Install New Database
What is the name for database? midgard
- Username for Midgardâ database? midgard
- Password for Midgardâ database? midgard
Error Notes
If you get âdatagard: command not found.â Make sure datagard is in your path. In my case the path that should be in your path is /usr/local/sbin.
If you get âbash: /usr/local/sbin/datagard: /bin/bash: bad interpreter: No such file or directoryâ make sure the first line in the datagard file is correct to where your bash is installed (ex. /usr/local/bin/bash).
If you receive dialog usage information when you run datagard then you have the wrong version installed. I tried using dialog 0.3, dialog 0.6z, dialog 0.61a, cdialog 0.9a and none of them worked. I finally tried cdialog 1.0-20040920 from http://ftp.debian.org/debian/pool/main/d/dialog/dialog_1.0-20040920.orig.tar.gz.
