Thomas Schwinge <tho...@codesourcery.com> writes: I was able to my local hurd wiki to build locally. I had to disable the xapian search and ymlfront plugins. Now I have the hurd wiki building locally!
Hoo ray!!! > Hi! > > On Mon, 24 Sep 2018 11:19:42 -0400, Joshua Branson <jbra...@fastmail.com> > wrote: >> A few years ago I had the Hurd wiki cloned locally, and I could rather >> trivially set it up. However, following the online guide a few days >> ago, I'm running into some issues. >> >> https://www.gnu.org/software/hurd/contributing/web_pages.html >> >> I've cloned the repo. I've run >> >> $ apt-get install ikiwiki libyaml-syck-perl markdown >> libsearch-xapian-perl texinfo >> >> Neither of these commands work in the web pages directory: >> >> ikiwiki --setup ikiwiki.setup >> >> ./render_locally >> >> >> They both fail with "Failed to load plugin, Ikiwiki::Plugin::field". > > Please always quote the exact log what you did and what happened; > copy'n'paste from your terminal. > >> Basically getting all of ikiwiki's plugins needed to run the hurd wiki >> is a bit of a pain. > > That's why these non-standard "field" etc. plugins are shipped inside the > Hurd "web" repository, see ".library/IkiWiki/Plugin/". > >> This is not a complaint just an observation and a request for help. > > Thanks for reporting. > > > I'm aware of one problem that is seen with "recent" verions of Perl > (don't know when exactly this started), which indeed makes the "getfield" > plugin fail to load: > > $ ./render_locally > Failed to load plugin IkiWiki::Plugin::getfield: Unescaped left brace in > regex is illegal here in regex; marked by <-- HERE in m/{{ <-- HERE > \$([-\w/]+#)?[-\w]+}}/ at [...]/.library/IkiWiki/Plugin/getfield.pm line 68. > Compilation failed in require at (eval 94) line 1. > BEGIN failed--compilation aborted at (eval 94) line 1. > > (This, or something similar, also happens when pushing to darnassus.) > > I already have identified a fix, and will push that in the next days. > > > Grüße > Thomas