|
Edit Links |
Tips /
CompilingCategories: Installing LyX << Tips | Page list | OpenFileInRunningLyx >>Notes about compiling LyX
--disable-debug
The frontend option of configure isn't mentioned in the INSTALL file either.
Based on recommendation from Andre and JohnNote: These notes assume that xforms is properly installed (for the
xforms-version).
However, if you are using a tar-ball, do something like this:
cd /space
tar xzvf lyx-1.3.0.tar.gz
which will create a directory /space/lyx-1.3.0/ for you, so in the
instructions below you should replace lyx-devel with lyx-1.3.0.
Note: I was lucky enough to be doing this on a machine with two processors, so I could just compile for qt and xforms at the same time :-) Troubles Christian encounteredI'm working on a RedHat system (RH 7.3) where I am NOT root.
2. Make configure find xforms
3. While trying to compile, it get's stuck waiting for a lock-file to disappear (which never happens, and the lock file doesn't really exist). Adding the option: --disable-libtool-lock fixed that (Jean-Marc also
suggested updating some packages, but since I'm not root that seemed more
trouble than it is worth).
4. Ran out of disk space... sigh, had to move to another disk. The final ./configure I'm using is now:
Trouble with boost/usr/bin/x86_64-redhat-linux-g++ -DHAVE_CONFIG_H -I. -I../../src -Winvalid-pch --include=./pch.h -I./.. -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -DQT_SHARED -I/usr/include/QtCore -m64 -O2 -fPIC -pie -MT Forkedcall.lo -MD -MP -MF .deps/Forkedcall.Tpo -c Forkedcall.cpp -o Forkedcall.o /usr/include/boost/type_traits/is_convertible.hpp:128: error: static data member ‘boost::detail::is_convertible_basic_impl<boost::_bi::bind_t<void, boost::_mfi::mf0<void, lyx::support::<unnamed>::Murder>, boost::_bi::list1<boost::_bi::value<lyx::support::<unnamed>::Murder*> > >*&, boost::signals::detail::signal_base*>::_m_from’ used, but not defined How to fix? I have boost-1.34.1-12.fc9. The same error is produced also without --without-included-boost . gcc is 4.1.2-34 (Fedora). |