From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5437 Path: news.gmane.org!not-for-mail From: Isaac Dunham Newsgroups: gmane.linux.lib.musl.general,gmane.linux.distributions.alpine.devel Subject: Re: Attempting to debug C++ library and command via valgrind Date: Fri, 11 Jul 2014 20:11:15 -0700 Message-ID: <20140712031114.GA1789@newbook> References: <20140709043946.GA1787@newbook> <53BFD662.5020700@barfooze.de> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1405134699 32651 80.91.229.3 (12 Jul 2014 03:11:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Jul 2014 03:11:39 +0000 (UTC) Cc: musl@lists.openwall.com, alpine-devel@lists.alpinelinux.org, yetanothergeek@gmail.com To: John Spencer Original-X-From: musl-return-5442-gllmg-musl=m.gmane.org@lists.openwall.com Sat Jul 12 05:11:35 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1X5nin-00054g-89 for gllmg-musl@plane.gmane.org; Sat, 12 Jul 2014 05:11:33 +0200 Original-Received: (qmail 21611 invoked by uid 550); 12 Jul 2014 03:11:32 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 21603 invoked from network); 12 Jul 2014 03:11:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=kRXu/tpLsgDft7tbzWeLstZVIwoTqB/QIK/X0zMi4fE=; b=xs9nnTakz86vgdaaL7h/qSE+/HPp4o5f4vR+aoqNF0tpPkiCnO9woanAr0qACZTntM AyfQC2OTxIjC+Oip4bYkXeodDwr1x4B2m6rNhQt8v1lNqOCkp9AIc++08TXfmwxAFaVs 4o3fN9Cu3ALa1oAJT5FidLp+da4hkxVjr4+BVZ+C55fcpBw+XzKBCoh2YIV5Ad/rHCCd 9NeakNGHjRfRcurQ0gm+JNCmOKcMUP6d5q6u8jVNMLOKvauJfou6zyi8/qirEgns92Sa Ofk4+HYZmqvQqdCaRTgSV9EY9vAjNq+nbvR2zBADXl7vM2m7AkgYlBPkb/GqvakjdseI crPA== X-Received: by 10.66.251.36 with SMTP id zh4mr2872430pac.100.1405134678272; Fri, 11 Jul 2014 20:11:18 -0700 (PDT) Content-Disposition: inline In-Reply-To: <53BFD662.5020700@barfooze.de> User-Agent: Mutt/1.5.23 (2014-03-12) Xref: news.gmane.org gmane.linux.lib.musl.general:5437 gmane.linux.distributions.alpine.devel:2063 Archived-At: On Fri, Jul 11, 2014 at 02:19:46PM +0200, John Spencer wrote: > Isaac Dunham wrote: > >Hello, > >I've been trying to get Sword 1.7.3 (crosswire.org/sword) running on Alpine. > > sword seems to have a lot of issues... > > the problems starts with lack of a pre-generated configure script. > this forces the user to have the complete fragile autoconf stack installed. Ah, you're building from the VCS not tarballs. I was building from this tarball: http://www.crosswire.org/ftpmirror/pub/sword/source/v1.7/sword-1.7.3.tar.gz which was released within the last month. I know you're not building from the tarball, since... $ tar tzf sword-1.7.3.tar.gz |grep configure sword-1.7.3/bindings/swig/package/configure.ac sword-1.7.3/bindings/swig/package/configure sword-1.7.3/cmake/configure-iphone.sh sword-1.7.3/cmake/configure-iphone-simulator.sh sword-1.7.3/configure sword-1.7.3/configure.ac The documentation indicates that CMake is supported as well as autoconf. But anyhow, someone on the sword-devel list sent me a patch which fixed diatheke in their tests; it's a matter of brace placement. I want to check for myself, though. (IE: replicating and fixing is not needed.) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ But if you do want to go ahead: In the build department, it may need one of --with-cxx11regex, --with-internal-regex, or clucene; I haven't checked if POSIX regexes get autodetected, and the configure help does not document use of libc regexes. clucene presence is autodetected. ICU is also usually used; there are references to optional use of "sword-icu", but standard icu works well. (I'm not sure how well it works, but building without icu is also possible.) Most users will end up wanting curl support. (in short: default config depends on clucene, curl, icu; all of those could be pared away, but don't count on things working the same.) > then it justs quits without even trying to load the KJV file... (my guess is > that it didn't find some .so it depends on and then stops somewhere where it > would require the external lib functionality but has only a nullpointer). as far as the KJV part, if you still want to try: mkdir ~/.sword && printf '[INSTALL]\nDataPath=%s/.sword\n' "$HOME" \ >~/.sword/sword.conf && \ echo yes | installmgr -rc && \ echo yes | installmgr -r CrossWire && \ echo yes | installmgr -ri CrossWire KJV (The above will only work if you build with curl.) Thanks, Isaac Dunham