On Fri, 2002-11-08 at 00:23, Jean-Marc Lasgouttes wrote: > >>>>> "Ben" == Ben Stanley <[EMAIL PROTECTED]> writes: > > Ben> On Thu, 2002-11-07 at 01:15, Lars Gullik Bjønnes wrote: > >> Ben Stanley <[EMAIL PROTECTED]> writes: > >> > >> But I compile on RH-8.0 all the time and have no problems. > >> > > Ben> I just did a complete > > Ben> cvs checkout lyx-devel > > Ben> and then autogen.sh ./configure --with-frontend=qt > Ben> --prefix=/packages/lyx-1.3.0cvs make > > Ben> and the new src/config.h displays the same symptoms as before. > Ben> However, it now compiles and runs. > > Can you send your config.h? I cannot see anything strange in mine now > (and I used to). > > JMarc
strange things are: 1) does not define HAVE_STRERROR, but my system has it. 2) does not define HAVE_DECL_MKSTEMP, but my system has it. strange is that LyX compiles in this situation... Ben.
/* src/config.h. Generated by configure. */ /* src/config.h.in. Generated from configure.ac by autoheader. */ /* -*- C++ -*- */ /* This is the compilation configuration file for LyX. It was generated by autoconf's configure. You might want to change some of the defaults if something goes wrong during the compilation * This file is part of * ====================================================== * * LyX, the High Level Word Processor * * Copyright 1995 Matthias Ettrich * Copyright 1995-2001 The LyX Team. * *======================================================*/ #ifndef _CONFIG_H #define _CONFIG_H /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP systems. This function is required for `alloca.c' support on those systems. */ /* #undef CRAY_STACKSEG_END */ /* Define if your C++ compiler puts C library functions in the global namespace */ /* #undef CXX_GLOBAL_CSTD */ /* Define to 1 if using `alloca.c'. */ /* #undef C_ALLOCA */ /* Define if you are building a development version of LyX */ #define DEVEL_VERSION 1 /* Define if you want assertions to be enabled in the code */ #define ENABLE_ASSERTIONS 1 /* Define to 1 if translation of program messages to the user's native language is requested. */ #define ENABLE_NLS 1 /* define this to the location of forms.h to be used with #include, e.g. <forms.h> */ /* #undef FORMS_H_LOCATION */ /* Define to 1 if you have `alloca', as a function or macro. */ #define HAVE_ALLOCA 1 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). */ #define HAVE_ALLOCA_H 1 /* Define to 1 if you have the <argz.h> header file. */ #define HAVE_ARGZ_H 1 /* Define to 1 if you have the `dcgettext' function. */ #define HAVE_DCGETTEXT 1 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the <dlfcn.h> header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you have the `feof_unlocked' function. */ #define HAVE_FEOF_UNLOCKED 1 /* Define to 1 if you have the `fgets_unlocked' function. */ #define HAVE_FGETS_UNLOCKED 1 /* Define to 1 if you have the `flimage_enable_jpeg' function. */ /* #undef HAVE_FLIMAGE_ENABLE_JPEG */ /* Define to 1 if you have the `flimage_enable_ps' function. */ /* #undef HAVE_FLIMAGE_ENABLE_PS */ /* Define to 1 if you have the <flimage.h> header file. */ /* #undef HAVE_FLIMAGE_H */ /* Define to 1 if you have the `getcwd' function. */ #define HAVE_GETCWD 1 /* Define to 1 if you have the `getegid' function. */ #define HAVE_GETEGID 1 /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgid' function. */ #define HAVE_GETGID 1 /* Define to 1 if you have the `getpagesize' function. */ #define HAVE_GETPAGESIZE 1 /* Define if the GNU gettext() function is already present or preinstalled. */ #define HAVE_GETTEXT 1 /* Define to 1 if you have the `getuid' function. */ #define HAVE_GETUID 1 /* Define if you have the iconv() function. */ #define HAVE_ICONV 1 /* Define to 1 if you have the <inttypes.h> header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the <istream> header file. */ #define HAVE_ISTREAM 1 /* Define this if you have the kpsewhich program working on your system. */ #define HAVE_KPSEWHICH 1 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ #define HAVE_LANGINFO_CODESET 1 /* Define if your <locale.h> file defines LC_MESSAGES. */ #define HAVE_LC_MESSAGES 1 /* Define this if you have the AikSaurus library */ /* #undef HAVE_LIBAIKSAURUS */ /* Define to 1 if you have the `c' library (-lc). */ #define HAVE_LIBC 1 /* Define to 1 if you have the `m' library (-lm). */ #define HAVE_LIBM 1 /* Define to 1 if you have the <limits> header file. */ #define HAVE_LIMITS 1 /* Define to 1 if you have the <limits.h> header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the <locale> header file. */ #define HAVE_LOCALE 1 /* Define to 1 if you have the <locale.h> header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the <malloc.h> header file. */ #define HAVE_MALLOC_H 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the <memory.h> header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mempcpy' function. */ #define HAVE_MEMPCPY 1 /* Define to 1 if you have the `memset' function. */ #define HAVE_MEMSET 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the `mktemp' function. */ #define HAVE_MKTEMP 1 /* Define to 1 if you have a working `mmap' system call. */ #define HAVE_MMAP 1 /* Define to 1 if you have the `munmap' function. */ #define HAVE_MUNMAP 1 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the <nl_types.h> header file. */ #define HAVE_NL_TYPES_H 1 /* Define to 1 if you have the <ostream> header file. */ #define HAVE_OSTREAM 1 /* Define to 1 if you have the `putenv' function. */ #define HAVE_PUTENV 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `snprintf' function. */ #define HAVE_SNPRINTF 1 /* Define to 1 if you have the <sstream> header file. */ #define HAVE_SSTREAM 1 /* Define to 1 if you have the <stddef.h> header file. */ #define HAVE_STDDEF_H 1 /* Define to 1 if you have the <stdint.h> header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the <stdlib.h> header file. */ #define HAVE_STDLIB_H 1 /* Define if you have a conforming std::count template, otherwise HP version of count template is assumed. */ #define HAVE_STD_COUNT 1 /* Define to 1 if you have the `stpcpy' function. */ #define HAVE_STPCPY 1 /* Define to 1 if you have the `strcasecmp' function. */ #define HAVE_STRCASECMP 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the <strings.h> header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the <string.h> header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strtoul' function. */ #define HAVE_STRTOUL 1 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the <sys/param.h> header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the <sys/select.h> header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the <sys/stat.h> header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the <sys/time.h> header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the <sys/types.h> header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the `tsearch' function. */ #define HAVE_TSEARCH 1 /* Define to 1 if you have the <unistd.h> header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `vsnprintf' function. */ #define HAVE_VSNPRINTF 1 /* Define to 1 if you have the <X11/flimage.h> header file. */ /* #undef HAVE_X11_FLIMAGE_H */ /* Define to 1 if you have the `XOpenIM' function. */ #define HAVE_XOPENIM 1 /* Define to 1 if you have the `__argz_count' function. */ #define HAVE___ARGZ_COUNT 1 /* Define to 1 if you have the `__argz_next' function. */ #define HAVE___ARGZ_NEXT 1 /* Define to 1 if you have the `__argz_stringify' function. */ #define HAVE___ARGZ_STRINGIFY 1 /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>. */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in <sysmacros.h>. */ /* #undef MAJOR_IN_SYSMACROS */ /* Define if you have modern standard-compliant STL streams */ #define MODERN_STL_STREAMS 1 /* Name of package */ #define PACKAGE "lyx" /* Define to the address where bug reports for this package should be sent. */ #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]" /* Define to the full name of this package. */ #define PACKAGE_NAME "lyx" /* Define to the full name and version of this package. */ #define PACKAGE_STRING "lyx 1.3.0cvs" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "lyx" /* Define to the version of this package. */ #define PACKAGE_VERSION "1.3.0cvs" /* Define to the type of the argument of putenv(). Needed on Solaris 7. */ #define PUTENV_TYPE_ARG char * /* Define as the return type of signal handlers (`int' or `void'). */ #define RETSIGTYPE void /* Define to the type of arg1 for select(). */ #define SELECT_TYPE_ARG1 int /* Define to the type of args 2, 3 and 4 for select(). */ #define SELECT_TYPE_ARG234 (fd_set *) /* Define to the type of arg5 for select(). */ #define SELECT_TYPE_ARG5 (struct timeval *) /* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at run-time. STACK_DIRECTION > 0 => grows toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses STACK_DIRECTION = 0 => direction of growth unknown */ /* #undef STACK_DIRECTION */ /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ /* #undef STAT_MACROS_BROKEN */ /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* Define if the systems std::string is really good. */ #define STD_STRING_IS_GOOD 1 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ #define TIME_WITH_SYS_TIME 1 /* Define to use the lyxstring class bundled with LyX. */ /* #undef USE_INCLUDED_STRING */ /* Define as 1 to use the pspell library */ /* #undef USE_PSPELL */ /* Define if you want to use xforms built-in image loader */ /* #undef USE_XFORMS_IMAGE_LOADER */ /* Version number of package */ #define VERSION "1.3.0cvs" /* Define this if you want to see the warning directives put here and there by the developpers to get attention */ #define WITH_WARNINGS 1 /* define this to the location of xpm.h to be used with #include, e.g. <xpm.h> */ /* #undef XPM_H_LOCATION */ /* Define to 1 if the X Window System is missing or not being used. */ /* #undef X_DISPLAY_MISSING */ /* Define to 1 if on AIX 3. System headers sometimes define this. We just want to avoid a redefinition error message. */ #ifndef _ALL_SOURCE /* # undef _ALL_SOURCE */ #endif /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to nothing if your compiler does not understand the 'explicit' directive */ /* #undef explicit */ /* Define to `int' if <sys/types.h> doesn't define. */ /* #undef gid_t */ /* Define as `__inline' if that's what the C compiler calls it, or to nothing if it is not supported. */ /* #undef inline */ /* Define to `int' if <sys/types.h> does not define. */ /* #undef mode_t */ /* Define to `long' if <sys/types.h> does not define. */ /* #undef off_t */ /* Define to `int' if <sys/types.h> does not define. */ /* #undef pid_t */ /* Define to `unsigned' if <sys/types.h> does not define. */ /* #undef size_t */ /* Define to `int' if <sys/types.h> doesn't define. */ /* #undef uid_t */ /************************************************************ ** You should not need to change anything beyond this point */ #ifndef HAVE_STRCHR # define strchr(a,b) index(a,b) #endif #ifndef HAVE_MEMMOVE # define memmove(a,b,c) bcopy(b,a,c) #endif #ifndef HAVE_STRERROR #if defined(__cplusplus) extern "C" #endif char * strerror(int n); #endif #ifdef BROKEN_HEADERS #include "broken_headers.h" #endif #ifdef HAVE_MKSTEMP #ifndef HAVE_DECL_MKSTEMP #if defined(__cplusplus) extern "C" #endif int mkstemp(char*); #endif #endif #ifdef __EMX__ #include "support/os2_defines.h" #endif #if defined(__CYGWIN__) || defined(__CYGWIN32__) #include "support/nt_defines.h" #endif #endif