]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/svn_post-commit_wrapper_can__39__t_find_IkiWiki.pm_if_not_installed.mdwn
split off todo item for multiple dependency types
[ikiwiki.git] / doc / bugs / svn_post-commit_wrapper_can__39__t_find_IkiWiki.pm_if_not_installed.mdwn
1 If you're using ikiwiki without installing it, the svn post-commit wrapper will die (in a difficult-to-debug way) when it tries to execute ikiwiki.pl because it can't find IkiWiki.pm.
2
3 I'm not sure how to fix this in a secure way. For now I'm just changing use lib '.' in ikiwiki.pl to point to the hard-coded directory where ikiwiki was unpacked.
4
5 > This workaround doesn't work here.  "`./ikiwiki.pl --setup ikiwiki.setup`" is ok, but the
6 > wrappers fail in action.  Using "`FindBin`" seems a solution.  Here is a (kinda ugly)
7 > [patch](http://git.kirkambar.net/?p=ikiwiki.git;a=commitdiff;h=44511c00b98b3efedd4d31f15ea928fcf221401e) 
8 > which also allows you to use `basewiki` + `templates` in the source directory.  The patched
9 > version works fine in my [homepage](http://kirkambar.net).  --[[Roktas]]
10
11 New versions of ikiwiki support installation to nonstandard paths, just set
12 PREFIX to the path when running Makefile.PL, and it will set up ikiwiki to
13 look in the place it installed the libraries for its perl libraries, etc.
14
15 I don't understand why the wrappers would fail if it were confgured link
16 that. --[[Joey]]
17
18 > I didn't install it, which was the problem. I'm running ikiwiki from a 
19 > hosting account somewhere so I didn't even try. You're right, it works 
20 > fine if you actually follow the directions. :) --Ethan
21
22 Ok, well, I'll mark this [[bugs/done]] then. --[[Joey]]