Install Scripts Errors

Virtualmin seems to have installed correctly. Simple HTML webpages on new virtual domain display correctly. I've tried 3 Virtualmin Install Scripts: Plans; SMF; Wordpress and have errors in every case. I would appreciate help resolving why the Install Scripts are not functioning. I can reinstall the OS and Virtualmin if required. Below are some messages, log excerpts and information from the install attempts:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
--------------------------------------------------------------------------------
Apache/2.2.8 (Ubuntu) DAV/2 SVN/1.4.6 PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.6(2007-09-24) mod_ssl/2.2.8 OpenSSL/0.9.8g Server at www.mindfuze.com Port 80

[Mon Aug 18 03:10:06 2008] [notice] mod_fcgid: process /home/mindfuzetfx/public_html/index.php(23801) exit(communication error), terminated by calling exit(), return code: 114
[Mon Aug 18 03:10:06 2008] [notice] mod_fcgid: process /home/mindfuzetfx/public_html/index.php(23800) exit(server exited), terminated by calling exit(), return code: 114
[Mon Aug 18 03:15:02 2008] [notice] mod_fcgid: call /home/mindfuzetfx/public_html/index.php with wrapper /home/mindfuzetfx/fcgi-bin/php5.fcgi
suexec policy violation: see suexec log for more details
...
[Mon Aug 18 13:16:33 2008] [notice] mod_fcgid: call /home/mindfuzetfx/public_html/wordpress/wp-admin/install.php with wrapper /home/mindfuzetfx/fcgi-bin/php5.fcgi
suexec policy violation: see suexec log for more details
[Mon Aug 18 13:16:36 2008] [notice] mod_fcgid: process /home/mindfuzetfx/public_html/wordpress/wp-admin/install.php(6404) exit(communication error), terminated by calling exit(), return code: 114

[2008-08-18 03:10:03]: uid: (1001/mindfuzetfx) gid: (1002/1002) cmd: php5.fcgi
[2008-08-18 03:10:03]: command not in docroot (/home/mindfuzetfx/fcgi-bin/php5.fcgi)
[2008-08-18 03:15:02]: uid: (1001/mindfuzetfx) gid: (1002/1002) cmd: php5.fcgi
[2008-08-18 03:15:02]: command not in docroot (/home/mindfuzetfx/fcgi-bin/php5.fcgi)
[2008-08-18 03:15:03]: uid: (1001/mindfuzetfx) gid: (1002/1002) cmd: php5.fcgi
[2008-08-18 03:15:03]: command not in docroot (/home/mindfuzetfx/fcgi-bin/php5.fcgi)
...
[2008-08-18 04:59:19]: uid: (1001/mindfuzetfx) gid: (1002/1002) cmd: plans.cgi
[2008-08-18 04:59:19]: command not in docroot (/home/mindfuzetfx/public_html/plans/plans.cgi)

Downloading http://www.simplemachines.org/download/index.php/smf_1-1-5_install.zip ..
Received 103424 bytes
Received 206848 bytes
Received 310272 bytes
Received 413696 bytes
Received 517120 bytes
Received 620544 bytes
Received 723968 bytes
Received 827392 bytes
Received 930816 bytes
Received 1034240 bytes
Received 1137664 bytes
Received 1241088 bytes
Received 1344512 bytes
Received 1447936 bytes
Received 1551360 bytes
Received 1654784 bytes
.. download complete.

Configuring Apache PHP settings ..
.. already done.
Now installing Simple Machines Forum version 1.1.5 ..

Simple Machines Forum post-install configuration failed : HTTP/1.1 500 Internal Server Error
More information on using this script can be found at http://www.simplemachines.org/.

.. installation was only partially complete.
Re-loading Webmin ..

Installing Ruby Gems package ..
Installing package(s) with command apt-get -y --force-yes -f install rubygems ..

Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libgems-ruby1.8 libopenssl-ruby1.8
The following NEW packages will be installed:
libgems-ruby1.8 libopenssl-ruby1.8 rubygems
0 upgraded, 3 newly installed, 0 to remove and 20 not upgraded.
Need to get 576kB of archives.
After this operation, 8380kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com hardy-updates/universe libopenssl-ruby1.8 1.8.6.111-2ubuntu1.1 [108kB]
Get:2 http://us.archive.ubuntu.com hardy/universe libgems-ruby1.8 0.9.4-4 [416kB]
Get:3 http://us.archive.ubuntu.com hardy/universe rubygems 0.9.4-4 [51.7kB]
Fetched 576kB in 1s (486kB/s)
Selecting previously deselected package libopenssl-ruby1.8.
(Reading database ... 63926 files and directories currently installed.)
Unpacking libopenssl-ruby1.8 (from .../libopenssl-ruby1.8_1.8.6.111-2ubuntu1.1_i386.deb) ...
Selecting previously deselected package libgems-ruby1.8.
Unpacking libgems-ruby1.8 (from .../libgems-ruby1.8_0.9.4-4_all.deb) ...
Selecting previously deselected package rubygems.
Unpacking rubygems (from .../rubygems_0.9.4-4_all.deb) ...
Setting up libopenssl-ruby1.8 (1.8.6.111-2ubuntu1.1) ...
Setting up libgems-ruby1.8 (0.9.4-4) ...
Setting up rubygems (0.9.4-4) ...

.. install complete.
.. done

Now installing Typo version 5.0.2 ..

Mongrel GEM install failed :
Bulk updating Gem source index for: http://gems.rubyforge.org
Select which gem to install for your platform (i486-linux)
1. mongrel 1.1.5 (ruby)
2. mongrel 1.1.5 (x86-mingw32)
3. mongrel 1.1.5 (x86-mswin32-60)
4. mongrel 1.1.5 (java)
5. Skip this gem
6. Cancel installation
> 1
Select which gem to install for your platform (i486-linux)
1. fastthread 1.0.1 (mswin32)
2. fastthread 1.0.1 (ruby)
3. fastthread 1.0.1 (i386-mswin32)
4. Skip this gem
5. Cancel installation
> 2
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

ruby extconf.rb install mongrel --include-dependencies
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:1

Gem files will remain installed in /var/lib/gems/1.8/gems/fastthread-1.0.1 for inspection.
Results logged to /var/lib/gems/1.8/gems/fastthread-1.0.1/ext/fastthread/gem_make.out

.. failed! See the error message above for the reason why.

Status: 
Closed (fixed)