]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn
format
[ikiwiki.git] / doc / bugs / shortcut_plugin_will_not_work_without_shortcuts.mdwn.mdwn
1 On my initial ikiwiki -setup auto.setup, I get the following error:
2
3     shortcut plugin will not work without shortcuts.mdwn
4     /home/turian/utils/etc/ikiwiki/auto.setup: ikiwiki --refresh --setup /home/turian/iki.setup failed at IkiWiki/Setup/Automator.pm line 105.
5
6
7 This is using the latest git pull of ikiwiki.
8 I am not sure why it is not finding shortcuts.mdwn. -- [[JosephTurian]]
9
10 > The error, and the weird paths suggest to me that you
11 > have installed ikiwiki in a strange way, and it is failing
12 > to find its basewiki underlay. The `$installdir` is
13 > hardcoded into IkiWiki.pm at build time, based on the PREFIX
14 > setting (see README).
15 >
16 > If that's not set right, you'll have other problems than just this one,
17 > so I suggest you check how you installed ikiwiki.
18
19 > Anyway, I've made the shortcut plugin only warn about this..
20 > --[[Joey]] 
21
22 > > I have
23 > >    $installdir="/home/turian/utils/"
24 > > and the underlay dir is set to:
25 > >    "$installdir/share/ikiwiki/basewiki",
26 > > which does contain shortcuts.mdwn. So I am not sure why it is not finding it.
27 > > I am grappling with installing ikiwiki in a user account, and would like to get the directories set up correctly.
28 > > How can I debug this issue further?
29
30 >>>> Why don't you strace it and look at where it's looking for
31 >>>> shortcuts.mdwn. --[[Joey]] 
32
33 >>>>>> Hmm, so change the PERL5LIB seemed to fix this. [[Done]].