X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-pd0-f170.google.com (mail-pd0-f170.google.com [209.85.192.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 85E8BDC00CA for ; Sat, 12 Jul 2014 03:11:20 +0000 (UTC) Received: by mail-pd0-f170.google.com with SMTP id g10so121551pdj.15 for ; Fri, 11 Jul 2014 20:11:19 -0700 (PDT) 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) Received: from newbook ([50.0.227.219]) by mx.google.com with ESMTPSA id ih6sm3703391pbc.22.2014.07.11.20.11.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Jul 2014 20:11:17 -0700 (PDT) Date: Fri, 11 Jul 2014 20:11:15 -0700 From: Isaac Dunham To: John Spencer Cc: musl@lists.openwall.com, alpine-devel@lists.alpinelinux.org, yetanothergeek@gmail.com Subject: [alpine-devel] Re: [musl] Attempting to debug C++ library and command via valgrind Message-ID: <20140712031114.GA1789@newbook> References: <20140709043946.GA1787@newbook> <53BFD662.5020700@barfooze.de> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53BFD662.5020700@barfooze.de> User-Agent: Mutt/1.5.23 (2014-03-12) 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 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---