Midgard Data Package
If some of the following needed binaries are not in your $PATH, include full path in the configure parameters.
For example:
$ ./configure --with-midgard-config=/full/path/to/midgard-config
To make a correct makefile, you should define:
--with-midgard-config(midgard-configscript created with midgard-core)--with-mysql-config(mysql_configbinary, usually in MySQL package, e.g.mysql)--with-apxs(apxsbinary, in Apache development package [e.g.httpd-devel)--with-apache-user(username under which the Apache server runs, e.g.apache,www-data,nobodyormidgard)--with-dialog(dialog binary, important for datagard functions, e.g.dialog)
Once configured, run:
$ make install
Since 1.8 midgard-data installs PEAR packages. Make sure your PHP was compiled with the --enable-tokenizer option. Some PEAR packages can not be installed when this option is disabled
After midgard-data is installed, run datagard to set up a new Midgard database and virtual host.
