Dear JMark, Oh, sorry about that. I've rerun it with gcc 4.4 (and attached). Alas I get errors in making with "/usr/include/QtCore/qthreadstorage.h:", so I assume its an issue with my Qt version.
Kind Regards, Ben On 23 September 2016 at 16:09, Jean-Marc Lasgouttes <lasgout...@lyx.org> wrote: > Le 23/09/2016 à 16:28, Ben Lowe a écrit : >> >> I tried compiling with the patch, gcc 4.4 and did this twice, one with >> and once without "--disable-cxx11", and attached the relevant logs. >> Sadly I did not have any luck. I think updating Qt might be >> non-trivial on my build of RHEL6. > > > In what you sent, you are not compiling with gcc 4.4, but with icpc, the > intel C++ compiler. This has never been tested by us. > > Could you try again with gcc 4.4? This is your best bet IMO. > > JMarc >
configuring LyX version 2.2.1 checking for build type... release checking for version suffix... checking whether Qt5 is requested... no checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking what packaging should be used... posix checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '12581' is supported by ustar format... yes checking whether GID '245' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether make supports nested variables... (cached) yes checking for a Python interpreter with version >= 2.7.0 or 3.3.0... python checking for python... /local/scratch/bml1g12/Software/anaconda/envs/py27/bin/python checking for python version... 2.7 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for ar... ar checking the archiver (ar) interface... ar checking for ranlib... ranlib checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether the compiler is clang... no checking whether STL is libstdc++... yes checking whether STL is libstdc++ using the C++11 ABI... no checking whether the compiler implements C++11... no checking for gcc... gcc checking whether we are using the GNU Objective C compiler... yes checking whether gcc accepts -g... yes checking dependency style of gcc... gcc3 checking dependency style of gcc... (cached) gcc3 checking for extra library directory... NONE checking for extra include directory... NONE checking for extra lib+include directory... NONE checking for main in -lshlwapi... no checking for main in -lpsapi... no checking for main in -lgdi32... no checking whether to use included boost library... yes checking whether to use included MyThes library... yes checking whether byte ordering is bigendian... no checking whether printing callstack is possible... yes checking size of wchar_t... 4 checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for gzopen in -lz... yes checking magic.h usability... no checking magic.h presence... no checking for magic.h... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for QT_CORE... yes checking for QT_FRONTEND... yes checking for moc... no checking for moc-qt4... /usr/bin/moc-qt4 checking for uic... no checking for uic-qt4... /usr/bin/uic-qt4 checking for rcc... no checking for rcc-qt4... no checking for rcc... /local/scratch/bml1g12/Software/anaconda/envs/py27/bin/rcc checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking whether sys/types.h defines makedev... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for wchar_t... yes checking whether PATH_MAX is defined by header limits.h... yes checking for chmod... yes checking for close... yes checking for _close... no checking for fork... yes checking for getpid... yes checking for _getpid... no checking for lockf... yes checking for lstat... yes checking for mkfifo... yes checking for open... yes checking for _open... no checking for pclose... yes checking for _pclose... no checking for popen... yes checking for _popen... no checking for readlink... yes checking for putenv... yes checking for setenv... yes checking for strerror... yes checking for unsetenv... yes checking for mkdir... yes checking for _mkdir... no checking whether mkdir takes one argument... no checking for sys/select.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking types of arguments for select... int,fd_set *,struct timeval * checking aspell.h usability... no checking aspell.h presence... no checking for aspell.h... no checking for new_aspell_config in -laspell... no checking whether to use aspell... no checking for ENCHANT... checking whether to use enchant... no checking for HUNSPELL... yes checking whether to use hunspell... yes checking for fcntl... yes checking for library containing gethostbyname... none required checking for library containing socket... none required checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lyx.1 config.status: creating 3rdparty/Makefile config.status: creating 3rdparty/boost/Makefile config.status: creating 3rdparty/hunspell/Makefile config.status: creating 3rdparty/libiconv/Makefile config.status: creating 3rdparty/zlib/Makefile config.status: creating autotests/Makefile config.status: creating config/Makefile config.status: creating development/Makefile config.status: creating development/MacOSX/Makefile config.status: creating development/MacOSX/Info.plist config.status: creating development/MacOSX/lyxrc.dist config.status: creating development/MacOSX/spotlight/Makefile config.status: creating development/cygwin/Makefile config.status: creating development/cygwin/lyxrc.dist config.status: creating development/lyx.spec config.status: creating lib/lyx.desktop-temp config.status: creating lib/Makefile config.status: creating lib/doc/Makefile config.status: creating lib/lyx2lyx/lyx2lyx_version.py config.status: creating lib/lyx2lyx/Makefile config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: creating sourcedoc/Doxyfile config.status: creating sourcedoc/Makefile config.status: creating src/client/Makefile config.status: creating src/client/lyxclient.1 config.status: creating src/Makefile config.status: creating src/tex2lyx/Makefile config.status: creating src/tex2lyx/tex2lyx.1 config.status: creating src/support/Makefile config.status: creating src/frontends/Makefile config.status: creating src/frontends/qt4/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile Configuration Host type: x86_64-unknown-linux-gnu Special build flags: build=release use-hunspell C++ Compiler: g++ (4.4.7) C++ Compiler flags: -O2 C++ Compiler user flags: Linker flags: Linker user flags: Qt Frontend: Qt version: 4.6.2 Packaging: posix LyX binary dir: /local/scratch/bml1g12/Software/lyx-2.2.1/bin LyX files dir: /local/scratch/bml1g12/Software/lyx-2.2.1/share/lyx === The following minor problems have been detected by configure. === Please check the messages below before running 'make'. === (see the section 'Problems' in the INSTALL file) == cannot find magic.h. Please check that the libmagic library is correctly installed on your system. Falling back to builtin file format detection. Configuration of LyX was successful. Type 'make' to compile the program, and then 'make install' to install it.
make all-recursive make[1]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy' Making all in autotests make[2]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/autotests' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/autotests' Making all in config make[2]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/config' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/config' Making all in development make[2]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/development' make[3]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/development' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/development' make[2]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/development' Making all in po make[2]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/po' Making all in 3rdparty make[2]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/3rdparty' Making all in boost make[3]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/3rdparty/boost' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/3rdparty/boost' make[3]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/3rdparty' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/3rdparty' make[2]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/3rdparty' Making all in src make[2]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src' rm -f hash-temp \ @echo " GEN lyx_commit_hash.h";hash=`cd ".." && git log -1 --pretty=format:%H 2>/dev/null || echo none` ; \ sed s/@LYX_GIT_COMMIT_HASH@/$hash/ "."/lyx_commit_hash.h.in >hash-temp ; \ cmp -s lyx_commit_hash.h hash-temp || cp hash-temp lyx_commit_hash.h ; \ rm -f hash-temp make all-recursive make[3]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src' Making all in support make[4]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src/support' make all-am make[5]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src/support' CXX ForkedCalls.o CXX lyxtime.o CXX Messages.o CXX mutex.o CXX os.o CXX PathChanger.o CXX Package.o CXX qstring_helpers.o CXX socktools.o CXX Systemcall.o In file included from ../../3rdparty/boost/boost/function/detail/maybe_include.hpp:23, from ../../3rdparty/boost/boost/function/function2.hpp:11, from ../../3rdparty/boost/boost/signals/detail/named_slot_map.hpp:17, from ../../3rdparty/boost/boost/signals/detail/signal_base.hpp:15, from ../../3rdparty/boost/boost/signals/signal_template.hpp:22, from ../../3rdparty/boost/boost/signals/signal0.hpp:24, from ../../3rdparty/boost/boost/signal.hpp:27, from ./../support/ForkedCalls.h:19, from ForkedCalls.cpp:15: ../../3rdparty/boost/boost/function/function_template.hpp: In static member function ‘static void boost::detail::function::void_function_obj_invoker2<FunctionObj, R, T0, T1>::invoke(boost::detail::function::function_buffer&, T0, T1) [with FunctionObj = std::_Bind<void (*(std::_Placeholder<1>, std::_Placeholder<2>))(pid_t, int)>, R = void, T0 = int, T1 = int]’: ../../3rdparty/boost/boost/function/function_template.hpp:937: instantiated from ‘void boost::function2<R, T1, T2>::assign_to(Functor) [with Functor = std::_Bind<void (*(std::_Placeholder<1>, std::_Placeholder<2>))(pid_t, int)>, R = void, T0 = int, T1 = int]’ ../../3rdparty/boost/boost/function/function_template.hpp:727: instantiated from ‘boost::function2<R, T1, T2>::function2(Functor, typename boost::enable_if_c<(! boost::is_integral::value), int>::type) [with Functor = std::_Bind<void (*(std::_Placeholder<1>, std::_Placeholder<2>))(pid_t, int)>, R = void, T0 = int, T1 = int]’ ../../3rdparty/boost/boost/function/function_template.hpp:1073: instantiated from ‘boost::function<R(T0, T1)>::function(Functor, typename boost::enable_if_c<(! boost::is_integral::value), int>::type) [with Functor = std::_Bind<void (*(std::_Placeholder<1>, std::_Placeholder<2>))(pid_t, int)>, R = void, T0 = pid_t, T1 = int]’ ../../3rdparty/boost/boost/signals/slot.hpp:111: instantiated from ‘boost::slot<SlotFunction>::slot(const F&) [with F = std::_Bind<void (*(std::_Placeholder<1>, std::_Placeholder<2>))(pid_t, int)>, SlotFunction = boost::function<void(pid_t, int)>]’ ForkedCalls.cpp:478: instantiated from here ../../3rdparty/boost/boost/function/function_template.hpp:159: error: no match for call to ‘(std::_Bind<void (*(std::_Placeholder<1>, std::_Placeholder<2>))(pid_t, int)>) (int, int)’ /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tr1_impl/functional:1189: note: candidates are: typename std::result_of<_Functor(typename std::result_of<std::_Mu<_Bound_args, std::is_bind_expression::value, (std::is_placeholder::value > 0)>(_Bound_args, std::tuple<_UElements ...>)>::type ...)>::type std::_Bind<_Functor(_Bound_args ...)>::operator()(_Args& ...) [with _Args = int, int, _Functor = void (*)(pid_t, int), _Bound_args = std::_Placeholder<1>, std::_Placeholder<2>] /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tr1_impl/functional:1200: note: typename std::result_of<const _Functor(typename std::result_of<std::_Mu<_Bound_args, std::is_bind_expression::value, (std::is_placeholder::value > 0)>(_Bound_args, std::tuple<_UElements ...>)>::type ...)>::type std::_Bind<_Functor(_Bound_args ...)>::operator()(_Args& ...) const [with _Args = int, int, _Functor = void (*)(pid_t, int), _Bound_args = std::_Placeholder<1>, std::_Placeholder<2>] /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tr1_impl/functional:1212: note: typename std::result_of<volatile _Functor(typename std::result_of<std::_Mu<_Bound_args, std::is_bind_expression::value, (std::is_placeholder::value > 0)>(_Bound_args, std::tuple<_UElements ...>)>::type ...)>::type std::_Bind<_Functor(_Bound_args ...)>::operator()(_Args& ...) volatile [with _Args = int, int, _Functor = void (*)(pid_t, int), _Bound_args = std::_Placeholder<1>, std::_Placeholder<2>] /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tr1_impl/functional:1225: note: typename std::result_of<const volatile _Functor(typename std::result_of<std::_Mu<_Bound_args, std::is_bind_expression::value, (std::is_placeholder::value > 0)>(_Bound_args, std::tuple<_UElements ...>)>::type ...)>::type std::_Bind<_Functor(_Bound_args ...)>::operator()(_Args& ...) const volatile [with _Args = int, int, _Functor = void (*)(pid_t, int), _Bound_args = std::_Placeholder<1>, std::_Placeholder<2>] CXX TempFile.o make[5]: *** [ForkedCalls.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[5]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src/support' make[4]: *** [all] Error 2 make[4]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src/support' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy' make: *** [all] Error 2
make all-recursive make[1]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy' Making all in autotests make[2]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/autotests' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/autotests' Making all in config make[2]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/config' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/config' Making all in development make[2]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/development' make[3]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/development' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/development' make[2]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/development' Making all in po make[2]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/po' Making all in 3rdparty make[2]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/3rdparty' Making all in boost make[3]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/3rdparty/boost' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/3rdparty/boost' make[3]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/3rdparty' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/3rdparty' make[2]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/3rdparty' Making all in src make[2]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src' rm -f hash-temp \ @echo " GEN lyx_commit_hash.h";hash=`cd ".." && git log -1 --pretty=format:%H 2>/dev/null || echo none` ; \ sed s/@LYX_GIT_COMMIT_HASH@/$hash/ "."/lyx_commit_hash.h.in >hash-temp ; \ cmp -s lyx_commit_hash.h hash-temp || cp hash-temp lyx_commit_hash.h ; \ rm -f hash-temp make all-recursive make[3]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src' Making all in support make[4]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src/support' make all-am make[5]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src/support' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src/support' make[4]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src/support' Making all in frontends make[4]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src/frontends' Making all in qt4 make[5]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src/frontends/qt4' make all-am make[6]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src/frontends/qt4' make[6]: Nothing to be done for `all-am'. make[6]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src/frontends/qt4' make[5]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src/frontends/qt4' Making all in . make[5]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src/frontends' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src/frontends' make[4]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src/frontends' Making all in . make[4]: Entering directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src' CXX Session.o CXX sgml.o CXX Spacing.o CXX TexRow.o CXX texstream.o make[4]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src' make[3]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src' make[2]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy/src' make[1]: Leaving directory `/local/scratch/bml1g12/Software/lyx-2.2.1/source_original_copy'