1 when enabling the cgi wrapper I get,
5 "/var/www/cgi-bin/ikiwiki.cgi.c", line 91: warning: implicit function declaration: flock
6 "/var/www/cgi-bin/ikiwiki.cgi.c", line 91: undefined symbol: LOCK_EX
7 cc: acomp failed for /var/www/cgi-bin/ikiwiki.cgi.c
8 failed to compile /var/www/cgi-bin/ikiwiki.cgi.c
12 cc: Sun C 5.9 SunOS_i386 Patch 124868-01 2007/07/12
15 I don't know enough C to provide a patch, but from googling it, people seem to be suggesting fcntl has an alternative.
23 if (lockfd != -1 && flock(lockfd, LOCK_EX) == 0) {
28 if (lockfd != -1 && lockf(lockfd, F_LOCK,0) == 0) {
31 in IkiWiki/Wrapper.pm lets it compile, according to http://man-wiki.net/index.php/3:lockf "On Linux, this call is just an interface for fcntl(2)" does this seem like a sensible fix?