Lars Gullik Bjønnes wrote:

> 
> And where does this package install the header files, what are the
> boost libs called?

I have not installed it. (I've only untarred it in some random place DIR).
Then boost headers go to $DIR/boost/boost

> It is very easy really... from boost CVS copy the graph dirs to the
> correct (the same) spot in the lyx boost tree.

Already tried that, (I've copied graph/ random/ pending/ to boost/boost). I
report the errors I get below.

> I think that BGL is only a header lib, so there should be no lib
> building to worry about.

Yes, this is true.

Errors I get:

-some kind of namespace 'detail' clash in
frontends/controllers/helper_funcs.h (I've changed namespace detail to
namespace lyx_detail in that file)

-this:

source='../../../src/insets/insetgraphics.C' object='insetgraphics.lo'
libtool=yes \
depfile='.deps/insetgraphics.Plo' tmpdepfile='.deps/insetgraphics.TPlo' \
depmode=gcc3 /bin/sh ../../../config/depcomp \
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../../src/insets -I../../src -I../../../src/insets/../
-I../../../boost  -I/usr/X11R6/include  -g -O -fno-exceptions
-ftemplate-depth-30 -Wno-non-template-friend -W -Wall -c -o
insetgraphics.lo `test -f '../../../src/insets/insetgraphics.C' || echo
'../../../src/insets/'`../../../src/insets/insetgraphics.C
g++ -DHAVE_CONFIG_H -I. -I../../../src/insets -I../../src
-I../../../src/insets/../ -I../../../boost -I/usr/X11R6/include -g -O
-fno-exceptions -ftemplate-depth-30 -Wno-non-template-friend -W -Wall -c
../../../src/insets/insetgraphics.C -MT insetgraphics.lo -MD -MP -MF
.deps/insetgraphics.TPlo
In file included from ../../../src/converter.h:16,
                 from ../../../src/insets/insetgraphics.C:66:
../../../boost/boost/detail/numeric_traits.hpp: In instantiation of
`boost::detail::is_signed<size_t>':
../../../boost/boost/detail/numeric_traits.hpp:179:   instantiated from
`boost::detail::integer_traits<size_t>'
../../../boost/boost/detail/numeric_traits.hpp:187:   instantiated from
`boost::detail::numeric_traits<size_t>'
../../../boost/boost/counting_iterator.hpp:95:   instantiated from
`boost::detail::counting_iterator_traits_select<true>::traits<size_t>'
../../../boost/boost/counting_iterator.hpp:175:   instantiated from
`boost::counting_iterator_traits<size_t>'
../../../boost/boost/counting_iterator.hpp:214:   instantiated from
`boost::counting_iterator_generator<size_t>'
../../../boost/boost/pending/integer_range.hpp:24:   instantiated from
`boost::integer_range<size_t>'
../../../boost/boost/graph/detail/adjacency_list.hpp:2015:   instantiated
from `boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS,
boost::vecS, boost::directedS, boost::no_property,
boost::property<boost::edge_weight_t, EdgeWeight,
boost::property<boost::edge_name_t, int,
boost::property<boost::vertex_name_t, int, boost::no_property> > >,
boost::no_property, boost::listS>, boost::vecS, boost::vecS,
boost::directedS, boost::no_property, boost::property<boost::edge_weight_t,
EdgeWeight, boost::property<boost::edge_name_t, int,
boost::property<boost::vertex_name_t, int, boost::no_property> > >,
boost::no_property, boost::listS>::config'
../../../boost/boost/graph/detail/adjacency_list.hpp:390:   instantiated
from
`boost::directed_edges_helper<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS,
boost::vecS, boost::directedS, boost::no_property,
boost::property<boost::edge_weight_t, EdgeWeight,
boost::property<boost::edge_name_t, int,
boost::property<boost::vertex_name_t, int, boost::no_property> > >,
boost::no_property, boost::listS>, boost::vecS, boost::vecS,
boost::directedS, boost::no_property, boost::property<boost::edge_weight_t,
EdgeWeight, boost::property<boost::edge_name_t, int,
boost::property<boost::vertex_name_t, int, boost::no_property> > >,
boost::no_property, boost::listS>::config>'
../../../boost/boost/graph/graph_traits.hpp:38:   instantiated from
`boost::directed_graph_helper<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS,
boost::vecS, boost::directedS, boost::no_property,
boost::property<boost::edge_weight_t, EdgeWeight,
boost::property<boost::edge_name_t, int,
boost::property<boost::vertex_name_t, int, boost::no_property> > >,
boost::no_property, boost::listS>, boost::vecS, boost::vecS,
boost::directedS, boost::no_property, boost::property<boost::edge_weight_t,
EdgeWeight, boost::property<boost::edge_name_t, int,
boost::property<boost::vertex_name_t, int, boost::no_property> > >,
boost::no_property, boost::listS>::config>'
../../../boost/boost/graph/graph_traits.hpp:38:   instantiated from
`boost::adj_list_helper<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS,
boost::vecS, boost::directedS, boost::no_property,
boost::property<boost::edge_weight_t, EdgeWeight,
boost::property<boost::edge_name_t, int,
boost::property<boost::vertex_name_t, int, boost::no_property> > >,
boost::no_property, boost::listS>, boost::vecS, boost::vecS,
boost::directedS, boost::no_property, boost::property<boost::edge_weight_t,
EdgeWeight, boost::property<boost::edge_name_t, int,
boost::property<boost::vertex_name_t, int, boost::no_property> > >,
boost::no_property, boost::listS>::config,
boost::directed_graph_helper<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS,
boost::vecS, boost::directedS, boost::no_property,
boost::property<boost::edge_weight_t, EdgeWeight,
boost::property<boost::edge_name_t, int,
boost::property<boost::vertex_name_t, int, boost::no_property> > >,
boost::no_property, boost::listS>, boost::vecS, boost::vecS,
boost::directedS, boost::no_property, boost::property<boost::edge_weight_t,
EdgeWeight, boost::property<boost::edge_name_t, int,
boost::property<boost::vertex_name_t, int, boost::no_property> > >,
boost::no_property, boost::listS>::config> >'
../../../boost/boost/graph/graph_traits.hpp:38:   instantiated from
`boost::vec_adj_list_impl<boost::adjacency_list<boost::vecS, boost::vecS,
boost::directedS, boost::no_property, boost::property<boost::edge_weight_t,
EdgeWeight, boost::property<boost::edge_name_t, int,
boost::property<boost::vertex_name_t, int, boost::no_property> > >,
boost::no_property, boost::listS>,
boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS,
boost::directedS, boost::no_property, boost::property<boost::edge_weight_t,
EdgeWeight, boost::property<boost::edge_name_t, int,
boost::property<boost::vertex_name_t, int, boost::no_property> > >,
boost::no_property, boost::listS>, boost::vecS, boost::vecS,
boost::directedS, boost::no_property, boost::property<boost::edge_weight_t,
EdgeWeight, boost::property<boost::edge_name_t, int,
boost::property<boost::vertex_name_t, int, boost::no_property> > >,
boost::no_property, boost::listS>::config,
boost::directed_graph_helper<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS,
boost::vecS, boost::directedS, boost::no_property,
boost::property<boost::edge_weight_t, EdgeWeight,
boost::property<boost::edge_name_t, int,
boost::property<boost::vertex_name_t, int, boost::no_property> > >,
boost::no_property, boost::listS>, boost::vecS, boost::vecS,
boost::directedS, boost::no_property, boost::property<boost::edge_weight_t,
EdgeWeight, boost::property<boost::edge_name_t, int,
boost::property<boost::vertex_name_t, int, boost::no_property> > >,
boost::no_property, boost::listS>::config> >'
../../../boost/boost/graph/graph_traits.hpp:38:   instantiated from
`boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS,
boost::no_property, boost::property<boost::edge_weight_t, EdgeWeight,
boost::property<boost::edge_name_t, int,
boost::property<boost::vertex_name_t, int, boost::no_property> > >,
boost::no_property, boost::listS>'
../../../boost/boost/graph/graph_traits.hpp:38:   instantiated from
`boost::graph_traits<boost::adjacency_list<boost::vecS, boost::vecS,
boost::directedS, boost::no_property, boost::property<boost::edge_weight_t,
EdgeWeight, boost::property<boost::edge_name_t, int,
boost::property<boost::vertex_name_t, int, boost::no_property> > >,
boost::no_property, boost::listS> >'
../../../src/graph.h:39:   instantiated from here
../../../boost/boost/detail/numeric_traits.hpp:85: warning: comparison of
unsigned expression < 0 is
always false
../../../boost/boost/detail/algorithm.hpp: In function `bool boost::contains
(const Container &, const
T &) [with Container = basic_string<char, string_char_traits<char>,
__default_alloc_template<true, 0>
>, T = const char[3]]':
../../../src/insets/insetgraphics.C:139:   instantiated from here
../../../boost/boost/detail/algorithm.hpp:164: no matching function for call
to `begin (const
basic_string<char, string_char_traits<char>, __default_alloc_template<true,
0> > &)'
../../../boost/boost/detail/algorithm.hpp:164: no matching function for call
to `end (const
basic_string<char, string_char_traits<char>, __default_alloc_template<true,
0> > &)'
../../../boost/boost/detail/algorithm.hpp: In function `bool boost::contains
(const Container &, const
T &) [with Container = string, T = const char[4]]':
../../../src/insets/insetgraphics.C:503:   instantiated from here
../../../boost/boost/detail/algorithm.hpp:164: no matching function for call
to `begin (const
basic_string<char, string_char_traits<char>, __default_alloc_template<true,
0> > &)'
../../../boost/boost/detail/algorithm.hpp:164: no matching function for call
to `end (const
basic_string<char, string_char_traits<char>, __default_alloc_template<true,
0> > &)'
../../../boost/boost/detail/algorithm.hpp: In function `bool boost::contains
(const Container &, const
T &) [with Container = string, T = const char[7]]':
../../../src/insets/insetgraphics.C:505:   instantiated from here
../../../boost/boost/detail/algorithm.hpp:164: no matching function for call
to `begin (const
basic_string<char, string_char_traits<char>, __default_alloc_template<true,
0> > &)'
../../../boost/boost/detail/algorithm.hpp:164: no matching function for call
to `end (const
basic_string<char, string_char_traits<char>, __default_alloc_template<true,
0> > &)'
../../../boost/boost/detail/algorithm.hpp: In function `bool boost::contains
(const Container &, const
T &) [with Container = string, T = const char[9]]':
../../../src/insets/insetgraphics.C:507:   instantiated from here
../../../boost/boost/detail/algorithm.hpp:164: no matching function for call
to `begin (const
basic_string<char, string_char_traits<char>, __default_alloc_template<true,
0> > &)'
../../../boost/boost/detail/algorithm.hpp:164: no matching function for call
to `end (const
basic_string<char, string_char_traits<char>, __default_alloc_template<true,
0> > &)'
make[2]: *** [insetgraphics.lo] Error 1
make[2]: Leaving directory `/usr/local/home/ab/lyx/lyx-qt/src/insets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/home/ab/lyx/lyx-qt/src'
make: *** [all] Error 2





Reply via email to