I had terrible trouble installing ikiwiki. It turned out I had accidentally installed Perl through ports. Uninstalling that made everything install nicely.
I got an error on msgfmt. Turns out this is a program in gettext. I installed that and it fixed the error.
+cd ..
+
git clone git://git.ikiwiki.info/
+cd git.ikiwiki.info/
+
perl Makefile.PL LIB=/Library/Perl/5.10.0
make
## installing gitweb
-cd gitweb
+cd ../git-1.7.3.1/gitweb
make GITWEB_PROJECTROOT="/opt/ikiwiki/" GITWEB_CSS="/gitweb.css" GITWEB_LOGO="/git-logo.png" GITWEB_FAVICON="/git-favicon.png"
cp gitweb.cgi /Library/WebServer/CGI-Executables/
-cp /usr/local/share/gitweb/static/git-favicon.png /Library/WebServer/
-cp /usr/local/share/gitweb/static/git-logo.png /Library/WebServer/
-cp /usr/local/share/gitweb/static/gitweb.css /Library/WebServer/
-cp /usr/local/share/gitweb/static/gitweb.js /Library/WebServer/
+
+cp /usr/local/share/gitweb/static/git-favicon.png /Library/WebServer/Documents/
+
+cp /usr/local/share/gitweb/static/git-logo.png /Library/WebServer/Documents/
+
+cp /usr/local/share/gitweb/static/gitweb.css /Library/WebServer/Documents/
+
+cp /usr/local/share/gitweb/static/gitweb.js /Library/WebServer/Documents/
+
sudo chmod 2755 /Library/WebServer/CGI-Executables/gitweb.cgi
-sudo chmod 2755 /Library/WebServer/git-favicon.png
-sudo chmod 2755 /Library/WebServer/git-logo.png
-sudo chmod 2755 /Library/WebServer/gitweb.css
-sudo chmod 2755 /Library/WebServer/gitweb.js
+
+sudo chmod 2755 /Library/WebServer/Documents/git-favicon.png
+
+sudo chmod 2755 /Library/WebServer/Documents/git-logo.png
+
+sudo chmod 2755 /Library/WebServer/Documents/gitweb.css
+
+sudo chmod 2755 /Library/WebServer/Documents/gitweb.js
+
## installing xapian:
## turning on search plugin:
-I turned on the plugin from the setup page in ikiwiki but it gave an error when I went to search. Error "blah blah cgi-bin/omega/omega" does not exist or some such. I did a
-
-find / -name "omega" -print
-
-and found the omega program in
-
-/usr/local/lib/xapian-omega/bin/omega.
+I turned on the plugin from the setup page in ikiwiki but it gave an error when I went to search. Error "Error: /usr/lib/cgi-bin/omega/omega failed: No such file or directory".
+I did a "find / -name "omega" -print" and found the omega program in "/usr/local/lib/xapian-omega/bin/omega".
-Then I went into the setup file and replaced the bad path, updated and badda-boom badda-bing.
+Then I went into the 2wiki.setup file and replaced the bad path, updated and badda-boom badda-bing.