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.user Subject: Re: building guile problem (configure: possibly undefined macro) Date: Mon, 25 Mar 2013 14:01:47 -0400 Message-ID: <87k3ovbbp0.fsf@tines.lan> References: <87ip4fd3c0.fsf@yagnesh.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364234552 16377 80.91.229.3 (25 Mar 2013 18:02:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Mar 2013 18:02:32 +0000 (UTC) Cc: guile-user@gnu.org To: Yagnesh Raghava Yakkala Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Mar 25 19:02:58 2013 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 1UKBjW-0003iC-Hc for guile-user@m.gmane.org; Mon, 25 Mar 2013 19:02:58 +0100 Original-Received: from localhost ([::1]:43521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKBj8-00081I-Q2 for guile-user@m.gmane.org; Mon, 25 Mar 2013 14:02:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKBiu-00080l-RZ for guile-user@gnu.org; Mon, 25 Mar 2013 14:02:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKBin-0006ex-5X for guile-user@gnu.org; Mon, 25 Mar 2013 14:02:20 -0400 Original-Received: from world.peace.net ([96.39.62.75]:48801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKBin-0006ac-1X for guile-user@gnu.org; Mon, 25 Mar 2013 14:02:13 -0400 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=tines.lan) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UKBiV-0002nF-CP; Mon, 25 Mar 2013 14:01:55 -0400 In-Reply-To: <87ip4fd3c0.fsf@yagnesh.org> (Yagnesh Raghava Yakkala's message of "Mon, 25 Mar 2013 22:19:27 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 96.39.62.75 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 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-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10214 Archived-At: Yagnesh Raghava Yakkala writes: > I am trying to build guile from repository on ubuntu 12.04 LTS. I cloned git repo > and checked out stable branch. > > tried to run "autgen.sh" > > First, problem automake version. > > It seems to build guile I need to have automake 1.12 atleast. [...] > I feel that dependency is somewhat harsh given that ubuntu 12.04 is > the latest LTS. Sorry about that. I've forgotten the exact details, but unfortunately in order to support automake 1.13 at all, we need to require at least automake 1.12. An easy fix is to install automake_1.12.6-2_all.deb from Debian experimental: wget http://http.us.debian.org/debian/pool/main/a/automake1.12/automake_1.12.6-2_all.deb sudo dpkg -i automake_1.12.6-2_all.deb Normally, one must think twice about installing a package from experimental, but in this case it is safe. This package works fine on Ubuntu, and won't require you to upgrade anything else. > configure.ac:881: warning: macro 'AM_GNU_GETTEXT' not found in library This is probably because your 'automake' in /usr/local is not looking in /usr/share/aclocal, but FYI, this macro is defined in /usr/share/aclocal/gettext.m4 from the 'gettext' package. > configure.ac:61: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL > configure.ac:80: error: possibly undefined macro: AC_LIBTOOL_DLOPEN > configure.ac:81: error: possibly undefined macro: AC_PROG_LIBTOOL These macros are defined in /usr/share/aclocal/ltoptions.m4 and /usr/share/aclocal/libtool.m4 from the 'libtool' package. Note that it's also a good idea to run: sudo apt-get build-dep guile-2.0 To install all of the build dependencies. Please let us know if you have any further difficulties. Regards, Mark