[bt-devel] kde4.0 beta 2
Greg Hellings
greg.hellings at gmail.com
Mon Sep 24 12:13:27 MST 2007
I nearly have the system building on OS X. All of the files compile
(updated SVN as of this morning), however, I get the following errors
during the linking stage:
Linking CXX executable bibletime.app/Contents/MacOS/bibletime
/usr/bin/ld: can't locate file for: -lQtXml
collect2: ld returned 1 exit status
make[2]: *** [bibletime.app/Contents/MacOS/bibletime] Error 1
make[1]: *** [CMakeFiles/bibletime.dir/all] Error 2
make: *** [all] Error 2
makeobj[0]: Leaving directory `/Users/kde-devel/bibletime-svn'
I got the same error for -lQtCore and -lQtGui which I eliminated by
editing CMakeFiles/bibletime.dir/build.make and replacing the instance
of -lQtCore with
/Users/kde-devel/qt-copy/lib/QtCore.framework/Versions/4/QtCore
(simply the full path to the QtCore library file). This eliminated
the linking errors.
Next came the following linker errors:
/usr/bin/ld: Undefined symbols:
_u_strFromUTF8_3_6
_u_strToUTF8_3_6
_u_strToUpper_3_6
_curl_easy_cleanup
_curl_easy_init
_curl_easy_perform
_curl_easy_setopt
_curl_global_cleanup
icu_3_6::UnicodeString::UnicodeString(char const*, char const*)
icu_3_6::UnicodeString::UnicodeString(unsigned short const*)
icu_3_6::UnicodeString::UnicodeString(icu_3_6::UnicodeString const&)
icu_3_6::UnicodeString::UnicodeString(signed char, unsigned short const*, int)
icu_3_6::UnicodeString::UnicodeString()
icu_3_6::UnicodeString::~UnicodeString()
icu_3_6::UnicodeString::operator=(icu_3_6::UnicodeString const&)
icu_3_6::Transliterator::createInstance(icu_3_6::UnicodeString const&,
UTransDirection, UErrorCode&)
icu_3_6::Transliterator::createFromRules(icu_3_6::UnicodeString
const&, icu_3_6::UnicodeString const&, UTransDirection, UParseError&,
UErrorCode&)
icu_3_6::Transliterator::registerInstance(icu_3_6::Transliterator*)
icu_3_6::UnicodeString::extract(int, int, char*, unsigned int, char
const*) const
icu_3_6::UnicodeString::doCompare(int, int, unsigned short const*,
int, int) const
_u_errorName_3_6
_ublock_getCode_3_6
_ucnv_close_3_6
_ucnv_fromUChars_3_6
_ucnv_open_3_6
_ucnv_toUChars_3_6
_ures_close_3_6
_ures_getByIndex_3_6
_ures_getByKey_3_6
_ures_getSize_3_6
_ures_getStringByIndex_3_6
_ures_getStringByKey_3_6
_ures_openDirect_3_6
_unorm_normalize_3_6
collect2: ld returned 1 exit status
make[2]: *** [bibletime.app/Contents/MacOS/bibletime] Error 1
make[1]: *** [CMakeFiles/bibletime.dir/all] Error 2
make: *** [all] Error 2
makeobj[0]: Leaving directory `/Users/kde-devel/bibletime-svn'
By editing the build.make file again and adding -licuuc I reduced
those to the following:
/usr/bin/ld: warning can't open dynamic library: libicudata.dylib.36
referenced from: /usr/local/lib/libicuuc.dylib (checking for undefined
symbols may be affected) (No such file or directory, errno = 2)
/usr/bin/ld: Undefined symbols:
_curl_easy_cleanup
_curl_easy_init
_curl_easy_perform
_curl_easy_setopt
_curl_global_cleanup
icu_3_6::Transliterator::createInstance(icu_3_6::UnicodeString const&,
UTransDirection, UErrorCode&)
icu_3_6::Transliterator::createFromRules(icu_3_6::UnicodeString
const&, icu_3_6::UnicodeString const&, UTransDirection, UParseError&,
UErrorCode&)
icu_3_6::Transliterator::registerInstance(icu_3_6::Transliterator*)
_icudt36_dat referenced from libicuuc.dylib.36 expected to be defined
in libicudata.dylib.36
collect2: ld returned 1 exit status
make[2]: *** [bibletime.app/Contents/MacOS/bibletime] Error 1
make[1]: *** [CMakeFiles/bibletime.dir/all] Error 2
make: *** [all] Error 2
makeobj[0]: Leaving directory `/Users/kde-devel/bibletime-svn'
Adding -licudata removed that first warning about the inclusion, but
the rest of the errors remained. Then I added -licui18n and reduced
the errors to the following:
Linking CXX executable bibletime.app/Contents/MacOS/bibletime
/usr/bin/ld: Undefined symbols:
_curl_easy_cleanup
_curl_easy_init
_curl_easy_perform
_curl_easy_setopt
_curl_global_cleanup
collect2: ld returned 1 exit status
make[2]: *** [bibletime.app/Contents/MacOS/bibletime] Error 1
make[1]: *** [CMakeFiles/bibletime.dir/all] Error 2
make: *** [all] Error 2
makeobj[0]: Leaving directory `/Users/kde-devel/bibletime-svn'
Then I built and installed curl-unified-dev (I love fink - the beauty
of port/apt in OS X) and added -lcurl to the line and the application
built without so much as a hiccup.
Running the application was another matter - I received the following error:
Link points to "/tmp/kde-devel-kde4/kde-kde-devel"
(BibleTime 1.6.4_KDE4port+svn) WARNING: Cannot find icon directory
relative to "/Users/kde-devel/bibletime-svn/bibletime.app/Contents/MacOS"
terminate called without an active exception
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = bibletime path = <unknown> pid = 11896
Warning: connect() failed: : No such file or directory
KCrash cannot reach kdeinit, launching directly.
KCrash failed to exec(), errno = 2
which looks to me like there is still a problem with my KDE install.
I am trying to see now what is wrong with that, especially since I
seem to get the same error with every application I try to launch from
the KDE family. Again, I'll talk again when I have figured something
out on this end of it, unless anyone has some advice?
On 9/8/07, Martin Gruner <mg.pub at gmx.net> wrote:
> Good work, Eeli.
> As usual.
>
> mg
>
> Am Samstag, 8. September 2007 schrieb Eeli Kaikkonen:
> > On Sat, 8 Sep 2007, Eeli Kaikkonen wrote:
> > > Good news! The problem with the view is a bug in khtml. Just open our
> > > html document (attachement) in konqueror beta and see. The old konqueror
> > > works fine.
> > >
> > > We have to find out if our document have invalid html or not. If it
> > > has we should change it. In either case we should report this to KDE
> > > bug database. I will do it after some research.
> >
> > More good news: I found and fixed it, it was the css code. Not really
> > our bug, I think, but it was a KDE3 hack anyways so I just removed it.
> >
> > Yours,
> > Eeli Kaikkonen (Mr.), Oulu, Finland
> > e-mail: eekaikko at mailx.studentx.oulux.fix (with no x)
> >
> > _______________________________________________
> > bt-devel mailing list
> > bt-devel at crosswire.org
> > http://www.crosswire.org/mailman/listinfo/bt-devel
>
>
>
> _______________________________________________
> bt-devel mailing list
> bt-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/bt-devel
>
More information about the bt-devel
mailing list