[sword-devel] Problem compiling sword-1.5.9 on Fedora Core 5
Scott and Roxanne Munns
srmunns at charter.net
Mon Oct 2 16:58:28 MST 2006
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
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
g++ ../lib/.libs/libsword.so -L/usr/lib -licui18n -licuuc -licudata
g++ -lpthread -L/usr/kerberos/lib -lcurl -ldl -lgssapi_krb5 -lkrb5
g++ -lk5crypto -lkrb5support -lcom_err -lresolv /usr/lib/libidn.so -lssl
g++ -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
g++ ../lib/.libs/libsword.so -L/usr/lib -licui18n -licuuc -licudata
g++ -lpthread -L/usr/kerberos/lib -lcurl -ldl -lgssapi_krb5 -lkrb5
g++ -lk5crypto -lkrb5support -lcom_err -lresolv /usr/lib/libidn.so -lssl
g++ -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
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.11/460 - Release Date: 10/1/2006
More information about the sword-devel
mailing list