[bt-devel] CMake problems on Mac
Greg Hellings
greg.hellings at gmail.com
Sat Nov 24 20:49:24 MST 2007
Gentlemen,
I am approaching a solution to some of the problems involved with the
CMake setup on MacOS. I now have the system installing cleanly on Mac
(without the need to jump through the hoops of linking the executable
back into /bin, etc - the share/bibletime/* stuff now gets installed
inside of the application bundle). The linking still is problematic
because my sword build will not link properly with the ICU and cURL
libraries as a result of some issues on the sword side, so I can
manually link those in for now. I have removed the extraneous
-lQtCore -lQtXml -lQtGui from the build process in OS X, since those
generate library-not-found errors.
I am still at a loss, though, to explain why the system is unable to
locate my GetText build. GetText is installed to the same place that
the Sword library is located: /sw. Is there any suggestions you all
might have as to why CMake is not recognizing those? As a result of
that failure to recognize, I am left with the hack of commenting out
the line "#SET(INSTALL_LOCALE_LANGS "de")" and the line
"#FIND_PACKAGE(Gettext REQUIRED)". Therefore, the system doesn't
install any locale files, and the executable crashes since there is no
share/bibletime/locale directory.
I have not received any response to my inquiry on the sword-devel list
about the autoconf issues with ICU and cURL over there, but if I can
get this GetText anomaly figured out (or at least have the system
create the share/bibletime/locale folder even when there are no .po
files being installed), I can make up a patch for you all to get
things working on Mac OS.
--Greg
More information about the bt-devel
mailing list