Wai-Sun Chia wrote:

> Hello,
> Just downloaded the latest lyx-1.1.6pre3 and tried to compile it on my
> RH7 system. This is updated frequently from Rawhide. Specifically this
> system is running:
> 
> gcc-2.96-69
> glibc-2.2-9
> binutils-2.10.1.0.2-1
> libsigc++-1.0.1-1



gcc-2.96 is a development version of gcc and should not be used for real 
work. It is very strange that RH has decided to install this version of 
gcc. I think it is better to uninstall gcc-2.96 and install 2.95 
instead, which is the latest stable version of gcc. It also may solve 
your problem. We had exactly similar problems with RH. In fact, we could 
not compile anything, even the simplest programs. After installing an 
earlier version of gcc, all our problems disappeared.




> 
> My configure is:
> ./configure  --prefix=/usr --with-pspell
> 
> As I thought my system's libsigc has some problems, therefore I tried:
> ./configure  --prefix=/usr --with-pspell --without-included-libsigc
> 
> But I'm getting the same problem as before...
> 
> 
> make[3]: Entering directory
> `/data/redhat/BUILD/lyx-1.1.6pre3/src/mathed'
> /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
> -I../../src -I../../images -I./../ -I../.. -I../.. -I../../boost 
> -isystem /usr/X11R6/include  -g -O -fno-exceptions -W -Wall -c formula.C
> g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../..
> -I../.. -I../../boost -isystem /usr/X11R6/include -g -O -fno-exceptions
> -W -Wall -c formula.C -o formula.o
> In file included from ../../src/Lsstream.h:17,
>                  from formula.C:19:
> /usr/include/g++-3/sstream: In method `int stringbuf::sync ()':
> /usr/include/g++-3/sstream:171: warning: comparison between signed and
> unsigned integer expressions
> In file included from formula.C:30:
> ../../src/minibuffer.h: At top level:
> ../../src/minibuffer.h:17: using directive `Object' introduced 
> ambiguous type `_ObjectRec *'
> make[3]: *** [formula.lo] Error 1
> make[3]: Leaving directory `/data/redhat/BUILD/lyx-1.1.6pre3/src/mathed'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/data/redhat/BUILD/lyx-1.1.6pre3/src'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/data/redhat/BUILD/lyx-1.1.6pre3/src'
> make: *** [all-recursive] Error 1
> 
> Any clues?


-- 
Andre H. Juffer              | Phone: +358-8-553 1683
The Biocenter and            | Fax: +358-8-553-1141
     the Dep. of Biochemistry | Email: [EMAIL PROTECTED]
University of Oulu, Finland  | WWW: http://www.biochem.oulu.fi/research.html

Reply via email to