[sword-devel] Problem compiling sword-1.5.9 on Fedora Core 5

Steven P. Ulrick lists-sword at afolkey2.net
Mon Oct 2 18:24:35 MST 2006


On Mon, 2 Oct 2006 18:58:28 -0500
"Scott and Roxanne Munns" <srmunns at charter.net> wrote:

> Hello,
> 
> I recently reported an error similar to this as well.  I believe I
> may have narrowed it down to the fact that I had icu-3.4.1 installed,
> not icu-3.4. The configure.ac has an incorrect check to call
> "icu-config" because the a.b.c form of the version cannot be parsed
> by "bc" as a decimal number (a or a.b only).  I'll try tonight to
> hack the configure.ac to skip the check and call icu-config
> correctly, and report my results.
> 
> Hope this helps,
> Scott

Hello, Scott
I actually had the following installed when I started getting the icu
related errors that I am getting:
icu 3.4-6.2
libicu 3.4-6.2
libicu-devel 3.4-6.2
libicu-doc.i386

These are the most recent icu packages available in the Fedora Core (as
opposed to Extras) repository.  As an experiment, I tried compiling a
fresh build directory of sword 1.5.9 with icu 3.4.1 from IBM.  I had
just about the same results as with the version of icu that ships with
Fedora Core 5:
make[2]: Entering directory `/home/steve/sword-1.5.9/tests'
/bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -DCURLAVAILABLE    -o tlitmgrtest  tlitmgrtest.o ../lib/libsword.la -lz
g++ -O2 -DCURLAVAILABLE -o .libs/tlitmgrtest tlitmgrtest.o  ../lib/.libs/libsword.so -L/usr//lib -licui18n -licuuc -licudata -lpthread -L/usr/kerberos/lib -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lkrb5support -lcom_err -lresolv /usr/lib/libidn.so -lssl -lcrypto -lz
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&)'
tlitmgrtest.cpp:(.text+0x189): undefined reference to `icu_3_4::operator<<(std::basic_ostream<char, std::char_traits<char> >&, icu_3_4::UnicodeString const&)'
tlitmgrtest.cpp:(.text+0x45d): undefined reference to `icu_3_4::operator<<(std::basic_ostream<char, std::char_traits<char> >&, icu_3_4::UnicodeString const&)'
tlitmgrtest.o: In function `instantiateTrans(icu_3_4::UnicodeString const&, icu_3_4::UnicodeString const&, UTransDirection, UParseError&, UErrorCode&)':
tlitmgrtest.cpp:(.text+0x5f1): undefined reference to `icu_3_4::operator<<(std::basic_ostream<char, std::char_traits<char> >&, icu_3_4::UnicodeString const&)'
tlitmgrtest.cpp:(.text+0x60d): undefined reference to `icu_3_4::operator<<(std::basic_ostream<char, std::char_traits<char> >&, icu_3_4::UnicodeString const&)'
tlitmgrtest.o:tlitmgrtest.cpp:(.text+0x870): more undefined references to `icu_3_4::operator<<(std::basic_ostream<char, std::char_traits<char> >&, icu_3_4::UnicodeString const&)' follow
collect2: ld returned 1 exit status
make[2]: *** [tlitmgrtest] Error 1
make[2]: Leaving directory `/home/steve/sword-1.5.9/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/steve/sword-1.5.9/tests'
make: *** [all-recursive] Error 1

It sure would be cool to get this working, but I figure that worst case
scenario, Fedora Core 6 will be release next week, and I can try from a
clean slate.

Have a Great Night,
Steven P. Ulrick
-- 
 20:24:32 up 18 days,  3:50,  6 users,  load average: 0.20, 0.33, 0.14



More information about the sword-devel mailing list