From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.bugs Subject: bug#14093: configure for build problem Date: Sat, 30 Mar 2013 19:41:15 -0400 Message-ID: <877gko78x0.fsf@tines.lan> References: <20130319000429.2304@binki> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364686944 6311 80.91.229.3 (30 Mar 2013 23:42:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Mar 2013 23:42:24 +0000 (UTC) Cc: 14093@debbugs.gnu.org To: "d.henman" Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Mar 31 00:42:51 2013 Return-path: Envelope-to: guile-bugs@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 1UM5QA-0002SI-Dh for guile-bugs@m.gmane.org; Sun, 31 Mar 2013 00:42:50 +0100 Original-Received: from localhost ([::1]:39108 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UM5Pm-0001E4-3k for guile-bugs@m.gmane.org; Sat, 30 Mar 2013 19:42:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UM5Pg-0001AL-IV for bug-guile@gnu.org; Sat, 30 Mar 2013 19:42:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UM5Pe-0007WD-QX for bug-guile@gnu.org; Sat, 30 Mar 2013 19:42:20 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UM5Pe-0007W8-Nf for bug-guile@gnu.org; Sat, 30 Mar 2013 19:42:18 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UM5SI-0000tE-9g for bug-guile@gnu.org; Sat, 30 Mar 2013 19:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark H Weaver Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 30 Mar 2013 23:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14093 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 14093-submit@debbugs.gnu.org id=B14093.13646870683363 (code B ref 14093); Sat, 30 Mar 2013 23:45:02 +0000 Original-Received: (at 14093) by debbugs.gnu.org; 30 Mar 2013 23:44:28 +0000 Original-Received: from localhost ([127.0.0.1]:53297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UM5Rj-0000sC-Q6 for submit@debbugs.gnu.org; Sat, 30 Mar 2013 19:44:28 -0400 Original-Received: from world.peace.net ([96.39.62.75]:53237) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UM5Rh-0000s5-Ad for 14093@debbugs.gnu.org; Sat, 30 Mar 2013 19:44:26 -0400 Original-Received: from 74-94-165-125-newengland.hfc.comcastbusiness.net ([74.94.165.125] helo=tines.lan) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UM5Ow-0006WS-Nh; Sat, 30 Mar 2013 19:41:34 -0400 In-Reply-To: <20130319000429.2304@binki> (d. henman's message of "Tue, 19 Mar 2013 00:04:29 +1000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7038 Archived-At: Hi, "d.henman" writes: > I'm not sure if this is a confgure script problem or not. Please take a look at the related configure error message. > > $ configure > .... > > checking for LIBFFI... configure: error: Package requirements (libffi) were not met: > > No package 'libffi' found > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > installed software in a non-standard prefix. > > Alternatively, you may set the environment variables LIBFFI_CFLAGS > and LIBFFI_LIBS to avoid the need to call pkg-config. > See the pkg-config man page for more details. > > # > # However when I do: > > $ ls /bin/*ffi* > /bin/cygffi-4.dll > > This location is standard in my opion. > it shows that the ffi library is installed. This is a cygwin platform > and library names by convention us 'cyg' as a filename prefix. A few questions: * Do you have "ffi.h" on your system? If so, where? * Do you have "libffi.pc" on your system? If so, where? * Do you have the 'pkg-config' command installed? I'm not very familiar with cygwin, so maybe someone else could help you more efficiently, but if you have the 'pkg-config' command and can find "libffi.pc", then it might be sufficient to do (before running ./configure): export PKG_CONFIG_PATH=/DIRECTORY_THAT_CONTAINS_LIBFFI_DOT_PC Otherwise, as a fall-back plan: if you can find "ffi.h", then it might be sufficient to do (before running ./configure): export LIBFFI_CFLAGS=-I/DIRECTORY_THAT_CONTAINS_FFI_DOT_H export LIBFFI_LIBS=-lffi If you can't find "ffi.h", then you need to get it somehow. I don't know how it works in the cygwin world, but in most GNU/Linux distributions, library packages are split into at least two parts: the portion needed to run pre-built packages, and the "development" package that includes things like *.h files. If you don't have 'pkg-config', then you'll probably need to do something similar with BDW_GC_CFLAGS and BDW_GC_LIBS. Please let us know how this works out. Regards, Mark