Hello,

good news first: compilation of LyX 1.2.0pre5 works fine
on Solaris (Sparc) 2.6 w/ gcc 3.0.4. Thanks for that.
For a wider audience, 1.2.0pre5 should also be added to
ftp://ftp.lyx.org/pub/lyx/devel/ , shouldn't it?

Now for the compile problems on other platforms:

1) Tru64 Unix 4.0D on Alpha w/ gcc 2.95.3:
------------------------------------------
Alpha cpu support is missing in boost/boost/detail/limits.hpp,
so I changed line 43 to:

#elif defined(__i386__) || defined(__alpha__)

Later compilation fails on src/DepTable.C:

gmake[3]: Entering directory `/tmp_mnt/net/hmi/dta/build/osf/lyx-1.2.0pre5/src'
source='DepTable.C' object='DepTable.o' libtool=no \
depfile='.deps/DepTable.Po' tmpdepfile='.deps/DepTable.TPo' \
depmode=gcc /bin/ksh ../config/depcomp \
/net/bin/g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I../boost   -I/net/usr/include 
-I/net/usr/include    -I/net/usr/include  -W -Wall -c -o DepTable.o `test -f 
DepTable.C || echo './'`DepTable.C
DepTable.C: In method `void DepTable::update()':
DepTable.C:76: implicit declaration of function `int time(...)'
gmake[3]: *** [DepTable.o] Error 1
gmake[3]: Leaving directory `/tmp_mnt/net/hmi/dta/build/osf/lyx-1.2.0pre5/src'

The configure line was:

env CC=/net/bin/gcc CXX=/net/bin/g++ CPPFLAGS=-I/net/usr/include \
   CFLAGS=-I/net/usr/include CXXFLAGS=-I/net/usr/include \
   LDFLAGS=-L/net/usr/lib \
   ./configure  --prefix=/net/pub/lyx-1.2.0pre5 \
   --exec-prefix=/net/pub/lyx-1.2.0pre5/osf \
   --with-extra-prefix=/net/usr --with-included-string

Configuration
   Host type:                      alpha-dec-osf4.0d
   Special build flags:            warnings included-string assertions 
included-libsigc
   C   Compiler:                   /net/bin/gcc
   C   Compiler flags:             -I/net/usr/include
   C++ Compiler:                   /net/bin/g++ (2.95.3)
   C++ Compiler flags:             -I/net/usr/include  -W -Wall
   Linker flags:                   -L/net/usr/lib  -L/net/usr/lib
   Frontend:                       xforms
     libXpm version:               4.11
     libforms version:             0.88.0
   LyX binary dir:                 /net/pub/lyx-1.2.0pre5/osf/bin
   LyX files dir:                  /net/pub/lyx-1.2.0pre5/share/lyx


2) SuSE Linux 6.1 on Intel w/ gcc 2.95.3:
-----------------------------------------
Compilation fails on src/support/lyxsum.C:

/net/bin/g++ -DHAVE_CONFIG_H -I. 
-I/net/hmi/dta/build/linux/lyx-1.2.0pre5/src/support -I../../src 
-I/net/hmi/dta/build/linux/lyx-1.2.0pre5/src/support/../ 
-I/net/hmi/dta/build/linux/lyx-1.2.0pre5 -I../.. 
-I/net/hmi/dta/build/linux/lyx-1.2.0pre5/boost -I/net/usr/include 
-I/net/usr/include -isystem /usr/X11R6/include -I/net/usr/include -W -Wall -c 
lyxsum.C -Wp,-MD,.deps/lyxsum.TPlo
lyxsum.C:27: warning: `_POSIX_C_SOURCE' redefined
/usr/include/features.h:137: warning: this is the location of the previous 
definition
lyxsum.C: In function `long unsigned int lyx::sum(const string &)':
lyxsum.C:69: ANSI C++ forbids implicit conversion from `void *' in argument passing
gmake[3]: *** [lyxsum.lo] Error 1
gmake[3]: Leaving directory `/net/hmi/dta/build/linux/lyx-1.2.0pre5/src/support'

The configure line was:

env CC=/net/bin/gcc CXX=/net/bin/g++ CPPFLAGS=-I/net/usr/include \
   CFLAGS=-I/net/usr/include CXXFLAGS=-I/net/usr/include \
   LDFLAGS=-L/net/usr/lib \
   ./configure  --prefix=/net/pub/lyx-1.2.0pre5 \
   --exec-prefix=/net/pub/lyx-1.2.0pre5/linux \
   --with-extra-prefix=/net/usr

Configuration
   Host type:                      i586-pc-linux-gnu
   Special build flags:            warnings assertions included-libsigc
   C   Compiler:                   /net/bin/gcc
   C   Compiler flags:             -I/net/usr/include
   C++ Compiler:                   /net/bin/g++ (2.95.3)
   C++ Compiler flags:             -I/net/usr/include  -W -Wall
   Linker flags:                   -L/net/usr/lib  -L/net/usr/lib
   Frontend:                       xforms
     libXpm version:               4.11
     libforms version:             0.88.0
   LyX binary dir:                 /net/pub/lyx-1.2.0pre5/linux/bin
   LyX files dir:                  /net/pub/lyx-1.2.0pre5/share/lyx


Workarounds/fixes appreciated.

[ Please Cc: your replies to me, I'm currently not subscribed. ]

Kind regards,
Thomas

-- 
Thomas Anders <[EMAIL PROTECTED]>
Hahn-Meitner-Institut Berlin, Germany

Reply via email to