LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   LyX-1.4.3 compiler error on redhat-7.3 (https://www.linuxquestions.org/questions/linux-software-2/lyx-1-4-3-compiler-error-on-redhat-7-3-a-489713/)

dirgni 10-05-2006 11:40 AM

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_error (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 adminstered 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 appriciate any help or advice.

Thanks

vharishankar 10-05-2006 11:47 AM

You'll have serious trouble compiling any new software on older versions of Linux because of library mismatches and dependency issues.

Why not simply ask your admin to upgrade the OS? It's not worth the trouble using an outdated version of RedHat.

Imagine how many outdated libraries you'd have in RedHat 7.3! That's ages old.

LyX latest version probably depends on the latest QT and other libraries which you'll never find in RH 7.3.

I'd say you'll never get it to compile because it's not possible... just update the OS or get the admin to do it.

Save yourself the frustration.

dirgni 10-05-2006 12:23 PM

Apparently we will be updating to Ubantu in 6 months or so. But I don't really want to wait that long.

How can I figure out exactly what dependencies are causing the problem?


All times are GMT -5. The time now is 11:33 PM.