On a RedHat 8 system I'm using a newer snapshot of gcc, which is
necessary for my other research. I've compiled xforms with that gcc, OK.
The version I'm using is:
gcc-3.3-20020909
lyx won't build, either with qt or xforms frontend.
All I did was untar lyx, then
#mkdir build
#cd build
#../configure --prefix=/usr
and
The end of configure looks OK:
configure: running /bin/sh '../../../lib/reLyX/configure' --prefix=/usr
'--prefix=/usr' --cache-file=/dev/null --srcdir
=../../../lib/reLyX
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for perl >= 5.002... /usr/bin/perl
configure: creating ./config.status
config.status: creating Makefile
chmod: failed to get attributes of `reLyX': No such file or directory
chmod: failed to get attributes of `noweb2lyx': No such file or directory
config.status: creating reLyX
chmod: failed to get attributes of `noweb2lyx': No such file or directory
config.status: creating noweb2lyx
Configuration
Host type: i686-pc-linux-gnu
Special build flags: xforms-image-loader
C Compiler: gcc
C Compiler flags: -g -O2
C++ Compiler: g++ (3.3)
C++ Compiler flags: -O
Linker flags:
Frontend: xforms
libXpm version: 4.11
libforms version: 1.0.0
LyX binary dir: /usr/bin
LyX files dir: /usr/share/lyx
Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.
make[4]: Entering directory
`/home/pauljohn/LinuxDownloads/redhat/BUILD/lyx-1.3.0/build/boost/libs/regex/src'
source='../../../../../boost/libs/regex/src/cpp_regex_traits.cpp'
object='cpp_regex_traits.lo' libtool=yes \
depfile='.deps/cpp_regex_traits.Plo'
tmpdepfile='.deps/cpp_regex_traits.TPlo' \
depmode=gcc3 /bin/sh ../../../../../config/depcomp \
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../../../../boost/libs/regex/src -I../../../../s
rc -I../../../../../boost -isystem /usr/X11R6/include -O -c -o
cpp_regex_traits.lo `test -f '../../../../../boost/libs
/regex/src/cpp_regex_traits.cpp' || echo
'../../../../../boost/libs/regex/src/'`../../../../../boost/libs/regex/src/cpp_
regex_traits.cpp
g++ -DHAVE_CONFIG_H -I. -I../../../../../boost/libs/regex/src
-I../../../../src -I../../../../../boost -isystem /usr/X11
R6/include -O -c
../../../../../boost/libs/regex/src/cpp_regex_traits.cpp -MT
cpp_regex_traits.lo -MD -MP -MF .deps/cpp_
regex_traits.TPlo
In file included from ../../../../../boost/boost/config.hpp:35,
from ../../../../../boost/boost/regex/config.hpp:94,
from
../../../../../boost/libs/regex/src/cpp_regex_traits.cpp:26:
../../../../../boost/boost/config/compiler/gcc.hpp:57:7: warning:
#warning "Unknown compiler version - please run the co
nfigure tests and report the results"
echo timestamp > cpp_regex_traits.lo
source='../../../../../boost/libs/regex/src/c_regex_traits_common.cpp'
object='c_regex_traits_common.lo' libtool=yes \
depfile='.deps/c_regex_traits_common.Plo'
tmpdepfile='.deps/c_regex_traits_common.TPlo' \
depmode=gcc3 /bin/sh ../../../../../config/depcomp \
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../../../../boost/libs/regex/src -I../../../../s
rc -I../../../../../boost -isystem /usr/X11R6/include -O -c -o
c_regex_traits_common.lo `test -f '../../../../../boost
/libs/regex/src/c_regex_traits_common.cpp' || echo
'../../../../../boost/libs/regex/src/'`../../../../../boost/libs/rege
x/src/c_regex_traits_common.cpp
g++ -DHAVE_CONFIG_H -I. -I../../../../../boost/libs/regex/src
-I../../../../src -I../../../../../boost -isystem /usr/X11
R6/include -O -c
../../../../../boost/libs/regex/src/c_regex_traits_common.cpp -MT
c_regex_traits_common.lo -MD -MP -MF
.deps/c_regex_traits_common.TPlo
In file included from ../../../../../boost/boost/config.hpp:35,
from ../../../../../boost/boost/regex/config.hpp:94,
from ../../../../../boost/boost/cregex.hpp:27,
from ../../../../../boost/boost/regex/regex_traits.hpp:26,
from
../../../../../boost/libs/regex/src/c_regex_traits_common.cpp:31:
../../../../../boost/boost/config/compiler/gcc.hpp:57:7: warning:
#warning "Unknown compiler version - please run the co
nfigure tests and report the results"
echo timestamp > c_regex_traits_common.lo
source='../../../../../boost/libs/regex/src/c_regex_traits.cpp'
object='c_regex_traits.lo' libtool=yes \
depfile='.deps/c_regex_traits.Plo' tmpdepfile='.deps/c_regex_traits.TPlo' \
depmode=gcc3 /bin/sh ../../../../../config/depcomp \
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../../../../boost/libs/regex/src -I../../../../s
rc -I../../../../../boost -isystem /usr/X11R6/include -O -c -o
c_regex_traits.lo `test -f '../../../../../boost/libs/r
egex/src/c_regex_traits.cpp' || echo
'../../../../../boost/libs/regex/src/'`../../../../../boost/libs/regex/src/c_regex_
traits.cpp
g++ -DHAVE_CONFIG_H -I. -I../../../../../boost/libs/regex/src
-I../../../../src -I../../../../../boost -isystem /usr/X11
R6/include -O -c ../../../../../boost/libs/regex/src/c_regex_traits.cpp
-MT c_regex_traits.lo -MD -MP -MF .deps/c_regex_
traits.TPlo
In file included from ../../../../../boost/boost/config.hpp:35,
from
../../../../../boost/libs/regex/src/c_regex_traits.cpp:25:
../../../../../boost/boost/config/compiler/gcc.hpp:57:7: warning:
#warning "Unknown compiler version - please run the co
nfigure tests and report the results"
echo timestamp > c_regex_traits.lo
source='../../../../../boost/libs/regex/src/cregex.cpp'
object='cregex.lo' libtool=yes \
depfile='.deps/cregex.Plo' tmpdepfile='.deps/cregex.TPlo' \
depmode=gcc3 /bin/sh ../../../../../config/depcomp \
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../../../../boost/libs/regex/src -I../../../../s
rc -I../../../../../boost -isystem /usr/X11R6/include -O -c -o
cregex.lo `test -f '../../../../../boost/libs/regex/src
/cregex.cpp' || echo
'../../../../../boost/libs/regex/src/'`../../../../../boost/libs/regex/src/cregex.cpp
g++ -DHAVE_CONFIG_H -I. -I../../../../../boost/libs/regex/src
-I../../../../src -I../../../../../boost -isystem /usr/X11
R6/include -O -c ../../../../../boost/libs/regex/src/cregex.cpp -MT
cregex.lo -MD -MP -MF .deps/cregex.TPlo
In file included from ../../../../../boost/boost/config.hpp:35,
from ../../../../../boost/boost/regex/config.hpp:94,
from ../../../../../boost/boost/cregex.hpp:27,
from ../../../../../boost/libs/regex/src/cregex.cpp:26:
../../../../../boost/boost/config/compiler/gcc.hpp:57:7: warning:
#warning "Unknown compiler version - please run the co
nfigure tests and report the results"
../../../../../boost/boost/regex/detail/regex_match.hpp: In member
function `
unsigned int boost::RegEx::GrepFiles(bool (*)(const char*, const
boost::RegEx&), const char*, bool, unsigned int)':
../../../../../boost/boost/regex/detail/regex_match.hpp:1902: internal
compiler error: in
expand_call, at calls.c:3052
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make[4]: *** [cregex.lo] Error 1
make[4]: Leaving directory
`/home/pauljohn/LinuxDownloads/redhat/BUILD/lyx-1.3.0/build/boost/libs/regex/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/pauljohn/LinuxDownloads/redhat/BUILD/lyx-1.3.0/build/boost/libs/regex'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/pauljohn/LinuxDownloads/redhat/BUILD/lyx-1.3.0/build/boost/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/pauljohn/LinuxDownloads/redhat/BUILD/lyx-1.3.0/build/boost'
--
Paul E. Johnson email: [EMAIL PROTECTED]
Dept. of Political Science http://lark.cc.ku.edu/~pauljohn
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66045 FAX: (785) 864-5700
- Re: What do you think this c++ error means? Paul Johnson
- Re: What do you think this c++ error means? John Levon
- Re: What do you think this c++ error means? Lars Gullik Bj�nnes
