Hi,

I was building guile 1.9 from git clone src, and I run into the following problems:
$ ./autogen.sh
$ ./configure --prefix=/usr --enable-shared --enable-maintainer-mode -- enable-threads
...
=== configuring in guile-readline (/Users/wus/local/src/gnu/guile/ guile-readline) configure: running /bin/sh ./configure '--prefix=/usr' '--enable- shared' '--enable-maintainer-mode' '--enable-threads' --cache-file=/ dev/null --srcdir=.
./configure: line 4: .: filename argument required
.: usage: . filename [arguments]
configure: error: ./configure failed for guile-readline

The problem was like that in the guile-readline/configure.in
$ head guile-readline/configure.in
AC_PREREQ(2.50)

AC_INIT(guile-readline,
        m4_esyscmd(. ../GUILE-VERSION && echo -n ${GUILE_VERSION}))
AC_CONFIG_AUX_DIR([.])
AC_CONFIG_SRCDIR(readline.c)
AM_CONFIG_HEADER([guile-readline-config.h])
AM_INIT_AUTOMAKE([foreign no-define])

. $srcdir/../GUILE-VERSION

but the generated configure becane:
$ head guile-readline/configure
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for guile-readline -n 1.9.0
.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
## --------------------- ##
If added ". $srcdir/../GUILE-VERSION," $srcdir couldn't be resolve correctly. I changed it to ". ../GUILE-VERSION" and got me pass that, but it stopped at: === configuring in guile-readline (/Users/wus/local/src/gnu/guile/ guile-readline) configure: running /bin/sh ./configure '--prefix=/usr' '--enable- shared' '--enable-maintainer-mode' '--enable-threads' --cache-file=/ dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
configure: error: ./configure failed for guile-readline

Any recommendation?

steve



Reply via email to