Dear André,

today I tried to compile lyx on Solaris with Sun's CC.
I know that Lars doesn't like old and broken compilers,
that's why I gave the newly installed version of Sun's
CC a try. But I cannot decide if I got stuck because
of a compiler (mis)feature or if it is another problem.

Anyway, I'll give the details.

1. Download lyx-1.2.0pre4.tar.gz
2. Install bxform-089.tgz from ftp.lyx.org
3. Run configure with
    CC=cc CXX=CC LD_LIBRARY_PATH=/usr/local/lib:/usr/openwin/lib ./configure \
       --x-includes=/usr/openwin/include --x-libraries=/usr/openwin/lib

Configuration
   Host type:                      sparc-sun-solaris2.7
   Special build flags:            assertions included-libsigc forms-image-loader
   C   Compiler:                   cc
   C   Compiler flags:             -g
   C++ Compiler:                   CC
   C++ Compiler flags:             -g
   Linker flags:
   Frontend:                       xforms
     libXpm version:               4.10
     libforms version:             0.89.6
   LyX binary dir:                 /usr/local/bin
   LyX files dir:                  /usr/local/share/lyx

4. make
    Fails with:
make[3]: Entering directory `/home/witt/netsrc/lyx-1.2.0pre4/src/mathed'
source='math_arrayinset.C' object='math_arrayinset.lo' libtool=yes \
depfile='.deps/math_arrayinset.Plo' tmpdepfile='.deps/math_arrayinset.TPlo' \
depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --mode=compile CC -DHAVE_CONFIG_H -I. -I. -I../../src 
-I./../ -I../.. -I../../boost  -I/usr/openwin/include  -g -c -o 
math_arrayinset.lo `test -f math_arrayinset.C || echo './'`math_arrayinset.C
CC -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../.. -I../../boost 
-I/usr/openwin/include -g -c math_arrayinset.C
"math_arrayinset.C", line 48: Error: Could not find a match for 
std::vector<std::basic_string<char, std::char_traits<char>, 
std::allocator<char>>, std::allocator<std::basic_string<char, 
std::char_traits<char>, 
std::allocator<char>>>>::vector(std::istream_iterator<std::basic_string<char, 
std::char_traits<char>, std::allocator<char>>, char, std::char_traits<char>, 
int>, std::istream_iterator<std::basic_string<char, std::char_traits<char>, 
std::allocator<char>>, char, std::char_traits<char>, int>).
1 Error(s) detected.

I'm unable to interpret this error.

I'll attach the compressed config.log.

Kind  regards,

Stephan

------------------------------------------------
<[EMAIL PROTECTED]> | beusen Solutions GmbH
fon: +49 30 549932-426   | Landsberger Allee 366
fax: +49 30 549932-921   | 12681 Berlin, Germany
------------------------------------------------

Attachment: config.log.gz
Description: Binary data

Reply via email to