Anyway, I will try it today on a SuSE.

I have had a bunch of problems in the process of compiling lyx on suse 10.

1. when installing scons, python does not find distutils. It took me a
while to figure out that I need to install python-devel package.

2. qt is also divided into several smaller packages, and I have to
install qt-static  in addition to qt-devel.

3. there are /usr/include/linux/zlib.h and /usr/include/zlib.h. The
latter should be used. Adding -I/usr/include/linux will trigger tones
of error messages.

And, finally, I get error messages:

g++ -o debug/common/buffer.o -c -g -O -I/usr/lib/qt3/include
-Idebug/common -Isrc -Isrc -Iboost src/buffer.C
boost/boost/iostreams/filter/symmetric.hpp: In member function
'std::streamsize boost::iostreams::symmetric_filter<SymmetricFilter,
Alloc>::read(Source&, typename
boost::iostreams::char_type_of<T>::type*, std::streamsize) [with
Source = boost::iostreams::detail::linked_streambuf<char,
std::char_traits<char> >, SymmetricFilter =
boost::iostreams::detail::zlib_compressor_impl<std::allocator<char> >,
Alloc = std::allocator<char>]':
boost/boost/iostreams/filter/gzip.hpp:199:   instantiated from
'std::streamsize
boost::iostreams::basic_gzip_compressor<Alloc>::read(Source&, char*,
std::streamsize) [with Source =
boost::iostreams::detail::linked_streambuf<char,
std::char_traits<char> >, Alloc = std::allocator<char>]'
boost/boost/iostreams/read.hpp:215:   instantiated from 'static
std::streamsize
boost::iostreams::detail::read_filter_impl<boost::iostreams::multichar_tag>::read(T&,
Source&, typename boost::iostreams::char_type_of<T>::type*,
std::streamsize) [with T =
boost::iostreams::basic_gzip_compressor<std::allocator<char> >, Source
= boost::iostreams::detail::linked_streambuf<char,
std::char_traits<char> >]'
boost/boost/iostreams/read.hpp:56:   instantiated from
'std::streamsize boost::iostreams::read(T&, Source&, typename
boost::iostreams::char_type_of<T>::type*, std::streamsize) [with T =
boost::iostreams::basic_gzip_compressor<std::allocator<char> >, Source
= boost::iostreams::detail::linked_streambuf<char,
std::char_traits<char> >]'
boost/boost/iostreams/detail/adapter/concept_adapter.hpp:247:
instantiated from 'static std::streamsize
boost::iostreams::detail::flt_wrapper_impl<boost::iostreams::input>::read(Filter&,
Source*, typename boost::iostreams::char_type_of<T>::type*,
std::streamsize) [with Filter =
boost::iostreams::basic_gzip_compressor<std::allocator<char> >, Source
= boost::iostreams::detail::linked_streambuf<char,
std::char_traits<char> >]'
boost/boost/iostreams/detail/adapter/concept_adapter.hpp:74:
instantiated from 'std::streamsize
boost::iostreams::detail::concept_adapter<T>::read(typename
boost::iostreams::char_type_of<T>::type*, std::streamsize, Source*)
[with Source = boost::iostreams::detail::linked_streambuf<char,
std::char_traits<char> >, T =
boost::iostreams::basic_gzip_compressor<std::allocator<char> >]'
boost/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:250:
instantiated from 'typename
boost::iostreams::detail::indirect_streambuf<T, Tr, Alloc,
Mode>::int_type boost::iostreams::detail::indirect_streambuf<T, Tr,
Alloc, Mode>::underflow() [with T =
boost::iostreams::basic_gzip_compressor<std::allocator<char> >, Tr =
std::char_traits<char>, Alloc = std::allocator<char>, Mode =
boost::iostreams::output]'
src/buffer.C:1638:   instantiated from here
boost/boost/iostreams/filter/symmetric.hpp:112: error:
'boost::iostreams::symmetric_filter<boost::iostreams::detail::zlib_compressor_impl<std::allocator<char>
, std::allocator<char> >::<anonymous enum>' is/uses anonymous type
boost/boost/iostreams/filter/symmetric.hpp:112: error:   trying to
instantiate 'template<class T> struct boost::is_integral'
boost/boost/iostreams/filter/symmetric.hpp:124: error:
'boost::iostreams::symmetric_filter<boost::iostreams::detail::zlib_compressor_impl<std::allocator<char>
, std::allocator<char> >::<anonymous enum>' is/uses anonymous type
boost/boost/iostreams/filter/symmetric.hpp:124: error:   trying to
instantiate 'template<class T> struct boost::is_integral'
boost/boost/iostreams/filter/symmetric.hpp:131: error:
'boost::iostreams::symmetric_filter<boost::iostreams::detail::zlib_compressor_impl<std::allocator<char>
, std::allocator<char> >::<anonymous enum>' is/uses anonymous type
boost/boost/iostreams/filter/symmetric.hpp:131: error:   trying to
instantiate 'template<class T> struct boost::is_integral'


This suse 10 uses gcc 4.0.2-x86-64.

Cheers,
Bo

Reply via email to