Hi!

I've successfully compiled LyX version 1.1.6 on RedHat Linux 7.0.
However, in order to compile, I needed to change something very
simple in a number of header files:

The problem is, with XFree86 version 4.0.1 (which is the XFree86 that
comes with RedHat 7.0) comes a file, /usr/X11R6/include/X11/Object.h,
which contains the following declaration:

typedef struct _ObjectRec *Object;

This conflicts with the usage of sigc++'s Object, and gcc complains
with an error that

"using directive `Object' introduced ambiguous type `_ObjectRec *'".

This is because, in a number of files, you both indirectly include the
Object.h file from XFree86 4.0.1, and dump the SigC::Object namespace
into the global namespace, e.g.:

#ifdef SIGC_CXX_NAMESPACES
using SigC::Object;
#endif

In order to overcome this problem, which appears to be a namespace
conflict with XFree86 4.0.1, I simply removed the "using
SigC::Object;" declaration in a number of files.  I also qualified the
usage of the class-name Object with the SigC namespace in the same
files, so that it became SigC::Object instead of just Object.  This
totally removed the problem, and as I said, I was able to compile
successfully.

The files I had to change were:

./src/BufferView_pimpl.h
./src/LyXView.h
./src/filedlg.h
./src/intl.h
./src/lyxfr0.h
./src/minibuffer.h
./src/insets/figinset.h
./src/insets/insetexternal.h
./src/insets/insetgraphics.h
./src/frontends/DialogBase.h


I hope this is information sufficient.  If not, please contact me at
[EMAIL PROTECTED] for further information.


Regards,

Ulrik Petersen
[EMAIL PROTECTED]


Other details:

- uname -a information
- config.log



My uname -a information:

Linux isaiah.get2net.dk 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 unknown


My config.log:

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

configure:707: checking host system type
configure:728: checking target system type
configure:746: checking build system type
configure:771: checking config.cache system type
configure:809: checking for a BSD compatible install
configure:862: checking whether build environment is sane
configure:919: checking whether make sets ${MAKE}
configure:965: checking for working aclocal
configure:978: checking for working autoconf
configure:991: checking for working automake
configure:1004: checking for working autoheader
configure:1017: checking for working makeinfo
configure:1040: checking for lyx
configure:1089: checking whether make sets ${MAKE}
configure:1127: checking for a BSD compatible install
configure:1183: checking for kpsewhich
configure:1227: checking for gcc
configure:1340: checking whether the C compiler (gcc  ) works
configure:1356: gcc -o conftest    conftest.c  1>&5
configure:1382: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1387: checking whether we are using GNU C
configure:1396: gcc -E conftest.c
configure:1415: checking whether gcc accepts -g
configure:1449: checking for POSIXized ISC
configure:1470: checking how to run the C preprocessor
configure:1491: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1550: checking for AIX
configure:1575: checking for HP-UX
configure:1591: checking for SunOS 4.x
configure:1606: checking for SCO 3.2v4
configure:1632: checking for Cygwin environment
configure:1648: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:1644: `__CYGWIN32__' undeclared (first use in this function)
configure:1644: (Each undeclared identifier is reported only once
configure:1644: for each function it appears in.)
configure: failed program was:
#line 1637 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1665: checking for mingw32 environment
configure:1677: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:1673: `__MINGW32__' undeclared (first use in this function)
configure:1673: (Each undeclared identifier is reported only once
configure:1673: for each function it appears in.)
configure: failed program was:
#line 1670 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1696: checking for executable suffix
configure:1706: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1729: checking what frontend should be used as main GUI
configure:2712: checking for a working C++ compiler
configure:2748: g++ -o conftest    conftest.C  1>&5
configure:2786: checking whether the C++ compiler (g++  ) is a cross-compiler
configure:2790: checking whether we are using GNU C++
configure:2799: g++ -E conftest.C
configure:2844: checking whether g++ accepts -g
configure:2897: checking how to run the C++ preprocessor
configure:2915: g++ -E  conftest.C >/dev/null 2>conftest.out
configure:3012: checking for ranlib
configure:3051: checking for ld used by GCC
configure:3113: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld version 2.10.90 (with BFD 2.10.0.18)
configure:3129: checking for BSD-compatible nm
configure:3165: 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.10.90 (with BFD 2.10.0.18)
ltconfig:1635: checking if global_symbol_pipe works
ltconfig:1636: gcc -c -g -O2  conftest.c 1>&5
ltconfig:1639: eval "/usr/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:1691: gcc -o conftest -g -O2 -fno-builtin -fno-rtti 
-fno-exceptions   conftest.c conftstm.o 1>&5
configure:3563: checking if C++ compiler supports mutable
configure:3583: g++ -c -g -O2 -fno-exceptions  conftest.C 1>&5
configure:3611: checking if C++ compiler supports partial specialization
configure:3632: g++ -c -g -O2 -fno-exceptions  conftest.C 1>&5
configure:3659: checking whether the C++ compiler understands explicit
configure:3675: g++ -c -g -O2 -fno-exceptions  conftest.C 1>&5
configure:3698: checking whether the included std::string should be used
configure:3705: checking
configure:3734: g++ -c -g -O2 -fno-exceptions  conftest.C 1>&5
configure:3775: checking whether the systems std::string is really good
configure:3803: g++ -c -g -O2 -fno-exceptions  conftest.C 1>&5
configure: In function `int main ()':
configure:3796: no matching function for call to `basic_string<char,
string_char_traits<char>, __default_alloc_template<true, 0> >::compare
(unsigned int, int, char[2])'
/usr/include/g++-3/std/bastring.cc:398: candidates are: int
basic_string<charT, traits, Allocator>::compare (const
basic_string<charT, traits, Allocator> &, unsigned int = 0, unsigned
int = basic_string<charT, traits, Allocator>::npos) const [with charT =
char, traits = string_char_traits<char>, Allocator =
__default_alloc_template<true, 0>]
/usr/include/g++-3/std/bastring.cc:417:                 int
basic_string<charT, traits, Allocator>::compare (const charT *,
unsigned int, unsigned int) const [with charT = char, traits =
string_char_traits<char>, Allocator = __default_alloc_template<true,
0>]
/usr/include/g++-3/std/bastring.h:402:                 int
basic_string<charT, traits, Allocator>::compare (const charT *,
unsigned int = 0) const [with charT = char, traits =
string_char_traits<char>, Allocator = __default_alloc_template<true,
0>]
configure:3798: no matching function for call to `basic_string<char,
string_char_traits<char>, __default_alloc_template<true, 0> >::clear
()'
configure: failed program was:
#line 3780 "configure"
#include "confdefs.h"

            #include <string>
            using std::string;
        
int main() {

            // From a std::string that is supposed to be close to the
            // standard we require at least three things:
            // - clear() and erase()
            // - the strncmp of compare()
            // - push_back()
            string a("hello there");
            a.erase();
            a = "hey";
            char s[] = "y";
            int t = a.compare(a.length() - 1, 1, s);
            a.push_back('g');
            a.clear();
        
; return 0; }
configure:3831: checking for correct namespaces support
configure:3850: g++ -c -g -O2 -fno-exceptions  conftest.C 1>&5
configure:3873: checking for C headers wrappers
configure:3892: g++ -E  conftest.C >/dev/null 2>conftest.out
configure:3913: checking whether C library functions are already in the 
global namespace
configure:3930: g++ -c -g -O2 -fno-exceptions  conftest.C 1>&5
configure:3952: checking for conforming std::count
configure:3974: g++ -c -g -O2 -fno-exceptions  conftest.C 1>&5
configure:3998: checking for ostream
configure:4008: g++ -E  conftest.C >/dev/null 2>conftest.out
configure:4004:19: ostream: No such file or directory
configure: failed program was:
#line 4003 "configure"
#include "confdefs.h"
#include <ostream>
configure:3998: checking for istream
configure:4008: g++ -E  conftest.C >/dev/null 2>conftest.out
configure:4004:19: istream: No such file or directory
configure: failed program was:
#line 4003 "configure"
#include "confdefs.h"
#include <istream>
configure:3998: checking for sstream
configure:4008: g++ -E  conftest.C >/dev/null 2>conftest.out
configure:3998: checking for locale
configure:4008: g++ -E  conftest.C >/dev/null 2>conftest.out
configure:4004:18: locale: No such file or directory
configure: failed program was:
#line 4003 "configure"
#include "confdefs.h"
#include <locale>
configure:4036: checking for modern STL streams
configure:4053: g++ -c -g -O2 -fno-exceptions  conftest.C 1>&5
configure: In function `int main ()':
configure:4048: no matching function for call to `streambuf::pubsync
()'
configure: failed program was:
#line 4041 "configure"
#include "confdefs.h"

#include <iostream>

int main() {

  std::streambuf * test = std::cerr.rdbuf();
  test->pubsync();

; return 0; }
configure:4080: checking for regex.h
configure:4090: g++ -E  conftest.C >/dev/null 2>conftest.out
configure:4130: checking for sin in -lm
configure:4152: g++ -o conftest -g -O2 -fno-exceptions   conftest.C -lm   1>&5
configure:4145: warning: new declaration `char sin ()'
configure:4145: warning: ambiguates built-in declaration `double sin
(double)'
configure:4180: checking for fopen in -lc
configure:4202: g++ -o conftest -g -O2 -fno-exceptions   conftest.C 
-lc  -lm  1>&5
configure:4239: checking for extra library directory
configure:4282: checking for extra include directory
configure:4316: checking for extra lib+include directory
configure:4362: checking for main in -liberty
configure:4377: g++ -o conftest -g -O2 -fno-exceptions   conftest.C 
-liberty  -lc -lm  1>&5
configure:4408: checking whether the included libsigc++ should be used
configure:4690: checking for pspell support
configure:4784: checking for ptsname in -lpt
configure:4806: g++ -o conftest -g -O2 -fno-exceptions   conftest.C 
-lpt  -liberty -lc -lm  1>&5
/usr/bin/ld: cannot find -lpt
collect2: ld returned 1 exit status
configure: failed program was:
#line 4792 "configure"
#include "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 ptsname();

int main() {
ptsname()
; return 0; }
configure:4832: checking for X
configure:5146: checking for dnet_ntoa in -ldnet
configure:5168: g++ -o conftest -g -O2 -fno-exceptions   conftest.C 
-ldnet  -liberty -lc -lm  1>&5
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 5154 "configure"
#include "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 dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:5190: checking for dnet_ntoa in -ldnet_stub
configure:5212: g++ -o conftest -g -O2 -fno-exceptions   conftest.C 
-ldnet_stub  -liberty -lc -lm  1>&5
/usr/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 5198 "configure"
#include "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 dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:5241: checking for gethostbyname
configure:5272: g++ -o conftest -g -O2 -fno-exceptions   conftest.C 
-liberty -lc -lm  1>&5
configure:5345: checking for connect
configure:5376: g++ -o conftest -g -O2 -fno-exceptions   conftest.C 
-liberty -lc -lm  1>&5
configure:5443: checking for remove
configure:5474: g++ -o conftest -g -O2 -fno-exceptions   conftest.C 
-liberty -lc -lm  1>&5
configure:5541: checking for shmat
configure:5572: g++ -o conftest -g -O2 -fno-exceptions   conftest.C 
-liberty -lc -lm  1>&5
configure:5648: checking for IceConnectionNumber in -lICE
configure:5670: g++ -o conftest -g -O2 -fno-exceptions   -L/usr/X11R6/lib 
conftest.C -lICE  -liberty -lc -lm  1>&5
configure:5709: checking for XOpenIM
configure:5740: g++ -o conftest -g -O2 -fno-exceptions  -isystem 
/usr/X11R6/include  conftest.C  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:7999: checking for XpmCreateBufferFromImage in -lXpm
configure:8021: g++ -o conftest -g -O2 -fno-exceptions  -isystem 
/usr/X11R6/include  conftest.C -lXpm   -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:8052: checking for X11/xpm.h
configure:8062: g++ -E  -isystem /usr/X11R6/include conftest.C >/dev/null 
2>conftest.out
configure:8134: checking xpm header version
configure:8177: checking for fl_initialize in -lforms
configure:8199: g++ -o conftest -g -O2 -fno-exceptions  -isystem 
/usr/X11R6/include  conftest.C -lforms -lXpm   -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:8273: checking for X11/forms.h
configure:8283: g++ -E  -isystem /usr/X11R6/include conftest.C >/dev/null 
2>conftest.out
configure:8279:23: X11/forms.h: No such file or directory
configure: failed program was:
#line 8278 "configure"
#include "confdefs.h"
#include <X11/forms.h>
configure:8307: checking for forms.h
configure:8317: g++ -E  -isystem /usr/X11R6/include conftest.C >/dev/null 
2>conftest.out
configure:8354: checking xforms header version
configure:8421: checking for working const
configure:8475: gcc -c -g -O2  -isystem /usr/X11R6/include conftest.c 1>&5
configure:8496: checking for inline
configure:8510: gcc -c -g -O2  -isystem /usr/X11R6/include conftest.c 1>&5
configure:8537: checking for ANSI C header files
configure:8550: gcc -E  -isystem /usr/X11R6/include conftest.c >/dev/null 
2>conftest.out
configure:8617: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:8641: checking for off_t
configure:8674: checking for size_t
configure:8709: checking for working alloca.h
configure:8721: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:8742: checking for alloca
configure:8775: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:8944: checking for unistd.h
configure:8954: gcc -E  -isystem /usr/X11R6/include conftest.c >/dev/null 
2>conftest.out
configure:8983: checking for getpagesize
configure:9011: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:9036: checking for working mmap
configure:9184: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:9212: checking for argz.h
configure:9222: gcc -E  -isystem /usr/X11R6/include conftest.c >/dev/null 
2>conftest.out
configure:9212: checking for limits.h
configure:9222: gcc -E  -isystem /usr/X11R6/include conftest.c >/dev/null 
2>conftest.out
configure:9212: checking for locale.h
configure:9222: gcc -E  -isystem /usr/X11R6/include conftest.c >/dev/null 
2>conftest.out
configure:9212: checking for nl_types.h
configure:9222: gcc -E  -isystem /usr/X11R6/include conftest.c >/dev/null 
2>conftest.out
configure:9212: checking for malloc.h
configure:9222: gcc -E  -isystem /usr/X11R6/include conftest.c >/dev/null 
2>conftest.out
configure:9212: checking for string.h
configure:9222: gcc -E  -isystem /usr/X11R6/include conftest.c >/dev/null 
2>conftest.out
configure:9212: checking for unistd.h
configure:9212: checking for sys/param.h
configure:9222: gcc -E  -isystem /usr/X11R6/include conftest.c >/dev/null 
2>conftest.out
configure:9252: checking for getcwd
configure:9280: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:9252: checking for munmap
configure:9280: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:9252: checking for putenv
configure:9280: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:9252: checking for setenv
configure:9280: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:9252: checking for setlocale
configure:9280: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:9252: checking for strchr
configure:9280: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:9252: checking for strcasecmp
configure:9280: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:9252: checking for strdup
configure:9280: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:9252: checking for __argz_count
configure:9280: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:9252: checking for __argz_stringify
configure:9280: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:9252: checking for __argz_next
configure:9280: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:9309: checking for stpcpy
configure:9337: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:9371: checking for LC_MESSAGES
configure:9383: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:9404: checking whether NLS is requested
configure:9424: checking whether included gettext is requested
configure:9443: checking for libintl.h
configure:9453: gcc -E  -isystem /usr/X11R6/include conftest.c >/dev/null 
2>conftest.out
configure:9470: checking for gettext in libc
configure:9482: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:9597: checking for msgfmt
configure:9631: checking for dcgettext
configure:9659: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:9686: checking for gmsgfmt
configure:9722: checking for xgettext
configure:9762: gcc -o conftest -g -O2  -isystem 
/usr/X11R6/include  conftest.c  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:10220: checking for catalogs to be installed
configure:10344: checking for dirent.h that defines DIR
configure:10357: g++ -c -g -O2 -fno-exceptions  -isystem /usr/X11R6/include 
conftest.C 1>&5
configure:10382: checking for opendir in -ldir
configure:10404: g++ -o conftest -g -O2 -fno-exceptions  -isystem 
/usr/X11R6/include  conftest.C -ldir   -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
/usr/bin/ld: cannot find -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 10390 "configure"
#include "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 opendir();

int main() {
opendir()
; return 0; }
configure:10471: checking whether sys/types.h defines makedev
configure:10483: g++ -o conftest -g -O2 -fno-exceptions  -isystem 
/usr/X11R6/include  conftest.C  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:10580: checking for sys/time.h
configure:10590: g++ -E  -isystem /usr/X11R6/include conftest.C >/dev/null 
2>conftest.out
configure:10580: checking for sys/types.h
configure:10590: g++ -E  -isystem /usr/X11R6/include conftest.C >/dev/null 
2>conftest.out
configure:10580: checking for sys/select.h
configure:10590: g++ -E  -isystem /usr/X11R6/include conftest.C >/dev/null 
2>conftest.out
configure:10580: checking for strings.h
configure:10590: g++ -E  -isystem /usr/X11R6/include conftest.C >/dev/null 
2>conftest.out
configure:10621: checking for stl_string_fwd.h
configure:10631: g++ -E  -isystem /usr/X11R6/include conftest.C >/dev/null 
2>conftest.out
configure:10627:28: stl_string_fwd.h: No such file or directory
configure: failed program was:
#line 10626 "configure"
#include "confdefs.h"
#include <stl_string_fwd.h>
configure:10678: checking whether stat file-mode macros are broken
configure:10734: checking whether time.h and sys/time.h may both be included
configure:10748: g++ -c -g -O2 -fno-exceptions  -isystem /usr/X11R6/include 
conftest.C 1>&5
configure:10769: checking for st_blksize in struct stat
configure:10782: g++ -c -g -O2 -fno-exceptions  -isystem /usr/X11R6/include 
conftest.C 1>&5
configure:10803: checking for st_blocks in struct stat
configure:10816: g++ -c -g -O2 -fno-exceptions  -isystem /usr/X11R6/include 
conftest.C 1>&5
configure:10839: checking for st_rdev in struct stat
configure:10852: g++ -c -g -O2 -fno-exceptions  -isystem /usr/X11R6/include 
conftest.C 1>&5
configure:10875: checking for mode_t
configure:10908: checking for off_t
configure:10941: checking for pid_t
configure:10974: checking return type of signal handlers
configure:10996: g++ -c -g -O2 -fno-exceptions  -isystem /usr/X11R6/include 
conftest.C 1>&5
configure:11015: checking for size_t
configure:11048: checking for uid_t in sys/types.h
configure:11099: checking for memmove
configure:11130: g++ -o conftest -g -O2 -fno-exceptions  -isystem 
/usr/X11R6/include  conftest.C  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:11099: checking for memset
configure:11130: g++ -o conftest -g -O2 -fno-exceptions  -isystem 
/usr/X11R6/include  conftest.C  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:11114: warning: new declaration `char memset ()'
configure:11114: warning: ambiguates built-in declaration `void *memset
(void *, int, unsigned int)'
configure:11099: checking for strchr
configure:11099: checking for putenv
configure:11099: checking for setenv
configure:11099: checking for mkfifo
configure:11130: g++ -o conftest -g -O2 -fno-exceptions  -isystem 
/usr/X11R6/include  conftest.C  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:11099: checking for snprintf
configure:11130: g++ -o conftest -g -O2 -fno-exceptions  -isystem 
/usr/X11R6/include  conftest.C  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:11099: checking for vsnprintf
configure:11130: g++ -o conftest -g -O2 -fno-exceptions  -isystem 
/usr/X11R6/include  conftest.C  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:11157: checking for mkstemp
configure:11188: g++ -o conftest -g -O2 -fno-exceptions  -isystem 
/usr/X11R6/include  conftest.C  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:11157: checking for mktemp
configure:11188: g++ -o conftest -g -O2 -fno-exceptions  -isystem 
/usr/X11R6/include  conftest.C  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
/tmp/ccr7rtKb.o: In function `main':
/root/lyx-1.1.6/configure:11182: the use of `mktemp' is dangerous, better 
use `mkstemp'
configure:11214: checking types of arguments for select()
configure:11246: g++ -c -g -O2 -fno-exceptions  -isystem /usr/X11R6/include 
conftest.C 1>&5
configure:11286: checking type of argument for putenv()
configure:11299: g++ -c -g -O2 -fno-exceptions  -isystem /usr/X11R6/include 
conftest.C 1>&5
configure: In function `int main ()':
configure:11295: cannot convert `const char *' to `char *' for argument
`1' to `putenv (char *)'
configure: failed program was:
#line 11291 "configure"
#include "confdefs.h"
#include <cstdlib>
int main() {
char const * foo = "bar";
  putenv(foo);
; return 0; }
configure:11321: checking for strerror
configure:11352: g++ -o conftest -g -O2 -fno-exceptions  -isystem 
/usr/X11R6/include  conftest.C  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:11321: checking for atexit
configure:11352: g++ -o conftest -g -O2 -fno-exceptions  -isystem 
/usr/X11R6/include  conftest.C  -lSM -lICE -liberty -lc 
-lm   -L/usr/X11R6/lib -lX11  1>&5
configure:11384: checking if mkstemp is declared by header unistd.h
configure:11384: checking if mkstemp is declared by header stdlib.h

Reply via email to