X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/65fce725b54b44e7a05b5cbc207d22f226fe5b47..8ba83875b7e3f3151734e043eda767f041288ad3:/doc/index/discussion.mdwn diff --git a/doc/index/discussion.mdwn b/doc/index/discussion.mdwn index ae7b5856a..fd3631c07 100644 --- a/doc/index/discussion.mdwn +++ b/doc/index/discussion.mdwn @@ -18,6 +18,13 @@ Ikiwiki creates a .ikiwiki directory in my wikiwc working directory. Should I Is there an easy way to log via e-mail to some webmaster address, instead of via syslog? + +> Not sure why you'd want to do that, but couldn't you use a tool like +> logwatch to mail selected lines from the syslog? --[[Joey]] + +> > The reason is that I'm not logged in on the web server regularly to +> > check the log files. I'll see whether I can install a logwatch instance. + ---- # Excellent - how do I translate a TWiki site? @@ -156,3 +163,47 @@ Any tool to edit the user database? > I've not written actual utilities to do this yet because I've only needed > to do it rarely, and the data I've wanted has been different each time. > --[[Joey]] + +---- + +# Spaces in WikiLinks? + +Hello Joey, + +I've just switched from ikiwiki 2.0 to ikiwiki 2.2 and I'm really surprised +that I can't use the spaces in WikiLinks. Could you please tell me why the spaces +aren't allowed in WikiLinks now? + +My best regards, + +--Pawel + +---- + +# Build in OpenSolaris? + +I've learned I'm not yet clever enough to get IkiWiki to build in OpenSolaris (as running on a [Joyent Accelerator][ja]). Anyone figured this out already? + +I think problem lies mostly, if not entirely, in getting ikiwiki.cgi.c to compile in an OpenSolaris context (this is ikiwiki-2.2): + +> $ ikiwiki --setup ~/etc/ikiwiki/ikiwiki-edit.setup +> [...] +> Error: failed to compile /home/username/domains/domain.tld/cgi-bin/ikiwiki.cgi.c at /opt/local/lib/perl5/site_perl/IkiWiki.pm line 104. +BEGIN failed--compilation aborted at (eval 3) line 145. + +More specifically, + +> $ /usr/sfw/bin/gcc ikiwiki.cgi.c +> Undefined first referenced +> symbol in file +> asprintf /var/tmp//cczPaG7R.o +> ld: fatal: Symbol referencing errors. No output written to a.out +> collect2: ld returned 1 exit status + +[ja]: + +Thanks, Joey et al., for a really cool tool. + +--Mike + +> Looks like the ikiwiki wrapper uses asprintf. glibc has that, and I think some other libc implementations have that, but apparently the Solaris libc does not. The same problem will come up on other platforms that don't use glibc. The ikiwiki wrapper needs to either avoid asprintf or use a portable asprintf implementation from somewhere like gnulib. --[[JoshTriplett]] \ No newline at end of file