Hi,

I've tried to compile 1.1.6fix3, but had an error...

Here are some informations about my system:
 SunOS tiramisu 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-5_10
 gcc version 2.8.1 
 GNU ld version 2.9.1 (with BFD 2.9.1)
 
Here is the end of the "./configure --with-version-suffix
--prefix=/udd/degrenie/pub" (after a "setenv LINGUAS 'fr'")

[...]
Configuration:
  Source code location:       .
  C++ Compiler:                   g++
  C++ Compiler flags:             -g -O2 -fno-rtti -fno-exceptions
  C   Compiler:                   gcc
  C   Compiler flags:             -g -O2
  LyX binary dir:             /udd/degrenie/pub/bin
  LyX files dir:              /udd/degrenie/pub/share/lyx-1.1.6fix3
  Special flags:               frontend-xforms included-libsigc

Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.

...and here is the output of the make:

Making all in intl
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/intl'
Making all in po
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/po'
Making all in sigc++
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
make  all-recursive
make[2]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
Making all in macros
make[3]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++/macros'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++/macros'
make[3]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..    -g -O2 -c object.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c object.cc -o
object.o
echo timestamp > object.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..    -g -O2 -c scope.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c scope.cc -o
scope.o
echo timestamp > scope.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..    -g -O2 -c marshal.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c marshal.cc -o
marshal.o
echo timestamp > marshal.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..    -g -O2 -c slot.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c slot.cc -o
slot.o
echo timestamp > slot.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..    -g -O2 -c basic_signal.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c basic_signal.cc
-o basic_signal.o
echo timestamp > basic_signal.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..    -g -O2 -c adaptor.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c adaptor.cc -o
adaptor.o
echo timestamp > adaptor.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..
-I./..    -g -O2 -c thread.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I./.. -g -O2 -c thread.cc -o
thread.o
echo timestamp > thread.lo
/bin/sh ./libtool --mode=link c++  -g -O2  -o libsigc.la  -no-undefined
object.lo scope.lo marshal.lo slot.lo basic_signal.lo adaptor.lo
thread.lo  
mkdir .libs
ar cru .libs/libsigc.a  object.o scope.o marshal.o slot.o basic_signal.o
adaptor.o thread.o 
ranlib .libs/libsigc.a
creating libsigc.la
(cd .libs && rm -f libsigc.la && ln -s ../libsigc.la libsigc.la)
make[3]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
make[2]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
make[1]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/sigc++'
Making all in boost
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/boost'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/boost'
Making all in src
make[1]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/src'
make  all-recursive
make[2]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/src'
Making all in mathed
make[3]: Entering directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/src/mathed'
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../../src -I../../images -I./../ -I../.. -I../.. -I../../boost 
-isystem /usr/local/X11R5/include  -g -O2 -fno-rtti -fno-exceptions -c
formula.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../..
-I../.. -I../../boost -isystem /usr/local/X11R5/include -g -O2 -fno-rtti
-fno-exceptions -c formula.C -o formula.o
array.h: In method `void LyxArrayBase::Init()':
In file included from math_defs.h:32,
                 from math_iter.h:27,
                 from math_cursor.h:26,
                 from formula.C:26:
array.h:112: parse error before `using'
array.h: In method `void LyxArrayBase::Resize(int)':
array.h:122: parse error before `using'
array.h: In method `LyxArrayBase::LyxArrayBase(const class LyxArrayBase
&)':
array.h:154: parse error before `using'
array.h: In method `class LyxArrayBase & LyxArrayBase::operator =(const
class LyxArrayBase &)':
array.h:166: parse error before `using'
array.h: In method `bool LyxArrayBase::Move(int, int)':
array.h:179: parse error before `using'
array.h: In method `void LyxArrayBase::Merge(class LyxArrayBase *, int,
int)':
array.h:210: parse error before `using'
array.h: In method `void LyxArrayBase::MergeF(class LyxArrayBase *, int,
int)':
array.h:220: parse error before `using'
array.h: In method `void LyxArrayBase::Copy(void *, int, int)':
array.h:229: parse error before `using'
make[3]: *** [formula.lo] Error 1
make[3]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/src/mathed'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory
`/udd/degrenie/download/install/lyx-1.1.6fix3/src'
make: *** [all-recursive] Error 1

I know there are many other versions of gcc installed here, maybe
another one will work. But I hadn't any problem a few month ago with
1.1.6fix2 compilation, in the same environment. Any ideas? 

Thanks,


Thomas.

Reply via email to