Sponsored Content
Top Forums UNIX for Dummies Questions & Answers LyX-1.4.3 compiler error on redhat-7.3 Post 302091920 by BOFH on Thursday 5th of October 2006 10:43:44 PM
Old 10-05-2006
Ok, first thing is to understand how to use the code brackets so you can
correctly post the output of scripts. When you're ready to paste in your
code, type in:

Image

Then insert your block of code and then close the code block.

Image

So it's a bit more readable and looks something like this:

Code:
make[5]: Entering directory `/w/11/pkgs/lyx-1.4.3/Objdir/boost/libs/filesystem/src'
if /bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../../../boost/libs/filesystem/src -I../../../../src -DBOOST_USER_CONFIG="<config.h>" -I../../../../../boost -I/usr/X11R6/include -fno-exceptions -ftemplate-depth-30 -Wno-non-template-friend -O2 -MT convenience.lo -MD -MP -MF ".deps/convenience.Tpo" -c -o convenience.lo ../../../../../boost/libs/filesystem/src/convenience.cpp; \
then mv -f ".deps/convenience.Tpo" ".deps/convenience.Plo"; else rm -f ".deps/convenience.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I../../../../../boost/libs/filesystem/src -I../../../../src "-DBOOST_USER_CONFIG=<config.h>" -I../../../../../boost -I/usr/X11R6/include -fno-exceptions -ftemplate-depth-30 -Wno-non-template-friend -O2 -MT convenience.lo -MD -MP -MF .deps/convenience.Tpo -c ../../../../../boost/libs/filesystem/src/convenience.cpp -o convenience.o
if /bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../../../boost/libs/filesystem/src -I../../../../src -DBOOST_USER_CONFIG="<config.h>" -I../../../../../boost -I/usr/X11R6/include -fno-exceptions -ftemplate-depth-30 -Wno-non-template-friend -O2 -MT exception.lo -MD -MP -MF ".deps/exception.Tpo" -c -o exception.lo ../../../../../boost/libs/filesystem/src/exception.cpp; \
then mv -f ".deps/exception.Tpo" ".deps/exception.Plo"; else rm -f ".deps/exception.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I../../../../../boost/libs/filesystem/src -I../../../../src "-DBOOST_USER_CONFIG=<config.h>" -I../../../../../boost -I/usr/X11R6/include -fno-exceptions -ftemplate-depth-30 -Wno-non-template-friend -O2 -MT exception.lo -MD -MP -MF .deps/exception.Tpo -c ../../../../../boost/libs/filesystem/src/exception.cpp -o exception.o
../../../../../boost/libs/filesystem/src/exception.cpp: In method `boost::filesystem::filesystem_error::filesystem_e rror (const string &, const string &)':
../../../../../boost/libs/filesystem/src/exception.cpp:220: exception handling disabled, use -fexceptions to enable
../../../../../boost/libs/filesystem/src/exception.cpp:220: confused by earlier errors, bailing out
make[5]: *** [exception.lo] Error 1
make[5]: Leaving directory `/w/11/pkgs/lyx-1.4.3/Objdir/boost/libs/filesystem/src'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/w/11/pkgs/lyx-1.4.3/Objdir/boost/libs/filesystem/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/w/11/pkgs/lyx-1.4.3/Objdir/boost/libs/filesystem'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/w/11/pkgs/lyx-1.4.3/Objdir/boost/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/w/11/pkgs/lyx-1.4.3/Objdir/boost'
make: *** [all-recursive] Error 1

This way, while it gets rather lengthy, it is quite a bit more readable and
someone might be able to figure out what's going on.

I did a quick google search and found this link:

http://www.openoffice.org/issues/show_bug.cgi?id=56716

It appears that perhaps with the new gcc compiler, the code needs to have
exceptions turned on rather than disabled (see the -f flags in your two g++
lines). While the link references OpenOffice, the bug is exactly the one
you're experiencing. It looks like LyX might not be compatible with the gcc
that's on your system. You might check out the lyx folks and see if they
have an updated bit of source or a patch.

I did a quick look at the lyx site and you're trying the most current version.
Perhaps there's a problem with your version of gcc vs what they're
expecting. You might check the mailing list for the software or check out
the bugzilla.lyx.org site and search for the specific error (as I'm running
Safari, it appears I'm not able to search bugzilla).

Carl
 

2 More Discussions You Might Find Interesting

1. Programming

How Can a Machine Reads a Compiler Since A Compiler is Written in Text! Not Binaries?

To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first? The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's... Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies

2. Linux

Xlc compiler on Redhat Linux

Hi , Currently i have my c and pro*c code got compiled in IBM POWER - AIX machine with xlc compiler version 9. We are planning to migrate all our applications from IBM POWER - AIX to Redhat Linux. Can i use the same current (IBM AIX) xlc compiler with the same compiling... (3 Replies)
Discussion started by: mugunthanvh
3 Replies
All times are GMT -4. The time now is 03:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy