[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] Build output
From: |
Camm Maguire |
Subject: |
Re: [Gcl-devel] Build output |
Date: |
22 Apr 2003 07:55:07 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings, and sorry for the delay. [ Reminder, I'm away until 6/1,
so correspondence will be spotty. ] .
There are only three differences between your configure output and
mine:
1) the gcc version string reported by your compiler is apparently
unknown to the autoconf script. I don't think this is critical, as
we should see a lot more configure failures if the compiler setting
was not correct, though -mcpu=pentiumpro -march=i486 obviously
doesn't make much sense. If you have autoconf on your system, try
running it (after a make clean), and then configure again.
2) Your bfd library is newer and supports the bfd_boolean. Again,
probably not a problem.
3) Your tcl library was apparently found in an odd place. This is my
guess at your problem, as the tcl setting logic in configure.in is
not very robust at present. I would try to locate the tclConfig.sh
and tkConfig.sh scripts on your system, and supply the directories
containing them to configure by hand via --enable-tclconfig and
--enable-tkconfig.
Please let me know if this does not work.
(Also, if you have remote access to this system, I'm reasonably
confident I could pinpoint the issue very quickly. )
BTW, doesn't gentoo have a gcl package?
Take care,
C Y <address@hidden> writes:
> Here we go:
>
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> configure:728: checking host system type
> configure:1076: checking for gcc
> configure:1189: checking whether the C compiler (gcc ) works
> configure:1205: gcc -o conftest conftest.c 1>&5
> configure:1231: checking whether the C compiler (gcc ) is a
> cross-compiler
> configure:1236: checking whether we are using GNU C
> configure:1245: gcc -E conftest.c
> configure:1264: checking whether gcc accepts -g
> configure:1296: checking how to run the C preprocessor
> configure:1317: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:1410: checking for gawk
> configure:1479: checking system version (for dynamic loading)
> configure:1487: checking for makeinfo
> configure:1552: checking use_gmp=yes, doing configure in gmp directory
> configure:1677: checking for size of gmp limbs
> configure:1693: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:1716: checking _SHORT_LIMB
> configure:1733: gcc -o conftest -g -O2 conftest.c 1>&5
> configure: failed program was:
> #line 1721 "configure"
> #include "confdefs.h"
> #include <stdio.h>
> #include "h/gmp.h"
> int main() {
> #ifdef _SHORT_LIMB
> return 0;
> #else
> return 1;
> #endif
> }
> configure:1749: checking _LONG_LONG_LIMB
> configure:1766: gcc -o conftest -g -O2 conftest.c 1>&5
> configure: failed program was:
> #line 1754 "configure"
> #include "confdefs.h"
> #include <stdio.h>
> #include "h/gmp.h"
> int main() {
> #ifdef _LONG_LONG_LIMB
> return 0;
> #else
> return 1;
> #endif
> }
> configure:1805: checking for X
> configure:2119: checking for dnet_ntoa in -ldnet
> configure:2138: gcc -o conftest -g -O2 conftest.c -ldnet 1>&5
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld:
> cannot find -ldnet
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 2127 "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 dnet_ntoa();
>
> int main() {
> dnet_ntoa()
> ; return 0; }
> configure:2160: checking for dnet_ntoa in -ldnet_stub
> configure:2179: gcc -o conftest -g -O2 conftest.c -ldnet_stub 1>&5
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld:
> cannot find -ldnet_stub
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 2168 "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 dnet_ntoa();
>
> int main() {
> dnet_ntoa()
> ; return 0; }
> configure:2208: checking for gethostbyname
> configure:2236: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:2306: checking for connect
> configure:2334: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:2398: checking for remove
> configure:2426: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:2490: checking for shmat
> configure:2518: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:2591: checking for IceConnectionNumber in -lICE
> configure:2610: gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c
> -lICE 1>&5
> configure:2641: checking for main in -lXmu
> configure:2656: gcc -o conftest -g -O2 conftest.c -lXmu
> -L/usr/X11R6/lib 1>&5
> configure:2678: checking for main in -lXt
> configure:2693: gcc -o conftest -g -O2 conftest.c -lXt
> -L/usr/X11R6/lib -lXmu 1>&5
> configure:2715: checking for main in -lXext
> configure:2730: gcc -o conftest -g -O2 conftest.c -lXext
> -L/usr/X11R6/lib -lXmu -lXt 1>&5
> configure:2752: checking for main in -lXaw
> configure:2767: gcc -o conftest -g -O2 conftest.c -lXaw
> -L/usr/X11R6/lib -lXmu -lXt -lXext 1>&5
> configure:2789: checking for main in -lX11
> configure:2804: gcc -o conftest -g -O2 conftest.c -lX11
> -L/usr/X11R6/lib -lXmu -lXt -lXext -lXaw 1>&5
> configure:2898: checking for bfd.h
> configure:2908: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:2925: checking for bfd_init in -lbfd
> configure:2944: gcc -o conftest -g -O2 conftest.c -lbfd -liberty
> 1>&5
> configure:2963: checking if need to define CONST for bfd
> configure:2974: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:3032: checking for useable bfd_boolean
> configure:3044: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:3131: checking size of long *
> configure:3150: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:3174: checking for endian.h
> configure:3184: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:3205: checking endianness
> configure:3216: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:3239: checking finding DBEGIN
> configure:3261: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:3283: checking finding CSTACK_ADDRESS
> configure:3300: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:3322: checking sizeof long long int
> configure:3338: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:3393: checking for pagewidth
> configure:3408: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:3435: checking for getcwd
> configure:3463: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:3490: checking for getwd
> configure:3518: gcc -o conftest -g -O2 conftest.c 1>&5
> /tmp/ccAnLsVC.o(.text+0xa): In function `main':
> /home/user/gcl/configure:3512: the `getwd' function is dangerous and
> should not be used.
> configure:3543: checking for uname
> configure:3571: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:3595: checking for gettimeofday
> configure:3623: gcc -o conftest -g -O2 conftest.c 1>&5
> configure:3652: checking for sys/ioctl.h
> configure:3662: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:3702: checking for BSDgettimeofday
> configure:3730: gcc -o conftest -g -O2 conftest.c 1>&5
> /tmp/ccMwOpAm.o(.text+0xa): In function `main':
> /home/user/gcl/configure:3724: undefined reference to `BSDgettimeofday'
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 3707 "configure"
> #include "confdefs.h"
> /* System header to define __stub macros and hopefully few prototypes,
> which can conflict with char BSDgettimeofday(); below. */
> #include <assert.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 BSDgettimeofday();
>
> int main() {
>
> /* The GNU C library defines this for functions which it implements
> to always fail with ENOSYS. Some functions are actually named
> something starting with __ and the normal name is an alias. */
> #if defined (__stub_BSDgettimeofday) || defined
> (__stub___BSDgettimeofday)
> choke me
> #else
> BSDgettimeofday();
> #endif
>
> ; return 0; }
> configure:3751: checking for gettimeofday
> configure:3806: checking for gettimeofday declaration
> configure:3830: checking for sin in -lm
> configure:3849: gcc -o conftest -g -O2 conftest.c -lm 1>&5
> configure:3842: warning: conflicting types for built-in function `sin'
> configure:3871: checking for main in -lmingwex
> configure:3886: gcc -o conftest -g -O2 conftest.c -lmingwex -lm
> 1>&5
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld:
> cannot find -lmingwex
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 3879 "configure"
> #include "confdefs.h"
>
> int main() {
> main()
> ; return 0; }
> configure:3964: checking for math.h
> configure:3974: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:4011: checking for values.h
> configure:4021: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:4058: checking for float.h
> configure:4068: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:4104: checking for isnormal
> configure:4118: gcc -o conftest -g -O2 conftest.c -lm 1>&5
> configure:4164: checking for isfinite
> configure:4178: gcc -o conftest -g -O2 conftest.c -lm 1>&5
> configure:4244: checking for sockets
> configure:4247: checking for connect
> configure:4390: checking for gethostbyname
> configure:4476: checking for main in -lreadline
> configure:4491: gcc -o conftest -g -O2 conftest.c -lreadline
> -lncurses -lm 1>&5
> configure:4523: checking For network code for nsocket.c
> configure:4552: gcc -o conftest -g -O2 conftest.c -lm 1>&5
> configure:4569: checking check for listen using fcntl
> configure:4584: gcc -c -g -O2 conftest.c 1>&5
> configure:4603: checking for profil
> configure:4631: gcc -o conftest -g -O2 conftest.c -lm 1>&5
> configure:4656: checking for setenv
> configure:4684: gcc -o conftest -g -O2 conftest.c -lm 1>&5
> configure:4764: checking for _cleanup
> configure:4792: gcc -o conftest -g -O2 conftest.c -lm 1>&5
> /tmp/ccGahQvq.o(.text+0xa): In function `main':
> /home/user/gcl/configure:4786: undefined reference to `_cleanup'
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 4769 "configure"
> #include "confdefs.h"
> /* System header to define __stub macros and hopefully few prototypes,
> which can conflict with char _cleanup(); below. */
> #include <assert.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 _cleanup();
>
> int main() {
>
> /* The GNU C library defines this for functions which it implements
> to always fail with ENOSYS. Some functions are actually named
> something starting with __ and the normal name is an alias. */
> #if defined (__stub__cleanup) || defined (__stub____cleanup)
> choke me
> #else
> _cleanup();
> #endif
>
> ; return 0; }
> configure:4846: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O
> configure:4877: checking check for SV_ONSTACK
> configure:4888: gcc -c -g -O2 conftest.c 1>&5
> configure:4905: checking check for SIGSYS
> configure:4916: gcc -c -g -O2 conftest.c 1>&5
> configure:4934: checking check for SIGEMT
> configure:4945: gcc -c -g -O2 conftest.c 1>&5
> configure:4938: `SIGEMT' undeclared here (not in a function)
> configure: failed program was:
> #line 4936 "configure"
> #include "confdefs.h"
> #include <signal.h>
> int joe=SIGEMT;
>
> int main() {
>
> ; return 0; }
> configure:4969: checking for asm/sigcontext.h
> configure:4979: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:5009: checking for asm/signal.h
> configure:5019: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:5057: gcc -c -g -O2 conftest.c 1>&5
> configure:5138: checking for emacs
> configure:5186: checking emacs site lisp directory
> configure:5208: checking emacs default.el
> configure:5237: checking emacs info/dir
> configure:5251: checking for tcl/tk
> configure:5274: checking for tclsh
> configure:5374: checking for main in -llieee
> configure:5389: gcc -o conftest -g -O2 conftest.c -llieee -lm 1>&5
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld:
> cannot find -llieee
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 5382 "configure"
> #include "confdefs.h"
>
> int main() {
> main()
> ; return 0; }
> configure:5454: checking alloca
> configure:5463: gcc -o conftest -g -O2 conftest.c -lm 1>&5
> configure: In function `main':
> configure:5460: `NULL' undeclared (first use in this function)
> configure:5460: (Each undeclared identifier is reported only once
> configure:5460: for each function it appears in.)
> configure: failed program was:
> #line 5459 "configure"
> #include "confdefs.h"
> int main() { exit(alloca(500) != NULL ? 0 : 1);}
> configure:5552: checking Checking for buggy gcc version from redhat
>
>
> --- Camm Maguire <address@hidden> wrote:
> > Greetings, and thanks! OK its still not obvious. Could you please
> > post the config.log generated by this run?
> >
> > take care,
> >
> > C Y <address@hidden> writes:
> >
> > > Let's try that again.
> > >
> > > Hmmm. OK, here's everything, from the first configure through
> > make,
> > > and then just for good measure I do a make clean and make again,
> > which
> > > seems to produce a different error. What are conftest files, by the
> > > way? I can't seem to find them. Here are all the versions of
> > > everything relevant I can find:
> > >
> > > glibc 2.3.1
> > > gcc 3.2.2
> > > readline 4.3
> > > m4 1.4
> > > tk 8.3.4
> > > tex 2.0.2
> > > texinfo 4.3
> > > binutils 2.13.90.0.18
> > > texi2html 1.64
> > > autoconf 2.57
> > > automake 1.7.2
> > > gettext 0.11.5
> > > sed 4.0.6
> > >
> > > Build outputs:
> > >
> > > bash-2.05b$ ./configure
> > > creating cache ./config.cache
> > > checking host system type... i686-pc-linux-gnu
> > > host=i686-pc-linux-gnu
> > > enable_machine=
> > > use=386-linux
> > > checking for gcc... gcc
> > > checking whether the C compiler (gcc ) works... yes
> > > checking whether the C compiler (gcc ) is a cross-compiler... no
> > > checking whether we are using GNU C... yes
> > > checking whether gcc accepts -g... yes
> > > checking how to run the C preprocessor... gcc -E
> > > checking for gawk... gawk
> > > checking system version (for dynamic loading)... checking for
> > > makeinfo... makeinfo
> > > Linux-2.4.19-gentoo-r10
> > > checking use_gmp=yes, doing configure in gmp directory...
> > > #
> > > #
> > > # -------------------
> > > # Subconfigure of GMP
> > > #
> > > #
> > > configure: WARNING: If you wanted to set the --build type, don't
> > use
> > > --host.
> > > If a cross compiler is detected then cross compile mode will be
> > > used.
> > > checking build system type... athlon-pc-linux-gnu
> > > checking host system type... i686-pc-linux-gnu
> > > checking for a BSD compatible install... /bin/install -c
> > > checking whether build environment is sane... yes
> > > checking for mawk... no
> > > checking for gawk... gawk
> > > checking whether make sets ${MAKE}... yes
> > > checking whether to enable maintainer-specific portions of
> > Makefiles...
> > > no
> > > checking compiler gcc -g -O2 -fomit-frame-pointer ... yes
> > > checking compiler gcc -g -O2 -fomit-frame-pointer
> > -mcpu=pentiumpro...
> > > yes
> > > checking whether gcc -march=pentiumpro is good... configure:
> > WARNING:
> > > unrecognised gcc version string: gcc (GCC) 3.2.2
> > > Copyright (C) 2002 Free Software Foundation, Inc.
> > > This is free software; see the source for copying conditions.
> > There is
> > > NO
> > > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> > > PURPOSE.
> > > no
> > > checking compiler gcc -g -O2 -fomit-frame-pointer -mcpu=pentiumpro
> > > -march=i486... yes
> > > checking for i686-pc-linux-gnu-gcc... gcc
> > > checking for C compiler default output... a.out
> > > checking whether the C compiler works... yes
> > > checking whether we are cross compiling... no
> > > checking for executable suffix...
> > > checking for object suffix... o
> > > checking whether we are using the GNU C compiler... yes
> > > checking whether gcc accepts -g... yes
> > > checking for style of include used by make... GNU
> > > checking dependency style of gcc... none
> > > checking for gcc option to accept ANSI C... none needed
> > > checking how to run the C preprocessor... gcc -E
> > > using ABI="standard"
> > > CC="gcc"
> > > CFLAGS="-g -O2 -fomit-frame-pointer -mcpu=pentiumpro
> > -march=i486"
> > > CPPFLAGS=""
> > > checking for gcc option to accept ANSI C... none needed
> > > checking for function prototypes... yes
> > > checking for ANSI C header files... yes
> > > checking for string.h... yes
> > > checking for i686-pc-linux-gnu-ar... no
> > > checking for ar... ar
> > > checking for BSD-compatible nm... nm
> > > checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
> > > checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld...
> > yes
> > > checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object
> > > files... -r
> > > checking whether ln -s works... yes
> > > checking how to recognise dependant libraries... pass_all
> > > checking for dlfcn.h... yes
> > > checking the maximum length of command line arguments... 49153
> > > checking command to parse nm output from gcc object... ok
> > > checking for objdir... .libs
> > > checking for i686-pc-linux-gnu-ranlib... no
> > > checking for ranlib... ranlib
> > > checking for i686-pc-linux-gnu-strip... no
> > > checking for strip... strip
> > > checking if gcc static flag works... yes
> > > checking if gcc supports -fno-rtti -fno-exceptions... yes
> > > checking for gcc option to produce PIC... -fPIC
> > > checking if gcc PIC flag -fPIC works... yes
> > > checking if gcc supports -c -o file.o... yes
> > > checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld)
> > > supports shared libraries... yes
> > > checking whether -lc should be explicitly linked in... no
> > > checking how to hardcode library paths into programs... immediate
> > > checking whether stripping libraries is possible... yes
> > > checking dynamic linker characteristics... GNU/Linux ld.so
> > > checking if libtool supports shared libraries... yes
> > > checking whether to build shared libraries... yes
> > > checking whether to build static libraries... yes
> > > configure: creating libtool
> > > checking for ANSI C header files... (cached) yes
> > > checking whether time.h and sys/time.h may both be included... yes
> > > checking for locale.h... yes
> > > checking for sys/mman.h... yes
> > > checking for sys/param.h... yes
> > > checking for sys/processor.h... no
> > > checking for sys/resource.h... yes
> > > checking for sys/sysctl.h... yes
> > > checking for sys/systemcfg.h... no
> > > checking for sys/time.h... yes
> > > checking for sys/times.h... yes
> > > checking for sys/types.h... yes
> > > checking for sys/stat.h... yes
> > > checking for stdlib.h... yes
> > > checking for string.h... (cached) yes
> > > checking for memory.h... yes
> > > checking for strings.h... yes
> > > checking for inttypes.h... yes
> > > checking for stdint.h... yes
> > > checking for unistd.h... yes
> > > checking whether fgetc is declared... yes
> > > checking whether fscanf is declared... yes
> > > checking whether optarg is declared... yes
> > > checking whether ungetc is declared... yes
> > > checking whether vfprintf is declared... yes
> > > checking return type of signal handlers... void
> > > checking for intmax_t... yes
> > > checking for long double... yes
> > > checking for long long... yes
> > > checking for ptrdiff_t... yes
> > > checking for quad_t... yes
> > > checking for preprocessor stringizing operator... yes
> > > checking whether <stdarg.h> exists and works... yes
> > > checking whether gcc __attribute__ ((const)) works... yes
> > > checking whether gcc __attribute__ ((malloc)) works... yes
> > > checking whether gcc __attribute__ ((mode (XX))) works... yes
> > > checking whether gcc __attribute__ ((noreturn)) works... yes
> > > checking for inline... inline
> > > checking for main in -lm... yes
> > > checking for working alloca.h... yes
> > > checking for alloca (via gmp-impl.h)... yes
> > > checking how to allocate temporary memory... alloca
> > > checking for alarm... yes
> > > checking for getpagesize... yes
> > > checking for getrusage... yes
> > > checking for gettimeofday... yes
> > > checking for localeconv... yes
> > > checking for memset... yes
> > > checking for mmap... yes
> > > checking for mprotect... yes
> > > checking for obstack_vprintf... yes
> > > checking for popen... yes
> > > checking for processor_info... no
> > > checking for read_real_time... no
> > > checking for strchr... yes
> > > checking for strnlen... yes
> > > checking for strtoul... yes
> > > checking for sysconf... yes
> > > checking for sysctl... yes
> > > checking for sysctlbyname... no
> >
> === message truncated ===
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online, calculators, forms, and more
> http://tax.yahoo.com
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
- [Gcl-devel] Configure has problems on Gentoo Linux with 2.5.2, C Y, 2003/04/08
- Re: [Gcl-devel] Configure has problems on Gentoo Linux with 2.5.2, Camm Maguire, 2003/04/08
- Re: [Gcl-devel] Configure has problems on Gentoo Linux with 2.5.2, C Y, 2003/04/08
- [Gcl-devel] Build output - sorry about the bad post, C Y, 2003/04/08
- Re: [Gcl-devel] Build output - sorry about the bad post, Camm Maguire, 2003/04/09
- Re: [Gcl-devel] Build output, C Y, 2003/04/09
- Re: [Gcl-devel] Build output,
Camm Maguire <=
- Re: [Gcl-devel] Build output, C Y, 2003/04/22
- Re: [Gcl-devel] Build output, Camm Maguire, 2003/04/23
- Re: [Gcl-devel] Build output, C Y, 2003/04/23
- Re: [Gcl-devel] Build output, C Y, 2003/04/23