X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/332e0b4e3cc8588f6a32e0f473b5d1349cda1b21..036c081706d598031da3c681e828a0dc4f2d6f17:/doc/bugs/2.45_Compilation_error.mdwn diff --git a/doc/bugs/2.45_Compilation_error.mdwn b/doc/bugs/2.45_Compilation_error.mdwn index 141d71da8..63147b656 100644 --- a/doc/bugs/2.45_Compilation_error.mdwn +++ b/doc/bugs/2.45_Compilation_error.mdwn @@ -161,3 +161,38 @@ installation. Joey, should I email you the strace log file? > I'm entirely at a loss as to why I cannot reproduce this with the same > versions of perl and ikiwiki as the two people who reported it. There must > be something unusual about your systems that we have not figured out yet. --[[Joey]] + +Joey, thanks for your time and effort looking into this. + +I checked with `which`: `perl` is indeed `/usr/bin/perl`. The commands fail similarly when +calling `perl` and `/usr/bin/perl`. + +However, you might be into something with your `libdir` idea. If I remove it from the +command line, the command succeeds. In other words, if I run + + perl -Iblib/lib ikiwiki.out -setup docwiki.setup -refresh + +then it works perfectly. + +> Well, that's just weird, because `libdir` is handled by code in IkiWiki.pm. +> So I don't see how setting it could affect its searching for IkiWiki.pm at all, +> actually. It could only affect its searching for files loaded later. Anyway, +> can I get a strace of it succeeding this way? +> +> Also, can you show me the first 15 lines of your `ikiwiki.out`? It's occurred to me +> you might have an unusual `use lib` line in it. + +By the way, I'm running Arch linux. The perl build script is a bit long, but I +see they install a patch to modify @INC: + +Would you suggest I try rebuilding perl without this patch? Debian has a huge perl patch (102K!); +it's not straightforward for me to see if they do something similar to Arch. + +> I think Debian has a similar patch. + +--- + +[[done]] -- apparently this was a problem due to a distribution's +customisation to perl, or something. Seems to late now to track down what, +unfortunatly. And ikiwiki's Makefile no longer uses the "-libdir" switch +that seemed to trigger the bug. --[[Joey]]