Hi,

I'm trying to do a ./configure of LyX 1.5.0beta1 and I get the error
message:

"checking size of wchar_t... configure: error: cannot compute sizeof
(wchar_t), 77"

I'm new to this source installation game and I have no idea what this means.

Any suggestions.

Thanks,
Bob

Here is the start of the config.log error:

configure:6958: checking size of wchar_t
configure:7277: gcc -o conftest -g -O2 -Wextra -Wall    conftest.cc  >&5
/tmp/ccgRmGPA.o:(.eh_frame+0x11): undefined reference to
`__gxx_personality_v0'
collect2: ld returned 1 exit status
configure:7280: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "LyX"
| #define PACKAGE_TARNAME "lyx"
| #define PACKAGE_VERSION "1.5.0beta1"
| #define PACKAGE_STRING "LyX 1.5.0beta1"
| #define PACKAGE_BUGREPORT "lyx-devel@lists.lyx.org"
| #define USE_POSIX_PACKAGING 1
| #define PACKAGE "lyx"
| #define HAVE_KPSEWHICH 1
| #define WORDS_BIGENDIAN 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define WITH_WARNINGS 1
| #define _GLIBCXX_CONCEPT_CHECKS 1
| #define HAVE_STD_COUNT 1
| #define STDC_HEADERS 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
| #define HAVE_OSTREAM 1
| #define HAVE_ISTREAM 1
| #define HAVE_SSTREAM 1
| #define HAVE_LOCALE 1
| #define HAVE_LIMITS 1
| #define HAVE_IOS 1
| #define MODERN_STL_STREAMS 1
| #define ENABLE_ASSERTIONS 1
| #define AIKSAURUS_H_LOCATION
| /* 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 (wchar_t)); }
| unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
|
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     exit (1);
|   if (((long) (sizeof (wchar_t))) < 0)
|     {
|       long i = longval ();
|       if (i != ((long) (sizeof (wchar_t))))
|     exit (1);
|       fprintf (f, "%ld\n", i);
|     }
|   else
|     {
|       unsigned long i = ulongval ();
|       if (i != ((long) (sizeof (wchar_t))))
|     exit (1);
|       fprintf (f, "%lu\n", i);
|     }
|   exit (ferror (f) || fclose (f) != 0);
|
|   ;
|   return 0;
| }
configure:7295: error: cannot compute sizeof (wchar_t), 77
See `config.log' for more details.

Reply via email to