[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: -D CUR_LOCALE considered harmful (was: webwml failed)



On Sun, Jun 10, 2001 at 06:30:36PM +0200, Denis Barbier wrote:
> > > > ePerl:Error: Perl runtime error (interpreter rc=2)
> > > > 
> > > > ---- Contents of STDERR channel: ---------
> > > > Usage: POSIX::ctime(time) at ../../../english/template/debian/footer.wml line 10.
> > > > ------------------------------------------
> > > > ** WML:Break: Error in Pass 3 (rc=74).
> > > > make[3]: *** [index.fi.html] Error 1
> > > 
> > > -D CUR_LOCALE=fi_FI considered harmful.
> > > 
> > > After removal of that from .fi's .wmlrc, wml was able to compile the page
> > > again.
> > > 
> > > Comments?
> > 
> > I think this is just a simple conflict. :) It's odd that it happens only
> > with News/weekly, though. There's probably some #use wml::debian::ctime
> > missing somewhere, so footer picks up the Perl POSIX lib's ctime() instead
> > of our ctime().
> 
> You may fix the problem by removing #use wml::debian::ctime in
> template/debian/weeklynews/header.wml

But it uses spokendate() from the ctime template.

-- 
Digital Electronic Being Intended for Assassination and Nullification



Reply to: