On Sun, Jun 19, 2016 at 3:30 PM, Joel Kulesza <jkule...@gmail.com> wrote:

> On Sun, Jun 19, 2016 at 9:53 AM, Georg Baum <
> georg.b...@post.rwth-aachen.de> wrote:
>
>
>> You get this if you call configure with --disable-silent-rules (from the
>> log file I assume that you use autotools and not cmake to compile).
>
>
> Your assumption is correct (I just run with what "configure" comes up
> with).  When I get into the office tomorrow, I'll add this flag and will
> post what I see.  That said, I do have CMake available; perhaps giving that
> a shot would be good as well - I'll try that too.  Thanks for you help to
> track this down.
>
>
All the gore and carnage for the failing source file from the configure
with "--disable-silent-rules" below my signature.

I did try compiling with CMake and see the error(s) below:

1026 jkulesza@machine[~/SRC/lyx220/build_cmake]> cmake ../.
-- TOP_SRC_DIR = /home/jkulesza/SRC/lyx220
-- 
-- Building in-source
-- 
-- Using GCC version 5.3.0
-- Performing Test CXX11_FLAG_DETECTED
-- Performing Test CXX11_FLAG_DETECTED - Success
-- CXX11_FLAG_DETECTED = "--std=c++11"
Warning: QT_QMAKE_EXECUTABLE reported QT_INSTALL_LIBS as
/opt/anaconda1anaconda2anaconda3/lib
Warning: /opt/anaconda1anaconda2anaconda3/lib does NOT exist, Qt must NOT
be installed correctly.
CMake Error at development/cmake/modules/FindQt4.cmake:363 (message):
  Could NOT find QtGlobal header
Call Stack (most recent call first):
  CMakeLists.txt:625 (find_package)

Thus, it looks like the "finder" for Qt is broken and is identifying
something associated with my Python installation.

Thus, it looks like I continue to be a troublemaker with respect to Qt (but
now, at least, on Linux)... At this point, I'm disinclined to pursue
additional troubleshooting for my own sake (I'm due to get a machine soon
that I will have the ability to install a binary on); however, if this line
of discussion is useful to the developers, I'm happy to pursue it.  Please
let me know what, if anything, else I can provide that might be of use.

Thank you,
Joel

depbase=`echo sgml.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
    g++ -DHAVE_CONFIG_H -I. -I../../src -I..  -I../../src
-I../../3rdparty/boost   -DQT_NO_STL -DQT_NO_KEYWORDS -DQT_SHARED
-I/usr/include/QtCore    -std=c++11 -O2 -Wno-deprecated-declarations  -MT
sgml.o -MD -MP -MF $depbase.Tpo -c -o sgml.o ../../src/sgml.cpp &&\
    mv -f $depbase.Tpo $depbase.Po
In file included from /usr/include/QtCore/QThreadStorage:1:0,
                 from ../../src/sgml.cpp:31:
/usr/include/QtCore/qthreadstorage.h: In instantiation of ‘static void
QThreadStorage<T>::deleteData(void*) [with T =
std::map<std::__cxx11::basic_string<wchar_t>,
std::__cxx11::basic_string<wchar_t> >]’:
/usr/include/QtCore/qthreadstorage.h:136:43:   required from
‘QThreadStorage<T>::QThreadStorage() [with T =
std::map<std::__cxx11::basic_string<wchar_t>,
std::__cxx11::basic_string<wchar_t> >]’
../../src/sgml.cpp:140:36:   required from here
/usr/include/QtCore/qthreadstorage.h:133:7: error: no matching function for
call to ‘std::map<std::__cxx11::basic_string<wchar_t>,
std::__cxx11::basic_string<wchar_t> >::map(void*&)’
     { delete static_cast<T>(x); }
       ^
In file included from
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/map:61:0,
                 from ../../src/Buffer.h:21,
                 from ../../src/sgml.cpp:16:
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:273:9:
note: candidate: template<class _InputIterator> std::map<_Key, _Tp,
_Compare, _Alloc>::map(_InputIterator, _InputIterator, const _Compare&,
const allocator_type&)
         map(_InputIterator __first, _InputIterator __last,
         ^
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:273:9:
note:   template argument deduction/substitution failed:
In file included from /usr/include/QtCore/QThreadStorage:1:0,
                 from ../../src/sgml.cpp:31:
/usr/include/QtCore/qthreadstorage.h:133:7: note:   candidate expects 4
arguments, 1 provided
     { delete static_cast<T>(x); }
       ^
In file included from
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/map:61:0,
                 from ../../src/Buffer.h:21,
                 from ../../src/sgml.cpp:16:
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:256:9:
note: candidate: template<class _InputIterator> std::map<_Key, _Tp,
_Compare, _Alloc>::map(_InputIterator, _InputIterator)
         map(_InputIterator __first, _InputIterator __last)
         ^
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:256:9:
note:   template argument deduction/substitution failed:
In file included from /usr/include/QtCore/QThreadStorage:1:0,
                 from ../../src/sgml.cpp:31:
/usr/include/QtCore/qthreadstorage.h:133:7: note:   candidate expects 2
arguments, 1 provided
     { delete static_cast<T>(x); }
       ^
In file included from
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/map:61:0,
                 from ../../src/Buffer.h:21,
                 from ../../src/sgml.cpp:16:
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:239:9:
note: candidate: template<class _InputIterator> std::map<_Key, _Tp,
_Compare, _Alloc>::map(_InputIterator, _InputIterator, const
allocator_type&)
         map(_InputIterator __first, _InputIterator __last,
         ^
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:239:9:
note:   template argument deduction/substitution failed:
In file included from /usr/include/QtCore/QThreadStorage:1:0,
                 from ../../src/sgml.cpp:31:
/usr/include/QtCore/qthreadstorage.h:133:7: note:   candidate expects 3
arguments, 1 provided
     { delete static_cast<T>(x); }
       ^
In file included from
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/map:61:0,
                 from ../../src/Buffer.h:21,
                 from ../../src/sgml.cpp:16:
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:233:7:
note: candidate: std::map<_Key, _Tp, _Compare,
_Alloc>::map(std::initializer_list<std::pair<const _Key, _Tp> >, const
allocator_type&) [with _Key = std::__cxx11::basic_string<wchar_t>; _Tp =
std::__cxx11::basic_string<wchar_t>; _Compare =
std::less<std::__cxx11::basic_string<wchar_t> >; _Alloc =
std::allocator<std::pair<const std::__cxx11::basic_string<wchar_t>,
std::__cxx11::basic_string<wchar_t> > >; std::map<_Key, _Tp, _Compare,
_Alloc>::allocator_type = std::allocator<std::pair<const
std::__cxx11::basic_string<wchar_t>, std::__cxx11::basic_string<wchar_t> >
>]
       map(initializer_list<value_type> __l, const allocator_type& __a)
       ^
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:233:7:
note:   candidate expects 2 arguments, 1 provided
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:227:7:
note: candidate: std::map<_Key, _Tp, _Compare, _Alloc>::map(std::map<_Key,
_Tp, _Compare, _Alloc>&&, const allocator_type&) [with _Key =
std::__cxx11::basic_string<wchar_t>; _Tp =
std::__cxx11::basic_string<wchar_t>; _Compare =
std::less<std::__cxx11::basic_string<wchar_t> >; _Alloc =
std::allocator<std::pair<const std::__cxx11::basic_string<wchar_t>,
std::__cxx11::basic_string<wchar_t> > >; std::map<_Key, _Tp, _Compare,
_Alloc>::allocator_type = std::allocator<std::pair<const
std::__cxx11::basic_string<wchar_t>, std::__cxx11::basic_string<wchar_t> >
>]
       map(map&& __m, const allocator_type& __a)
       ^
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:227:7:
note:   candidate expects 2 arguments, 1 provided
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:223:7:
note: candidate: std::map<_Key, _Tp, _Compare, _Alloc>::map(const
std::map<_Key, _Tp, _Compare, _Alloc>&, const allocator_type&) [with _Key =
std::__cxx11::basic_string<wchar_t>; _Tp =
std::__cxx11::basic_string<wchar_t>; _Compare =
std::less<std::__cxx11::basic_string<wchar_t> >; _Alloc =
std::allocator<std::pair<const std::__cxx11::basic_string<wchar_t>,
std::__cxx11::basic_string<wchar_t> > >; std::map<_Key, _Tp, _Compare,
_Alloc>::allocator_type = std::allocator<std::pair<const
std::__cxx11::basic_string<wchar_t>, std::__cxx11::basic_string<wchar_t> >
>]
       map(const map& __m, const allocator_type& __a)
       ^
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:223:7:
note:   candidate expects 2 arguments, 1 provided
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:219:7:
note: candidate: std::map<_Key, _Tp, _Compare, _Alloc>::map(const
allocator_type&) [with _Key = std::__cxx11::basic_string<wchar_t>; _Tp =
std::__cxx11::basic_string<wchar_t>; _Compare =
std::less<std::__cxx11::basic_string<wchar_t> >; _Alloc =
std::allocator<std::pair<const std::__cxx11::basic_string<wchar_t>,
std::__cxx11::basic_string<wchar_t> > >; std::map<_Key, _Tp, _Compare,
_Alloc>::allocator_type = std::allocator<std::pair<const
std::__cxx11::basic_string<wchar_t>, std::__cxx11::basic_string<wchar_t> >
>]
       map(const allocator_type& __a)
       ^
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:219:7:
note:   no known conversion for argument 1 from ‘void*’ to ‘const
allocator_type& {aka const std::allocator<std::pair<const
std::__cxx11::basic_string<wchar_t>, std::__cxx11::basic_string<wchar_t> >
>&}’
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:211:7:
note: candidate: std::map<_Key, _Tp, _Compare,
_Alloc>::map(std::initializer_list<std::pair<const _Key, _Tp> >, const
_Compare&, const allocator_type&) [with _Key =
std::__cxx11::basic_string<wchar_t>; _Tp =
std::__cxx11::basic_string<wchar_t>; _Compare =
std::less<std::__cxx11::basic_string<wchar_t> >; _Alloc =
std::allocator<std::pair<const std::__cxx11::basic_string<wchar_t>,
std::__cxx11::basic_string<wchar_t> > >; std::map<_Key, _Tp, _Compare,
_Alloc>::allocator_type = std::allocator<std::pair<const
std::__cxx11::basic_string<wchar_t>, std::__cxx11::basic_string<wchar_t> >
>]
       map(initializer_list<value_type> __l,
       ^
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:211:7:
note:   no known conversion for argument 1 from ‘void*’ to
‘std::initializer_list<std::pair<const std::__cxx11::basic_string<wchar_t>,
std::__cxx11::basic_string<wchar_t> > >’
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:196:7:
note: candidate: std::map<_Key, _Tp, _Compare, _Alloc>::map(std::map<_Key,
_Tp, _Compare, _Alloc>&&) [with _Key = std::__cxx11::basic_string<wchar_t>;
_Tp = std::__cxx11::basic_string<wchar_t>; _Compare =
std::less<std::__cxx11::basic_string<wchar_t> >; _Alloc =
std::allocator<std::pair<const std::__cxx11::basic_string<wchar_t>,
std::__cxx11::basic_string<wchar_t> > >]
       map(map&& __x)
       ^
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:196:7:
note:   no known conversion for argument 1 from ‘void*’ to
‘std::map<std::__cxx11::basic_string<wchar_t>,
std::__cxx11::basic_string<wchar_t> >&&’
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:185:7:
note: candidate: std::map<_Key, _Tp, _Compare, _Alloc>::map(const
std::map<_Key, _Tp, _Compare, _Alloc>&) [with _Key =
std::__cxx11::basic_string<wchar_t>; _Tp =
std::__cxx11::basic_string<wchar_t>; _Compare =
std::less<std::__cxx11::basic_string<wchar_t> >; _Alloc =
std::allocator<std::pair<const std::__cxx11::basic_string<wchar_t>,
std::__cxx11::basic_string<wchar_t> > >]
       map(const map& __x)
       ^
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:185:7:
note:   no known conversion for argument 1 from ‘void*’ to ‘const
std::map<std::__cxx11::basic_string<wchar_t>,
std::__cxx11::basic_string<wchar_t> >&’
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:174:7:
note: candidate: std::map<_Key, _Tp, _Compare, _Alloc>::map(const
_Compare&, const allocator_type&) [with _Key =
std::__cxx11::basic_string<wchar_t>; _Tp =
std::__cxx11::basic_string<wchar_t>; _Compare =
std::less<std::__cxx11::basic_string<wchar_t> >; _Alloc =
std::allocator<std::pair<const std::__cxx11::basic_string<wchar_t>,
std::__cxx11::basic_string<wchar_t> > >; std::map<_Key, _Tp, _Compare,
_Alloc>::allocator_type = std::allocator<std::pair<const
std::__cxx11::basic_string<wchar_t>, std::__cxx11::basic_string<wchar_t> >
>]
       map(const _Compare& __comp,
       ^
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:174:7:
note:   no known conversion for argument 1 from ‘void*’ to ‘const
std::less<std::__cxx11::basic_string<wchar_t> >&’
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:162:7:
note: candidate: std::map<_Key, _Tp, _Compare, _Alloc>::map() [with _Key =
std::__cxx11::basic_string<wchar_t>; _Tp =
std::__cxx11::basic_string<wchar_t>; _Compare =
std::less<std::__cxx11::basic_string<wchar_t> >; _Alloc =
std::allocator<std::pair<const std::__cxx11::basic_string<wchar_t>,
std::__cxx11::basic_string<wchar_t> > >]
       map()
       ^
/opt/local/contrib/gcc/rhel6_64/5.3.0/include/c++/5.3.0/bits/stl_map.h:162:7:
note:   candidate expects 0 arguments, 1 provided
In file included from /usr/include/QtCore/QThreadStorage:1:0,
                 from ../../src/sgml.cpp:31:
/usr/include/QtCore/qthreadstorage.h: In instantiation of ‘static void
QThreadStorage<T>::deleteData(void*) [with T = int]’:
/usr/include/QtCore/qthreadstorage.h:136:43:   required from
‘QThreadStorage<T>::QThreadStorage() [with T = int]’
../../src/sgml.cpp:141:29:   required from here
/usr/include/QtCore/qthreadstorage.h:133:7: error: invalid static_cast from
type ‘void*’ to type ‘int’
     { delete static_cast<T>(x); }
       ^
make[4]: *** [sgml.o] Error 1
make[4]: Leaving directory `/home/jkulesza/SRC/lyx220/build/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/jkulesza/SRC/lyx220/build/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jkulesza/SRC/lyx220/build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jkulesza/SRC/lyx220/build'
make: *** [all] Error 2

Reply via email to