Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
errors while configuring glibc

errors while configuring glibc

2005-09-13       - By Nupur

 Back
Hello,

I am trying to install glibc-2.3.5 on my computer.
I have already installed gcc-3.4.3 and binutils
which are working fine. While trying to install
glibc-2.3.5, I am getting the following error:

   configure:7429: error: cannot compute sizeof
(long double), 77

When I looked in config.log file of it, I found
the following line as well:

   ./conftest: error while loading shared
libraries: libgcc_s.so.1: cannot open shared
object file: No such file or directory

The whole config.log file I am pasting below, in
case I am missing something tht needs to be
mentioned.

***********************config.log*****************
******************(As the file is too big, I've
removed few of the 'OK' messages.)

It was created by GNU C Library configure (see
version.h), which was
generated by GNU Autoconf 2.59.  Invocation
command line was

 $
../glibc-2.3.5/configure --prefix=/usr/local --dis
able-profile --enable-add-ons=nptl --with-tls --wi
th-__thread --enable-kernel=2.6.12 --with-headers=
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/include

## -- ------ ##
## Platform. ##
## -- ------ ##

hostname = puja-w2s.hardware.cdac.ernet.in
uname -m = i686
uname -r = 2.6.12
uname -s = Linux
uname -v = #3 SMP Tue Sep 6 14:25:29 IST 2005

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## -- ---- --- ##
## Core tests. ##
## -- ---- --- ##

configure:1706: checking build system type
configure:1724: result: i686-pc-linux-gnu
configure:1732: checking host system type
configure:1746: result: i686-pc-linux-gnu
configure:1878: result: running configure fragment
for add-on nptl
configure:1998: checking sysdep dirs
configure:2214: result: sysdeps/generic/elf
sysdeps/generic
configure:2233: checking for a BSD-compatible
install
configure:2288: result: /usr/bin/install -c
configure:2303: checking whether ln -s works
configure:2307: result: yes
configure:2361: checking for gcc
configure:2377: found /usr/local/bin/gcc
configure:2387: result: gcc
configure:2631: checking for C compiler version
configure:2634: gcc --version </dev/null >&5
gcc (GCC) 3.4.3
Copyright (C) 2004 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.

configure:2831: checking for gcc option to accept
ANSI C
configure:2901: gcc  -c -g -O2  conftest.c >&5
configure:2907: $? = 0
configure:2911: test -z
                  || test ! -s conftest.err
configure:2914: $? = 0
configure:2917: test -s conftest.o
configure:2920: $? = 0
configure:2938: result: none needed
configure:2956: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:2962: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:3143: checking how to run the C
preprocessor
configure:3178: gcc -E  conftest.c
configure:3184: $? = 0
configure:3216: gcc -E  conftest.c
conftest.c:10:28: ac_nonexistent.h: No such file
or directory
configure:3222: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see
version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3261: result: gcc -E
configure:3285: gcc -E  conftest.c
configure:3291: $? = 0
configure:3323: gcc -E  conftest.c
conftest.c:10:28: ac_nonexistent.h: No such file
or directory
configure:3329: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see
version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3425: checking for g++
configure:3441: found /usr/local/bin/g++
configure:3451: result: g++
configure:3467: checking for C++ compiler version
configure:3470: g++ --version </dev/null >&5
g++ (GCC) 3.4.3
Copyright (C) 2004 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.

configure:3641: g++ -c -g -O2  conftest.cc >&5
configure:3647: $? = 0
configure:3651: test -z
                  || test ! -s conftest.err
configure:3654: $? = 0
configure:3657: test -s conftest.o
configure:3660: $? = 0
configure:3686: g++ -c -g -O2  conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:14: error: `exit' undeclared (first
use this function)
conftest.cc:14: error: (Each undeclared identifier
is reported only once for each function it appears
in.)
configure:3692: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see
version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:3641: g++ -c -g -O2  conftest.cc >&5
configure:3647: $? = 0
configure:3651: test -z
                  || test ! -s conftest.err
configure:3654: $? = 0
configure:3657: test -s conftest.o
configure:3660: $? = 0
configure:3686: g++ -c -g -O2  conftest.cc >&5
configure:3692: $? = 0
configure:3696: test -z
                  || test ! -s conftest.err
configure:3699: $? = 0
configure:3702: test -s conftest.o
configure:3705: $? = 0

configure:4174: checking for gnumsgfmt
configure:4203: result: no
configure:4174: checking for gmsgfmt
configure:4203: result: no
configure:4174: checking for msgfmt
configure:4190: found /usr/bin/msgfmt
configure:4200: result: msgfmt
configure:4214: checking version of msgfmt
configure:4224: result: 0.10.35, bad
configure:4235: checking for makeinfo
configure:4251: found /usr/bin/makeinfo
configure:4261: result: makeinfo
configure:4275: checking version of makeinfo
configure:4285: result: 4.0, ok


configure:4358: checking for autoconf
configure:4374: found /usr/bin/autoconf
configure:4384: result: autoconf
configure:4398: checking whether autoconf works
configure:4409: result: no
configure:4430: WARNING:
*** These auxiliary programs are missing or
incompatible versions: msgfmt autoconf
*** some features will be disabled.
*** Check the INSTALL file for required versions.
configure:4447: checking whether ranlib is
necessary
configure:4468: result: no
configure:4481: checking LD_LIBRARY_PATH variable
configure:4491: result: ok


configure:6264: checking for DWARF2 unwind info
support
configure:6302:
cc -g -O2  -DCHECK__register_frame_info          
                         -nostdlib -nostartfiles
-o conftest conftest.c                 -lgcc >&5
configure:6284: warning: conflicting types for
built-in function 'malloc'
configure:6286: warning: conflicting types for
built-in function 'strlen'
configure:6287: warning: conflicting types for
built-in function 'memcpy'
configure:6288: warning: conflicting types for
built-in function 'memset'
configure:6290: warning: conflicting types for
built-in function 'abort'
/tmp/ccGsop4R.o: In function `_start':
/home/nupur/downloads/glibc-build/configure:6277:
undefined reference to `__register_frame_info'
/home/nupur/downloads/glibc-build/configure:6278:
undefined reference to `__deregister_frame_info'
collect2: ld returned 1 exit status
configure:6305: $? = 1
configure:6308:
cc -g -O2  -DCHECK__register_frame_info          
                         -nostdlib -nostartfiles
-o conftest
conftest.c                 -lgcc -lgcc_eh -lgcc
>&5
configure:6284: warning: conflicting types for
built-in function 'malloc'
configure:6286: warning: conflicting types for
built-in function 'strlen'
configure:6287: warning: conflicting types for
built-in function 'memcpy'
configure:6288: warning: conflicting types for
built-in function 'memset'
configure:6290: warning: conflicting types for
built-in function 'abort'
configure:6311: $? = 0
configure:6339: result: no_registry_needed
configure:6360: checking for __builtin_expect
configure:6375:
gcc -g -O2   -nostdlib -nostartfiles
                     -o conftest conftest.c -lgcc
>&5
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../.
./../i686-pc-linux-gnu/bin/ld: warning: cannot
find entry symbol _start; defaulting to 080480a0
configure:6378: $? = 0
configure:6386: result: yes


configure:6636: checking for is_selinux_enabled
in -lselinux
configure:6666: gcc -o conftest -g -O2
conftest.c -lselinux   >&5
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../.
./../i686-pc-linux-gnu/bin/ld: cannot
find -lselinux
collect2: ld returned 1 exit status
configure:6672: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see
version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using
std::exit;
| #endif
| #define ASM_GLOBAL_DIRECTIVE .globl
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define ASM_TYPE_DIRECTIVE_PREFIX @
| #define DO_VERSIONING 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define HAVE_PROTECTED 1
| #define HAVE_HIDDEN 1
| #define HAVE_VISIBILITY_ATTRIBUTE 1
| #define HAVE_INITFINI_ARRAY 1
| #define HAVE_Z_RELRO 1
| #define HAVE_Z_COMBRELOC 1
| #define NO_UNDERSCORES 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_ASM_CFI_DIRECTIVES 1
| #define HAVE_CPP_ASM_DEBUGINFO 1
| #define HAVE_BUILTIN_EXPECT 1
| #define HAVE_BUILTIN_REDIRECTION 1
| #define HAVE_SUBTRACT_LOCAL_LABELS 1
| #define HAVE___THREAD 1
| #define HAVE_TLS_MODEL_ATTRIBUTE 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid
an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the
return type of a gcc2
|    builtin and then its argument prototype would
still apply.  */
| char is_selinux_enabled ();
| int
| main ()
| {
| is_selinux_enabled ();
|   ;
|   return 0;
| }
configure:6698: result: no
configure:6782: checking for egrep
configure:6792: result: grep -E
configure:6797: checking for ANSI C header files
configure:6822: gcc -c -g -O2  conftest.c >&5
configure:6828: $? = 0
configure:6832: test -z
                  || test ! -s conftest.err
configure:6835: $? = 0
configure:6838: test -s conftest.o
configure:6841: $? = 0
configure:6930: gcc -o conftest -g -O2
conftest.c  >&5
configure:6933: $? = 0
configure:6935: ./conftest
./conftest: error while loading shared libraries:
libgcc_s.so.1: cannot open shared object file: No
such file or directory
configure:6938: $? = 127
configure: program exited with status 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see
version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using
std::exit;
| #endif
| #define ASM_GLOBAL_DIRECTIVE .globl
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define ASM_TYPE_DIRECTIVE_PREFIX @
| #define DO_VERSIONING 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define HAVE_PROTECTED 1
| #define HAVE_HIDDEN 1
| #define HAVE_VISIBILITY_ATTRIBUTE 1
| #define HAVE_INITFINI_ARRAY 1
| #define HAVE_Z_RELRO 1
| #define HAVE_Z_COMBRELOC 1
| #define NO_UNDERSCORES 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_ASM_CFI_DIRECTIVES 1
| #define HAVE_CPP_ASM_DEBUGINFO 1
| #define HAVE_BUILTIN_EXPECT 1
| #define HAVE_BUILTIN_REDIRECTION 1
| #define HAVE_SUBTRACT_LOCAL_LABELS 1
| #define HAVE___THREAD 1
| #define HAVE_TLS_MODEL_ATTRIBUTE 1
| /* end confdefs.h.  */
| #include <ctype.h>
| #if ((' ' & 0x0FF) == 0x020)
| # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
| # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) -
'a') : (c))
| #else
| # define ISLOWER(c)          (('a' <= (c) && (c)
<= 'i')             || ('j' <= (c) && (c) <= 'r')
|| ('s' <= (c) && (c) <= 'z'))
| # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) :
(c))
| #endif
|
| #define XOR(e, f) (((e) && !(f)) || (!(e) &&
(f)))
| int
| main ()
| {
|   int i;
|   for (i = 0; i < 256; i++)
|     if (XOR (islower (i), ISLOWER (i))
|     || toupper (i) != TOUPPER (i))
|       exit(2);
|   exit (0);
| }
configure:6953: result: no
configure:6977: checking for sys/types.h
configure:6993: gcc -c -g -O2  conftest.c >&5
configure:6999: $? = 0
configure:7003: test -z
                  || test ! -s conftest.err
configure:7006: $? = 0
configure:7009: test -s conftest.o
configure:7012: $? = 0
configure:7023: result: yes


configure:7035: checking for long double
configure:7059: gcc -c -g -O2  conftest.c >&5
configure:7065: $? = 0
configure:7069: test -z
                  || test ! -s conftest.err
configure:7072: $? = 0
configure:7075: test -s conftest.o
configure:7078: $? = 0
configure:7089: result: yes
configure:7092: checking size of long double
configure:7411: gcc -o conftest -g -O2
conftest.c  >&5
configure:7414: $? = 0
configure:7416: ./conftest
./conftest: error while loading shared libraries:
libgcc_s.so.1: cannot open shared object file: No
such file or directory
configure:7419: $? = 127
configure: program exited with status 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see
version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using
std::exit;
| #endif
| #define ASM_GLOBAL_DIRECTIVE .globl
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define ASM_TYPE_DIRECTIVE_PREFIX @
| #define DO_VERSIONING 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define HAVE_PROTECTED 1
| #define HAVE_HIDDEN 1
| #define HAVE_VISIBILITY_ATTRIBUTE 1
| #define HAVE_INITFINI_ARRAY 1
| #define HAVE_Z_RELRO 1
| #define HAVE_Z_COMBRELOC 1
| #define NO_UNDERSCORES 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_ASM_CFI_DIRECTIVES 1
| #define HAVE_CPP_ASM_DEBUGINFO 1
| #define HAVE_BUILTIN_EXPECT 1
| #define HAVE_BUILTIN_REDIRECTION 1
| #define HAVE_SUBTRACT_LOCAL_LABELS 1
| #define HAVE___THREAD 1
| #define HAVE_TLS_MODEL_ATTRIBUTE 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| long longval () { return (long) (sizeof (long
double)); }
| unsigned long ulongval () { return (long)
(sizeof (long double)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
|
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     exit (1);
|   if (((long) (sizeof (long double))) < 0)
|     {
|       long i = longval ();
|       if (i != ((long) (sizeof (long double))))
|     exit (1);
|       fprintf (f, "%ld\n", i);
|     }
|   else
|     {
|       unsigned long i = ulongval ();
|       if (i != ((long) (sizeof (long double))))
|     exit (1);
|       fprintf (f, "%lu\n", i);
|     }
|   exit (ferror (f) || fclose (f) != 0);
|
|   ;
|   return 0;
| }
configure:7429: error: cannot compute sizeof (long
double), 77
See `config.log' for more details.


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

#define ASM_GLOBAL_DIRECTIVE .globl
#define ASM_TYPE_DIRECTIVE_PREFIX @
#define DO_VERSIONING 1
#define HAVE_ASM_CFI_DIRECTIVES 1
#define HAVE_ASM_PREVIOUS_DIRECTIVE 1
#define HAVE_ASM_SET_DIRECTIVE 1
#define HAVE_ASM_WEAK_DIRECTIVE 1
#define HAVE_BUILTIN_EXPECT 1
#define HAVE_BUILTIN_REDIRECTION 1
#define HAVE_CPP_ASM_DEBUGINFO 1
#define HAVE_HIDDEN 1
#define HAVE_INITFINI_ARRAY 1
#define HAVE_INTTYPES_H 1
#define HAVE_MEMORY_H 1
#define HAVE_PROTECTED 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SUBTRACT_LOCAL_LABELS 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_TLS_MODEL_ATTRIBUTE 1
#define HAVE_UNISTD_H 1
#define HAVE_VISIBILITY_ATTRIBUTE 1
#define HAVE_Z_COMBRELOC 1
#define HAVE_Z_RELRO 1
#define HAVE___THREAD 1
#define NO_UNDERSCORES 1
#define PACKAGE_BUGREPORT "glibc"
#define PACKAGE_NAME "GNU C Library"
#define PACKAGE_STRING "GNU C Library (see
version.h)"
#define PACKAGE_TARNAME "c-library"
#define PACKAGE_VERSION "(see version.h)"
#define USE_REGPARMS 1
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using
std::exit;

configure: exit 1



Thanks and Regrads,
Nupur
Project Engineer
Networking and Internet Software Group
C-DAC, University of Pune
Pune.

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Earn $52 per hosting referral at Lunarpages.