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

Nikola Lečić nikola.lecic at anthesphoria.net
Sat Apr 21 17:39:11 CEST 2012


Hello,

Building r26077 on FreeBSD using gcc-4.2.1:

------------------------------ >8 ---------------------------------
g++ -ffunction-sections -fdata-sections  -DU_ENABLE_DYLOAD=0 -DU_HAVE_TIMEZONE=0 -DICU_USE_THREADS=0  -I/root/TeXLive-Devel/trunk/Build/source/libs/icu/icu-49.1/common   "-DDEFAULT_ICU_PLUGINS=\"/usr/local/lib/icu\" " -DU_ATTRIBUTE_DEPRECATED= -DU_COMMON_IMPLEMENTATION  -O2  -c   -o putil.ao /root/TeXLive-Devel/trunk/Build/source/libs/icu/icu-49.1/common/putil.cpp
/root/TeXLive-Devel/trunk/Build/source/libs/icu/icu-49.1/common/putil.cpp: In function 'int32_t uprv_timezone_49()':
/root/TeXLive-Devel/trunk/Build/source/libs/icu/icu-49.1/common/putil.cpp:637: error: expected primary-expression before ';' token
gmake[6]: *** [putil.ao] Error 1
------------------------------ >8 ---------------------------------

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 ---------------------------------

Best,
-- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
URL: <http://tug.org/pipermail/tlbuild/attachments/20120421/63d871fb/attachment.bin>


More information about the tlbuild mailing list