[sword-devel] Problem compiling sword-1.5.9 on Fedora Core 5
Troy A. Griffitts
scribe at crosswire.org
Mon Oct 2 08:03:09 MST 2006
Steven,
Right, I don't have any idea about your ICU install-- it seems to be
broken on your system. I was only commenting on your clucene problem.
SWORD should work with at least 3.4 and 3.6 versions of ICU (probably
others).
Steven P. Ulrick wrote:
> On Mon, 02 Oct 2006 05:48:17 -0700
> "Troy A. Griffitts" <scribe at crosswire.org> wrote:
>
>> Steven,
>> Excerpt from sword/INSTALL:
>>
>> NOTE: sometimes clucene forgets to install some header files. You
>> might need to manually copy
>> clucene-core-X/src/CLucene/clucene-config.h to your install
>> prefix(e.g. /usr/local/include/CLucene/)
>>
>> Hope this helps,
>>
>> -Troy.
>
> Hello, Troy
> Following your directions still leaves me one of the places that I was
> at last night. See this message from this thread for that information:
> http://www.crosswire.org/pipermail/sword-devel/2006-October/024491.html
>
> Lest I be guilty of giving too little information :), here is the most
> recent error message:
>
> if g++ -DHAVE_CONFIG_H -I. -I. -I../include -I ../include -DUSBINARY -O2 -DCURLAVAILABLE -MT translittest.o -MD -MP -MF ".deps/translittest.Tpo" -c -o translittest.o translittest.cpp; \
> then mv -f ".deps/translittest.Tpo" ".deps/translittest.Po"; else rm -f ".deps/translittest.Tpo"; exit 1; fi
> /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -DCURLAVAILABLE -o translittest translittest.o ../lib/libsword.la -lz
> g++ -O2 -DCURLAVAILABLE -o .libs/translittest translittest.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
> creating translittest
> if g++ -DHAVE_CONFIG_H -I. -I. -I../include -I ../include -DUSBINARY -O2 -DCURLAVAILABLE -MT tlitmgrtest.o -MD -MP -MF ".deps/tlitmgrtest.Tpo" -c -o tlitmgrtest.o tlitmgrtest.cpp; \
> then mv -f ".deps/tlitmgrtest.Tpo" ".deps/tlitmgrtest.Po"; else rm -f ".deps/tlitmgrtest.Tpo"; exit 1; fi
> /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
>
> Also, here is a link to the entire output of "make" on a fresh build
> directory of sword-1.5.9:
> http://www.afolkey2.net/sword-make-02.txt
>
> Have a Great Day,
> Steven P. Ulrick
More information about the sword-devel
mailing list