bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem building guile 1.4


From: Andrew Koenig
Subject: Re: Problem building guile 1.4
Date: Fri, 29 Jun 2001 16:09:13 -0400 (EDT)

Marius> Andrew Koenig <address@hidden> writes:

>> Following is the output from running "configure" -- look for the
>> first line with "**" in it.

Marius> Please also show the contents of `guile-readline/config.log'.  The
Marius> test program for rl_getc_function did not compile, which could have
Marius> many causes besides the variable not being defined.  The file
Marius> config.log contains the error messages from the compiler.

Thank you for the amazingly quick response.

The contents of guile-readline/config.log follow.

The output seems to suggest that readline puts its header file
somewhere that guile doesn't know about.

[PS: This output might not match what I sent you earlier because I
reran it on a machine on which I had first rebuilt everything under
gcc 3.0 for consistency]




-----------------------------------------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:568: checking for a BSD compatible install
configure:621: checking whether build environment is sane
configure:678: checking whether make sets ${MAKE}
configure:717: checking for working aclocal
configure:730: checking for working autoconf
configure:743: checking for working automake
configure:756: checking for working autoheader
configure:769: checking for working makeinfo
configure:786: checking for gcc
configure:899: checking whether the C compiler (gcc  ) works
configure:915: gcc -o conftest    conftest.c  1>&5
configure:941: checking whether the C compiler (gcc  ) is a cross-compiler
configure:946: checking whether we are using GNU C
configure:974: checking whether gcc accepts -g
configure:1009: checking for gcc option to accept ANSI C
configure:1161: checking host system type
configure:1182: checking build system type
configure:1202: checking for ranlib
configure:1241: checking for ld used by GCC
configure:1303: checking if the linker (/usr/gnu/sparc-sun-solaris2.6/bin/ld) 
is GNU ld
configure:1319: checking for BSD-compatible nm
configure:1355: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: gcc -c -g -O2  conftest.c 1>&5
ltconfig:776: checking if gcc PIC flag -fPIC works
ltconfig:777: gcc -c -g -O2 -fPIC -DPIC  conftest.c 1>&5
ltconfig:829: checking if gcc supports -c -o file.o
ltconfig:830: gcc -c -g -O2 -o out/conftest2.o  conftest.c 1>&5
ltconfig:862: checking if gcc supports -c -o file.lo
ltconfig:863: gcc -c -g -O2 -c -o conftest.lo  conftest.c 1>&5
ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:915: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c  conftest.c 
1>&5
ltconfig:958: checking if gcc static flag -static works
ltconfig:959: gcc -o conftest -g -O2   -static conftest.c  1>&5
GNU ld version 2.11.2 (with BFD 2.11.2)
ltconfig:1653: checking if global_symbol_pipe works
ltconfig:1654: gcc -c -g -O2  conftest.c 1>&5
ltconfig:1657: eval "/usr/gnu/bin/nm -B conftest.o | sed -n -e 's/^.*[  
]\([ABCDGISTW]\)[       ][      ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' 
> conftest.nm"
ltconfig:1709: gcc -o conftest -g -O2 -fno-builtin -fno-rtti -fno-exceptions   
conftest.c conftstm.o 1>&5
configure:1542: checking for tgoto in -lncurses
configure:1561: gcc -o conftest -g -O2   conftest.c -lncurses   1>&5
/usr/gnu/lib/gcc-lib/sparc-sun-solaris2.6/3.0/../../../../sparc-sun-solaris2.6/bin/ld:
 cannot find -lncurses
collect2: ld returned 1 exit status
configure: failed program was:
#line 1550 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char tgoto();

int main() {
tgoto()
; return 0; }
configure:1542: checking for tgoto in -ltermcap
configure:1561: gcc -o conftest -g -O2   conftest.c -ltermcap   1>&5
configure:1584: checking for main in -lreadline
configure:1599: gcc -o conftest -g -O2   conftest.c -lreadline  -ltermcap  1>&5
configure:1633: checking for siginterrupt
configure:1633: checking for rl_clear_signals
configure:1661: gcc -o conftest -g -O2   conftest.c -lreadline -ltermcap  1>&5
configure:1633: checking for rl_cleanup_after_signal
configure:1661: gcc -o conftest -g -O2   conftest.c -lreadline -ltermcap  1>&5
configure:1633: checking for rl_pre_input_hook
configure:1661: gcc -o conftest -g -O2   conftest.c -lreadline -ltermcap  1>&5
configure:1688: checking if readline clears SA_RESTART flag for SIGWINCH
configure:1727: gcc -o conftest -g -O2   conftest.c -lreadline -ltermcap  1>&5
configure:1699:31: readline/readline.h: No such file or directory
configure: In function `main':
configure:1722: `rl_pre_input_hook' undeclared (first use in this function)
configure:1722: (Each undeclared identifier is reported only once
configure:1722: for each function it appears in.)
configure: failed program was:
#line 1696 "configure"
#include "confdefs.h"
#include <signal.h>
#include <stdio.h>
#include <readline/readline.h>

int
hook ()
{
  struct sigaction action;

  sigaction (SIGWINCH, NULL, &action);
  rl_cleanup_after_signal();
  
  /* exit with 0 if readline disabled SA_RESTART */
  exit (action.sa_flags & SA_RESTART);
}
    
int
main ()
{
  struct sigaction action;
  
  sigaction (SIGWINCH, NULL, &action);
  action.sa_flags |= SA_RESTART;
  sigaction (SIGWINCH, &action, NULL);
  
  rl_pre_input_hook = hook;
  readline ("");
}
configure:1750: checking for rl_getc_function pointer in readline
configure:1764: gcc -o conftest -g -O2   conftest.c -lreadline -ltermcap  1>&5
configure:1758:31: readline/readline.h: No such file or directory
configure: In function `main':
configure:1760: `rl_getc_function' undeclared (first use in this function)
configure:1760: (Each undeclared identifier is reported only once
configure:1760: for each function it appears in.)
configure: failed program was:
#line 1755 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <readline/readline.h>
int main() {
printf ("%ld", (long) rl_getc_function)
; return 0; }
configure:1793: checking for strdup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]