One of our amazing users got DekiWiki up and running on FreeBSD. These instructions apply only to i386 FreeBSD, as mono does not work with amd64. Here's a quick rundown on what to change.
---
How I got DekiWiki to run on FreeBSD 6.1
Environment:
FreeBSD 6.1 i386
Apache/2.2.2 (FreeBSD)
mod_ssl/2.2.2
OpenSSL/0.9.7e-p1
DAV/2
PHP/5.1.4
After successfully installing Apache2, MySQL, and PHP5 from FreeBSD ports...
Open /dekiwiki-current/dekiwiki/extensions/MWSearchUpdater.php and change the 5th line from /usr/share/pear to /usr/local/share/pear
Open installWiki.sh
Change line "APACHE_USER=www-data" to "APACHE_USER=www"
## mktemp is a utility on FreeBSD
Remove line 153 "tmp_file='mktemp"
Change variable at the end of line 154 from "$tmp_file" to "tempfile"
Change line 155 from "mv $tmp_file /etc/mwsearch.conf" to "mv tempfile /etc/mwsearch.conf"
Change line 158 /etc/init.d/mwlucene restart to /usr/local/etc/rc.d/mwlucene restart
move mwlucene to /usr/local/etc/rc.d/ instead of /etc/init.d/
portinstall pear bash pdftohtml html2text wv links aspell mono
pear install Cache_Lite
pear upgrade-all
Change #!/bin/bash to #!/usr/local/bin/bash in /usr/local/etc/rc.d/mwlucene and installWiki.sh
After this run the installWiki.sh script and you should be up and running.
Which is applicable for installing to a FreeBSD server? I looked at both, and both don't seem to be applicable. I can't find a "MWSearchUpdater.php" file under the extensions folder. I can't find a "installWiki.sh" file.
Help.