From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Fishman Newsgroups: gmane.lisp.guile.user Subject: Re: getting started writing desktop applications Date: Thu, 21 Jul 2016 17:39:47 -0400 Message-ID: References: <20160717113804.4de0d81d@dissentio> <1468817544.24841.12.camel@gmail.com> <20160721163556.1f00d52b@capac> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1469137260 13321 80.91.229.3 (21 Jul 2016 21:41:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Jul 2016 21:41:00 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jul 21 23:40:51 2016 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bQLi6-0008B4-Ur for guile-user@m.gmane.org; Thu, 21 Jul 2016 23:40:51 +0200 Original-Received: from localhost ([::1]:43827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQLi6-0008Oj-54 for guile-user@m.gmane.org; Thu, 21 Jul 2016 17:40:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQLhU-0008Mm-Ny for guile-user@gnu.org; Thu, 21 Jul 2016 17:40:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQLhQ-0002QP-BH for guile-user@gnu.org; Thu, 21 Jul 2016 17:40:11 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:58948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQLhQ-0002Oj-4K for guile-user@gnu.org; Thu, 21 Jul 2016 17:40:08 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bQLhN-0007h9-C4 for guile-user@gnu.org; Thu, 21 Jul 2016 23:40:05 +0200 Original-Received: from fl-71-48-234-5.dhcp.embarqhsd.net ([71.48.234.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Jul 2016 23:40:05 +0200 Original-Received: from barry by fl-71-48-234-5.dhcp.embarqhsd.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Jul 2016 23:40:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 76 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: fl-71-48-234-5.dhcp.embarqhsd.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:cnpx7oxCKMnEKxziTpamG9xJ3TA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:12777 Archived-At: On 2016-07-21 16:35:56 +03, David Pirotte wrote: >> The whole autoreconf setup for added modules seems to get broken with >> every development releases. Some packages seem to require multiple >> reconfigs before they build. > > I'm not aware of any of this, could you be more specific? OK. Looking at guile-dbi My install script ended up including: --8<---------------cut here---------------start------------->8--- if [ ! -f configure ]; then echo ";;; Doing first autogen.sh" ./autogen.sh --no-configure echo ";;; Doing autoreconf" autoreconf -fi echo ";;; Doing second autogen.sh" ./autogen.sh --no-configure fi echo ";;; Now configure" configure --prefix="${dest}" \ LDFLAGS='-L/usr/lib64/mysql' \ CPPFLAGS="-I${dest}/include" --8<---------------cut here---------------end--------------->8--- I don't know it that is still needed, but fragile build environment lead to cargo cult behavior. And its never completely clear what the autogen autoconf autotool (or whatever it should be called) environment is doing. > >> Tests break with errors like not being able to exec "/bin/sh" > > This is the symptom that you have a 'corrupted' environment, and the > test suite can't > find guile and/or guild > This has been fixed, patched under revision: they will be pushed and > guile-lib will > be released by the end of this month. > > https://lists.gnu.org/archive/html/guile-devel/2016-07/msg00055.html Since you don't explain the symptoms of the bug, I don't know if it what I am experiencing. When I try to "make check" guile-lib (from the git repository) I get: --8<---------------cut here---------------start------------->8--- make check-TESTS make[2]: Entering directory '/home2/barry/src/gen/guile-lib/unit-tests' make[3]: Entering directory '/home2/barry/src/gen/guile-lib/unit-tests' Backtrace: 2 (primitive-load "/bin/sh") In ice-9/eval.scm: 223:20 1 (proc #) In unknown file: 0 (%resolve-variable (7 . #) #) --8<---------------cut here---------------end--------------->8--- In the test code I see: (primitive-load (getenv "DOC_GUILE_LIBRARY_SCM")) And in the Makefile: DOC_GUILE_LIBRARY_SCM=$(top_srcdir)/doc/guile-library.scm And: top_srcdir=.. so I don't know where the "/bin/sh" could be coming from. -- Barry Fishman