X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/2d4d3ece1d1f1fa02c34a9849f03bbd9918177c5..687f7f7b77d72e6e6ad6aa5f2323894cc87c1366:/doc/bugs/Missing_constant_domain_at_IkiWiki.pm_line_842.mdwn diff --git a/doc/bugs/Missing_constant_domain_at_IkiWiki.pm_line_842.mdwn b/doc/bugs/Missing_constant_domain_at_IkiWiki.pm_line_842.mdwn index edd994a70..6ed035232 100644 --- a/doc/bugs/Missing_constant_domain_at_IkiWiki.pm_line_842.mdwn +++ b/doc/bugs/Missing_constant_domain_at_IkiWiki.pm_line_842.mdwn @@ -15,8 +15,36 @@ I can't build my ikiwiki 1.40 backport for Debian 'sarge': make[1]: Leaving directory `/home/ptecza/svn/ikiwiki' make: *** [build-stamp] Error 2 ---Pawel +--[[Paweł|ptecza]] This is because of an old version of Locale::gettext which doesn't include the OO interface. I had this problem too, but installing a -new version of Locale::gettext fixed it. --Ethan \ No newline at end of file +new version of Locale::gettext fixed it. --Ethan + +> I suppose I should document it needing a new enough version. Or find a +> way to use the non-OO version while still getting proper UTF-8 strings, +> which is why I began to use the OO version in the first place.. +> +> Looks like the OO interface was added in version 1.04 +> +> And there's no good way to get utf-8 strings w/o the OO interface, that I +> can see. +> +> So, what I've done is documented that it needs Locale::gettext 1.04, and +> made it not crash if run with an older version, though it also won't +> gettext anything in that case. Might be a bit confusing if someone misses +> the docs about it needing the newer version and wonders why gettext +> doesn't work, but I consider it good enough to mark this [[bugs/done]]. +> --[[Joey]] + +>> Thanks for the hint, guys! :) I've just backported liblocale-gettext-perl +>> 1.05 package and it seems that now I can build my ikiwiki successfully +>> and it even works :) --[[Paweł|ptecza]] + +Thanks for the note on this, made it very easy to figure out what was going on. Just pointing out though that the Debian package doesn't require a new version of liblocale-gettext-perl. I just got bit by this bug setting up a dev ikiwiki box on a mixed stable/testing box. -- [[Adam]] + +> The Debian package has this: +> +> Suggests: [...], liblocale-gettext-perl (>= 1.05-1), [...] +> +> --[[JoshTriplett]] \ No newline at end of file