[sword-devel] ICU build fix
Troy A. Griffitts
scribe at crosswire.org
Sat Oct 7 20:39:32 MST 2006
Thank you for the details. I indeed have 3.4 installed on my FC
box. You're description makes obvious sense now. Daniel Glassey is our
build maintainer, so I hope he has time to review and commit your
comprehensive fix soon. I'm almost in favor of requiring at least ICU
version 3.0; then we can just remove all the checks. Thanks again for
Scott and Roxanne Munns wrote:
> For me and at least one other user (Steven P. Ulrick, according to the
> archives), builds failed if *ICU and tests* were enabled. We got the
> same compiler error messages (this is just a sample - it repeated many
> >> tlitmgrtest.o: In function `checkTrans(icu_3_4::UnicodeString const&,
> >> UErrorCode&)':
> >> tlitmgrtest.cpp:(.text+0xbd): undefined reference to
> >> `icu_3_4::operator<<(std::basic_ostream<char, std::char_traits<char>
> >> >&, icu_3_4::UnicodeString const&)'
> As I ran "usrinst.sh" and observed the status messages as "configure"
> ran, I saw a problem which I narrowed down to the following line in
> ICU_IOLIBS=`if test $(echo "$ICU_VER >= 3.0"|bc) -eq 1; then
> $ICU_CONFIG --ldflags-icuio; else $ICU_CONFIG --ldflags-ustdio; fi;`
> failed because my $ICU_VER (3.4.1) was not parsed as a decimal number
> by "bc", and icu-config was called with the --ldflags-ustdio option
> (non-existent option for icu-config anymore) instead of the
> --ldflags-icuio option as it should have been. Thus, ICU_IOLIBS was
> not set correctly.
> For me, the patch I sent out solved the *configuration* problem by
> correctly setting ICU_IOLIBS, and this also seemed to fix my compile
> problem. I suppose there is a chance that it was actually something
> else that solved the compile problem, but there is no question that
> there was a failure to properly identify the version number due to the
> two decimal points in the version identifier "3.4.1".
> I hope the additional detail helps,
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.407 / Virus Database: 268.13.0/465 - Release Date: 10/6/2006
> sword-devel mailing list: sword-devel at crosswire.org
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel