From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Cieslak Newsgroups: gmane.lisp.guile.bugs Subject: bug#21285: configure: not found despite --with-libunistring-prefix Date: Mon, 14 Sep 2015 09:34:18 +0000 Message-ID: References: <87r3mvs8s1.fsf@netris.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: ger.gmane.org 1442244560 23186 80.91.229.3 (14 Sep 2015 15:29:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Sep 2015 15:29:20 +0000 (UTC) Cc: 21285@debbugs.gnu.org To: Mark H Weaver Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Sep 14 17:29:13 2015 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 1ZbVgu-0000lO-Fu for guile-bugs@m.gmane.org; Mon, 14 Sep 2015 17:29:12 +0200 Original-Received: from localhost ([::1]:41589 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbVgt-0006Uw-Ns for guile-bugs@m.gmane.org; Mon, 14 Sep 2015 11:29:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbVgo-0006TJ-7C for bug-guile@gnu.org; Mon, 14 Sep 2015 11:29:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbVgl-0003x3-G4 for bug-guile@gnu.org; Mon, 14 Sep 2015 11:29:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbVgl-0003wz-Dy for bug-guile@gnu.org; Mon, 14 Sep 2015 11:29:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZbVgl-0001SZ-6t for bug-guile@gnu.org; Mon, 14 Sep 2015 11:29:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Marcin Cieslak Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 14 Sep 2015 15:29:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21285 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 21285-submit@debbugs.gnu.org id=B21285.14422445385571 (code B ref 21285); Mon, 14 Sep 2015 15:29:03 +0000 Original-Received: (at 21285) by debbugs.gnu.org; 14 Sep 2015 15:28:58 +0000 Original-Received: from localhost ([127.0.0.1]:60440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZbVge-0001Rl-UB for submit@debbugs.gnu.org; Mon, 14 Sep 2015 11:28:57 -0400 Original-Received: from m.saper.info ([213.239.217.105]:50472) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZbQ9U-0007rh-3p for 21285@debbugs.gnu.org; Mon, 14 Sep 2015 05:34:21 -0400 Original-Received: from m.saper.info (saper@m.saper.info [IPv6:2a01:4f8:a0:7383::]) by m.saper.info (8.14.9/8.14.9) with ESMTP id t8E9YIr0028170 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 14 Sep 2015 09:34:18 GMT (envelope-from saper@saper.info) Original-Received: from localhost (saper@localhost) by m.saper.info (8.14.9/8.14.9/Submit) with ESMTP id t8E9YIJr028167; Mon, 14 Sep 2015 09:34:18 GMT (envelope-from saper@saper.info) X-Authentication-Warning: m.saper.info: saper owned process doing -bs In-Reply-To: <87r3mvs8s1.fsf@netris.org> X-Mailman-Approved-At: Mon, 14 Sep 2015 11:28:55 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.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:7853 Archived-At: On Sat, 22 Aug 2015, Mark H Weaver wrote: > could be eliminated by taking the following steps: > > * export CPATH=/home/admini/saper/sparcv9/include > * export LIBRARY_PATH=/home/admini/saper/sparcv9/lib > * export PKG_CONFIG_PATH=/home/admini/saper/sparcv9/lib/pkgconfig > * install 'pkg-config' and make sure it's in PATH pkg-config requires glib which does not currently compile here due to iconv signature mismatch problem (the internal one). Because I compile 32-bit code with the "sparcv7" prefix and 64-bit code "sparcv9" prefix I'd need to maintain two pkg-config instances. Doable, but not a priority. Also I need to make sure that no global pkg-config is used, since this box has tons of leftover, unmaintained packages installed in /usr/local. And this seems more useful (sometimes) to report bugs - all options are explicitly listed on the command line, without any need to rely on $PATH or pkg-config. > There may be additional difficulties related to the fact that you appear > to be cross-compiling. Did you read the section "Cross building Guile" > in our README? That's not a true cross-compile, it's a so-called "multilib" configuration. Autoconf kind of knows sparc64-sun-solaris2.9 is the same platform as sparc-sun-solaris2.9. Setting --host to the sparc64-sun-solaris2.9 is actually only useful to identify the platform for the tools that identify their target on startup. (It does not seem to change much else, I have to supply "-m64" option to get a SPARCv9 build anyway). Also I remember getting this problem without setting --host or --build at all. > > > /* snip */ > > > > configure:14672: checking for libunistring > > This doesn't appear to be the same 'configure' script that we distribute > with guile-2.0.11. The line numbers are different. Did you regenerate > it? No, the line numbers are off, at least on the shells I have tried (/bin/sh, /usr/xpg4/bin/sh POSIX shell). Recent bash works better. > > configure:14694: /home/admini/saper/sparcv7/bin/gcc -m64 -mcpu=ultrasparc3 -o conftest -g -O2 conftest.c -lunistring >&5 > > conftest.c:123:21: fatal error: uniconv.h: No such file or directory > > #include > > ^ > > compilation terminated. > > I agree that this is likely a problem in the m4 code, which we import > from gnulib, but for now, can you see if the above suggestions work for > you and report back? I have some other issues with libunistring at the moment - it made it to compile and install but it does not seem to run properly. Right now I can't reproduce the above problem, but the configure complains about the lack of iconv support in libunistring, which is not true. But this is related to the libunistring not working correctly and is probably not related to guile. Once I solve the underlying libunistring issues (http://savannah.gnu.org/bugs/?45783, http://savannah.gnu.org/bugs/?45784 identified so far) will try guile's configure again and report back. ~Marcin