From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.bugs Subject: bug#36170: configure fails on FreeBSD Date: Tue, 11 Jun 2019 18:22:03 -0400 Message-ID: <87imtb7oex.fsf@netris.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="207513"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: 36170@debbugs.gnu.org To: Roger Mason Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Jun 12 00:40:12 2019 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hapR5-000rhE-T9 for guile-bugs@m.gmane.org; Wed, 12 Jun 2019 00:40:12 +0200 Original-Received: from localhost ([::1]:55664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hapQy-0007Ig-3d for guile-bugs@m.gmane.org; Tue, 11 Jun 2019 18:40:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48432) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hapQc-0007C5-8K for bug-guile@gnu.org; Tue, 11 Jun 2019 18:39:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hapCQ-0004Uj-62 for bug-guile@gnu.org; Tue, 11 Jun 2019 18:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46790) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hapCQ-0004UX-2y for bug-guile@gnu.org; Tue, 11 Jun 2019 18:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hapCP-0002zl-TU for bug-guile@gnu.org; Tue, 11 Jun 2019 18:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 11 Jun 2019 22:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36170 X-GNU-PR-Package: guile Original-Received: via spool by 36170-submit@debbugs.gnu.org id=B36170.156029186711468 (code B ref 36170); Tue, 11 Jun 2019 22:25:01 +0000 Original-Received: (at 36170) by debbugs.gnu.org; 11 Jun 2019 22:24:27 +0000 Original-Received: from localhost ([127.0.0.1]:60334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hapBq-0002yu-Po for submit@debbugs.gnu.org; Tue, 11 Jun 2019 18:24:27 -0400 Original-Received: from world.peace.net ([64.112.178.59]:32830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hapBp-0002yh-5P for 36170@debbugs.gnu.org; Tue, 11 Jun 2019 18:24:26 -0400 Original-Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hapBj-0001Dr-5t; Tue, 11 Jun 2019 18:24:19 -0400 In-Reply-To: (Roger Mason's message of "Tue, 11 Jun 2019 09:13:31 -0230") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:9341 Archived-At: Hi Roger, Roger Mason writes: > I cloned the git repo yesterday (2019-06-10, most recent commit > 8d469660525d74734f3184cb9ed01b6f2dcd0445). I ran autogen.sh in the > source directory. I had to comment out the call to m4 --version, which > failed (I have m4-1.4.18). I created a build directory. When I > configure like this: > > ../guile/configure --with-bdw-gc=bdw-gc-threaded > > it works: > > ---snip--- > config.status: executing depfiles commands > config.status: executing libtool commands > config.status: executing po-directories commands > > When I configure like this: > > ../guile/configure --prefix="/home/rmason/32-bit-install" --with-bdw-gc=bdw-gc-threaded > > it fails to find various libraries & headers unless I list them > explicitly in the invocation of configure like this: > > ../guile/configure --prefix=/home/rmason/32-bit-install \ > --with-bdw-gc=bdw-gc-threaded \ > --with-libltdl-prefix=/usr/local \ > --with-libgmp-prefix=/usr/local \ > --with-libunistring-prefix=/usr/local \ > --with-libiconv-prefix=/usr/local > > Is that how it is supposed to work, or is there a bug in the build > system? I guess what's happening here is that ./configure automatically looks for libraries in the prefix directory as specified by --prefix=DIR. I don't have time right now to verify that guess. > I note also that configure claims my readline library is too old (< > 2.1), but I have: > > pkg info -x readline > readline-7.0.5 Something went wrong here. The relevant check involves compiling a small test program that references 'rl_getc_function', which was apparently added in readline 2.1. Something must have gone wrong compiling that test program. After running ./configure, there should be a file 'config.log' which includes the failed test program, the compile command used to compile it, and the compiler error messages. Can you search for 'readline' in that file and see what went wrong? Thanks, Mark