![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| gcc error..compiler cannot create executables | vasanthan | HP-UX | 1 | 06-02-2008 08:20 AM |
| New to C/gcc compiler - compile error. | anish | High Level Programming | 9 | 12-13-2007 05:03 PM |
| aCC compiler error - Redefined symbols | onlyforforum | HP-UX | 2 | 05-04-2007 07:02 AM |
| Error: Compiler out of memory | swamymns | Shell Programming and Scripting | 1 | 03-06-2006 08:38 AM |
| mysql installation error using redhat 7.2 | theDirtiest | UNIX for Dummies Questions & Answers | 6 | 11-15-2001 12:41 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
LyX-1.4.3 compiler error on redhat-7.3
Hi There,
I'm trying to install LyX 1.4.3 on a machine running Redhat 7.3. I can't upgrade the OS since I don't have root, but I've been given permission to install sw into pkgs by the Sys Admins. ./configure using the Qt frontend worked, but when I then enter make I get: 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 I've been using Linux for years, but I've never administered it, so I'm not entirely sure how to make sense out of all this. Is something missing from the path? Is something not installed on our system? I'd appreciate any help or advice. Thanks |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
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: ![]() Then insert your block of code and then close the code block. ![]() 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 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 |
|
#3
|
|||
|
|||
|
Thanks. You were correct in that it seemed to be a gcc problem, I tried intalling earlier versions. Non of the 1.4.x versions worked, but once I whent back to 1.3.x things wrked much better.
I'll try to be better about the way I post code in the future, sorry, I've never really done this before. |
|
#4
|
|||
|
|||
|
Quote:
Quote:
Carl |
|||
| Google The UNIX and Linux Forums |