unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Re: git clone guile 1.9 build problem on MacOS X 10.5.2
@ 2008-04-15  5:37 Steven Wu
  0 siblings, 0 replies; 9+ messages in thread
From: Steven Wu @ 2008-04-15  5:37 UTC (permalink / raw)
  To: guile-devel

looks like the problems are in the configure file, where I found the  
following:
PACKAGE_VERSION='-n 1.9.0
'
PACKAGE_STRING='guile-readline -n 1.9.0
'
If I  changed them by hand, the problem went away.

steve





^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: git clone guile 1.9 build problem on MacOS X 10.5.2
@ 2008-04-16  6:20 Steven Wu
  2008-04-16  7:04 ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Steven Wu @ 2008-04-16  6:20 UTC (permalink / raw)
  To: guile-devel

track down where the problem occurred:
  configure.in 3: m4_esyscmd(. ../GUILE-VERSION && echo -n $ 
{GUILE_VERSION}))

It looks like MacOS X /bin/sh did not know -n flag, and it generated
'-n 1.9.0
'
steve




^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: git clone guile 1.9 build problem on MacOS X 10.5.2
@ 2008-04-15  5:22 Steven Wu
  2008-04-15  7:01 ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Steven Wu @ 2008-04-15  5:22 UTC (permalink / raw)
  To: guile-devel

silly me, here we go:
configure:2881: gcc    conftest.c  >&5
conftest.c:5: error: missing terminating " character
conftest.c:7: error: missing terminating " character
configure:2884: $? = 1
configure:2922: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "guile-readline"
| #define PACKAGE_TARNAME "guile-readline"
| #define PACKAGE_VERSION "-n 1.9.0
| "
| #define PACKAGE_STRING "guile-readline -n 1.9.0
| "
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2929: error: C compiler cannot create executables
See `config.log' for more details.

The problem is the newline before closing quote.

steve




^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: git clone guile 1.9 build problem on MacOS X 10.5.2
@ 2008-04-14  3:30 Steven Wu
  2008-04-14  7:32 ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Steven Wu @ 2008-04-14  3:30 UTC (permalink / raw)
  To: guile-devel; +Cc: ludo

config.log:

lispdir='${datarootdir}/emacs/site-lisp'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='/bin/echo'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/build-aux/install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=' guile-readline'
sysconfdir='${prefix}/etc'
target_alias=''
top_builddir_absolute='/Users/wus/local/src/gnu/guile'
top_srcdir_absolute='/Users/wus/local/src/gnu/guile'

configure: exit 1

guile-readline/config.log
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "guile-readline"
#define PACKAGE_TARNAME "guile-readline"
#define PACKAGE_VERSION "-n 1.9.0
"
#define PACKAGE_STRING "guile-readline -n 1.9.0
"
#define PACKAGE_BUGREPORT ""

configure: exit 77

steve




^ permalink raw reply	[flat|nested] 9+ messages in thread
* git clone guile 1.9 build problem on MacOS X 10.5.2
@ 2008-04-13 16:38 Steven Wu
  2008-04-13 17:21 ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Steven Wu @ 2008-04-13 16:38 UTC (permalink / raw)
  To: guile-devel

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





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-04-16  7:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-15  5:37 git clone guile 1.9 build problem on MacOS X 10.5.2 Steven Wu
  -- strict thread matches above, loose matches on Subject: below --
2008-04-16  6:20 Steven Wu
2008-04-16  7:04 ` Ludovic Courtès
2008-04-15  5:22 Steven Wu
2008-04-15  7:01 ` Ludovic Courtès
2008-04-14  3:30 Steven Wu
2008-04-14  7:32 ` Ludovic Courtès
2008-04-13 16:38 Steven Wu
2008-04-13 17:21 ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).