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

Steven P. Ulrick lists-sword at afolkey2.net
Sun Oct 1 19:38:59 MST 2006


On Sun, 1 Oct 2006 21:42:45 -0400
"Deji Akingunola" <dakingun at gmail.com> wrote:

> Hi,
> 
> 
> >
> > I then proceeded to the instructions to compile Sword 1.5.9 for use
> > with Bibletime (I ran "./configure --help" in the root of
> > sword-1.5.9 and of course, there appears to be no option such as
> > "--without-clucene"  But I proceed according to the directions:
> 
> You actually need to use 'without-lucene'.
> 
> On a side note, I've taken over maintaining sword and gnomesword in
> Fedora extras from Micheal Peters. I hope to get sword-1.5.9 in the
> repository as soon as I'm done testing it with current gnomesword
> (hopefully tomorrow).
> 
> Cheers,
> Deji

Hello, Deji :)
Starting with a fresh build directory, I ran usrinst.sh
with 'without-lucene' instead of what I had been using.  This time
"make" bails with an icu related error:

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

I commented out the line:
OPTIONS="--with-icu $OPTIONS"

Sword 1.5.9 then proceeded to build and install perfectly :)

Now I will move on to Bibletime :)

If that doesn't work, I think I'll just wait for your packages in
Fedora Extras.

Thank You, and have a Great Night,
Steven P. Ulrick



More information about the sword-devel mailing list