[tlbuild] Building r26077 on FreeBSD: icu-4.9 problem

Peter Breitenlohner peb at mppmu.mpg.de
Mon Apr 23 09:41:28 CEST 2012


On Sat, 21 Apr 2012, Nikola Lecic wrote:

> Something like this solves the problem:
>
> ------------------------------ >8 ---------------------------------
> Index: configure
> ===================================================================
> --- configure   (revision 26083)
> +++ configure   (working copy)
> @@ -6854,7 +6854,7 @@
>       U_TIMEZONE=_timezone
>       U_HAVE_TIMEZONE=1
>     else
> -     CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_TIMEZONE=0"
> +     CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_TIMEZONE=0 -DU_TIMEZONE=0"
>     fi
>   fi
> fi
> ------------------------------ >8 ---------------------------------

Hi Nikola,

very strange. This piece of code is reached only when <time.h> defines
neither 'timezone' nor '__timezone' nor '_timezone'.  I don not think that
this is the case for FreeBSD?

The file 'Work/build.log' should say
   checking for timezone... no
   checking for __timezone... no
   checking for _timezone... no
and 'Work/libs/icu/icu-build/config.log' then gives the reason why the test
programs trying to detect timezone, __timezone, or _timezone have failed.

Regards
Peter Breitenlohner <peb at mppmu.mpg.de>


More information about the tlbuild mailing list