Hi all

Really sorry if I'm posting in the error place

I'm trying to compile lx-2.2.3 in a RedHat 6.8.
After I used ./configure I got this message:
---
Configuration
  Host type:               x86_64-unknown-linux-gnu
  Special build flags:      build=release c++11 use-hunspell
  C++ Compiler:            g++ (4.4.7)
  C++ Compiler flags:       -std=c++0x -O2 -Wno-deprecated-declarations
  C++ Compiler user flags:
  Linker flags:
  Linker user flags:
  Qt Frontend:
      Qt version:       4.6.2
  Packaging:               posix
  LyX binary dir:          /usr/local/bin
  LyX files dir:           /usr/local/share/lyx

Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.
---

After, if I try "make" I got this error message:
---
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 \u2018static 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]\u2019: ../../3rdparty/boost/boost/function/function_template.hpp:936: instantiated from \u2018void 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]\u2019 ../../3rdparty/boost/boost/function/function_template.hpp:727: instantiated from \u2018boost::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]\u2019 ../../3rdparty/boost/boost/function/function_template.hpp:1072: instantiated from \u2018boost::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]\u2019 ../../3rdparty/boost/boost/signals/slot.hpp:111: instantiated from \u2018boost::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)>]\u2019
ForkedCalls.cpp:478:   instantiated from here
../../3rdparty/boost/boost/function/function_template.hpp:159: error: no match for call to \u2018(std::_Bind<void (*(std::_Placeholder<1>, std::_Placeholder<2>))(pid_t, int)>) (int, int)\u2019 /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>]
make[5]: *** [ForkedCalls.o] Error 1
make[5]: Leaving directory `/root/rpmbuild/SOURCES/lyx-2.2.3/src/support'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/root/rpmbuild/SOURCES/lyx-2.2.3/src/support'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/rpmbuild/SOURCES/lyx-2.2.3/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/rpmbuild/SOURCES/lyx-2.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/SOURCES/lyx-2.2.3'
make: *** [all] Error 2
[root@gd04a-128 lyx-2.2.3]#

What I'm doing wrong?
I really appreciate any help.

Regards,
Felipe Formiga

Reply via email to