<div dir="ltr">







<p class="">On my own system I get:</p><p class="">-- CLucene: yes /opt/local/lib/libclucene-core.dylib in /opt/local/include and /opt/local/include;/opt/local/include</p>
<p class="">-- PkgConfig: yes</p>
<p class="">-- ICU: yes /opt/local/lib/libicuuc.dylib and /opt/local/include</p><p class=""><br></p><p class="">I have installed them from MacPorts. I believe, however, that BibleTime builds without them as Qt is used in place of ICU and CLucene is linked directly into BibleTime for its custom search functionality. Obviously, feel free to edit your local .sh script. Those are only given there for examples of how to build with CMake for people who are not familiar with the system much as usrinst.sh is more of a guideline. For instance, I doubt you&#39;re looking to build the Python or Perl extensions.</p>
<p class=""><br></p><p class="">--Greg</p></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 19, 2014 at 12:28 PM, Manfred Bergmann <span dir="ltr">&lt;<a href="mailto:manfred.bergmann@me.com" target="_blank">manfred.bergmann@me.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hmm. Don&#39;t know this doesn&#39;t work.<br>
<br>
tried cmake, called cmake/build-release.sh, got the following:<br>
---<br>
pacsaar:sword-trunk mbergmann$ cmake/build-release.sh<br>
-- The CXX compiler identification is AppleClang <a href="tel:5.1.0.5030040" value="+15105030040">5.1.0.5030040</a><br>
-- The C compiler identification is AppleClang <a href="tel:5.1.0.5030040" value="+15105030040">5.1.0.5030040</a><br>
-- Check for working CXX compiler: /usr/bin/c++<br>
-- Check for working CXX compiler: /usr/bin/c++ -- works<br>
-- Detecting CXX compiler ABI info<br>
-- Detecting CXX compiler ABI info - done<br>
-- Check for working C compiler: /usr/bin/cc<br>
-- Check for working C compiler: /usr/bin/cc -- works<br>
-- Detecting C compiler ABI info<br>
-- Detecting C compiler ABI info - done<br>
-- Configuring your system to build libsword.<br>
-- SWORD Version 1007003000<br>
--<br>
-- SEARCHING FOR SYTEM PACKAGES<br>
-- System regex.h: Yes<br>
--<br>
-- CONFIGURING SOURCE LIST<br>
-- ZLib: system /usr/lib/libz.dylib<br>
-- bzip2: system /usr/lib/libbz2.dylib<br>
-- xz: system /usr/lib/liblzma.dylib<br>
-- cURL: system /usr/lib/libcurl.dylib and /usr/include<br>
-- CLucene: no<br>
-- PkgConfig: no<br>
-- ICU: no<br>
-- Regex.h: system /usr/include<br>
-- Building Shared library.<br>
-- Building Static library.<br>
-- Setting SOVERSION to 1.7.3<br>
-- cURL SFTP Support: No<br>
-- Setting link libraries to /usr/lib/libz.dylib;/usr/lib/libbz2.dylib;/usr/lib/liblzma.dylib;/usr/lib/libcurl.dylib<br>
--<br>
-- CONFIGURING INSTALLATION DESTINATIONS<br>
-- Destination: /opt/sword<br>
--<br>
-- CONFIGURING SWIG BINDINGS<br>
-- Could NOT find SWIG (missing:  SWIG_EXECUTABLE SWIG_DIR)<br>
CMake Error at bindings/swig/CMakeLists.txt:15 (MESSAGE):<br>
  Swig: no<br>
<br>
<br>
-- Configuring incomplete, errors occurred!<br>
See also &quot;/Users/mbergmann/Development/MySources/crosswire/sword-trunk/build/CMakeFiles/CMakeOutput.log&quot;.<br>
make: *** No targets specified and no makefile found.  Stop.<br>
---<br>
<br>
No ICU seems to be found on the system. Though there is libicucore in /usr/lib/.<br>
<br>
Also a standard configure, make I get the following error:<br>
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/opt/sword/include -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__ -DSWICU_DATA=\&quot;/opt/sword/lib/sword/1.6.1_icu_2.1\&quot; -DGLOBCONFPATH=\&quot;/opt/sword/etc/sword.conf\&quot; -D_FTPLIB_NO_COMPAT -O3 -D_ICU_ -ftemplate-depth-25 -DCURLAVAILABLE -DNO_VSNPRINTF -MT utilxml.lo -MD -MP -MF .deps/utilxml.Tpo -c ../src/utilfuns/utilxml.cpp -o utilxml.o &gt;/dev/null 2&gt;&amp;1<br>

mv -f .deps/utilxml.Tpo .deps/utilxml.Plo<br>
make[1]: *** No rule to make target `../src/utilfuns/swunicod.cpp&#39;, needed by `swunicod.lo&#39;.  Stop.<br>
make: *** [all-recursive] Error 1<br>
<br>
<br>
Now putting all that aside I can build the current trunk all right in Xcode when manually putting the stuff together. I&#39;m doing that for a couple of years now in the objc binding.<br>
But building with _ICU_ doesn&#39;t work anymore since I&#39;ve done svn update (see error below).<br>
I can run a version without ICU but I&#39;m not exactly certain which other problems this might bring.<br>
<br>
What about the BibleTime guys. Did they build all right on Mac with ICU?<br>
<br>
<br>
<br>
Manfred<br>
<br>
<br>
Am 19.08.2014 um 17:17 schrieb Manfred Bergmann &lt;<a href="mailto:manfred.bergmann@me.com">manfred.bergmann@me.com</a>&gt;:<br>
<div class="HOEnZb"><div class="h5"><br>
&gt; Building Sword from within Xcode after svn update.<br>
&gt;<br>
&gt; But I&#39;ll try the following, initiate the configure procedure and see how the build goes, which defines are set, etc. Maybe I&#39;m missing something.<br>
&gt;<br>
&gt;<br>
&gt; Manfred<br>
&gt;<br>
&gt;<br>
&gt; Am 19.08.2014 um 17:11 schrieb Greg Hellings &lt;<a href="mailto:greg.hellings@gmail.com">greg.hellings@gmail.com</a>&gt;:<br>
&gt;<br>
&gt;&gt; Is this while building Sword or BibleTime?<br>
&gt;&gt;<br>
&gt;&gt; --Greg<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Aug 18, 2014 at 12:16 PM, Manfred Bergmann &lt;<a href="mailto:manfred.bergmann@me.com">manfred.bergmann@me.com</a>&gt; wrote:<br>
&gt;&gt; Hmm, weird stuff.<br>
&gt;&gt; UnicodeString seems to be in icucore. And I&#39;ve got -licucore.<br>
&gt;&gt; But it seems to be references not correctly:<br>
&gt;&gt;<br>
&gt;&gt; Undefined symbols for architecture x86_64:<br>
&gt;&gt;  &quot;icu::UnicodeString::UnicodeString()&quot;, referenced from:<br>
&gt;&gt;      sword::UTF8NFC::processText(sword::SWBuf&amp;, sword::SWKey const*, sword::SWModule const*) in utf8nfc.o<br>
&gt;&gt;<br>
&gt;&gt; Any ideas?<br>
&gt;&gt;<br>
&gt;&gt; Manfred<br>
&gt;&gt;<br>
&gt;&gt; Am 18.08.2014 um 17:34 schrieb Manfred Bergmann &lt;<a href="mailto:manfred.bergmann@me.com">manfred.bergmann@me.com</a>&gt;:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hi.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Anyone successfully built the current trunk on OS X (Mavericks)?<br>
&gt;&gt;&gt; I get the above error. &quot;UnicodeString&quot; doesn&#39;t seem to be part of libicucore?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Manfred<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
&gt;&gt;&gt; <a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
&gt;&gt;&gt; Instructions to unsubscribe/change your settings at above page<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
&gt;&gt; <a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
&gt;&gt; Instructions to unsubscribe/change your settings at above page<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
&gt;&gt; <a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
&gt;&gt; Instructions to unsubscribe/change your settings at above page<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
&gt; <a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
&gt; Instructions to unsubscribe/change your settings at above page<br>
<br>
<br>
_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br>
</div></div></blockquote></div><br></div>