From: Richard U. <ri...@pa...> - 2009-08-20 20:12:44
|
> Date: Wed, 19 Aug 2009 15:26:09 -0400 > From: Braden McDaniel <br...@en...> > Subject: Re: [openvrml-develop] compiling on ubuntu > To: ope...@li... > Message-ID: <4A8...@en...> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 8/19/09 8:57 AM, Richard Ulrich wrote: > > Hi all, > > > > I tried to compile openvrml on ubuntu 9.04 today. > > Most of the errors from running the configure script I could resolve > > myself. But I couldn't figure out what to do about this one: > > > > configure:21401: $PKG_CONFIG --exists --print-errors "mozilla-plugin>= > > 1.9.1" > > Package mozilla-plugin was not found in the pkg-config search path. > > Perhaps you should add the directory containing `mozilla-plugin.pc' > > to the PKG_CONFIG_PATH environment variable > > No package 'mozilla-plugin' found > > > > There is no mozilla-plugin package in the ubuntu repositories, and I > > couldn't figure out which one to use instead. > > On Fedora this is included in the xulrunner-devel package; Ubuntu should > have something similar. > Hi Braden, thanks for the info, that got me one step further. The default version of xulrunner on ubuntu 9.04 is 1.9.0, although there is a package for version 1.9.1 which I installed now. But now I get an error that I need spidermonkey. Trying to install the spidermonkey package tells me that it has to remove xulrunner 1.9.1. So, I have the impression, that It's not possible to build openvrml on ubuntu 9.04 with the libraries from the repositories. Could this be correct, or did somebody succeed? Rgds Richard |
From: <lbu...@co...> - 2009-09-12 01:59:27
|
I've been trying to build OpenVRML on both Ubuntu 9.0.4 and RedHat 5.3 without success. I've tried to narrow things down to the bare essentials with the following configure: ./configure --disable-mozilla-plugin --disable-script-node-javascript --disable-script-node-java --disable-player --disable-xembed This gets me through configure without complaint on both systems, but gives me compile errors. Here I must beg for insight. O n Ubuntu I've gotten: libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src/libopenvrml -I../src/libopenvrml -I../src/local/libopenvrml-dl -DOPENVRML_LIBDIR_=\"/usr/local/lib\" -DOPENVRML_PKGDATADIR_=\"/usr/local/share/openvrml\" -DOPENVRML_PKGLIBDIR_=\"/usr/local/lib/openvrml\" -DBOOST_MPL_CFG_NO_PREPROCESSED_HEADERS -DBOOST_MPL_LIMIT_VECTOR_SIZE=30 -I/usr/include/freetype2 -pthread -I/usr/include/libxml2 -g -O2 -MT libopenvrml/openvrml/libopenvrml_libopenvrml_la-basetypes.lo -MD -MP -MF libopenvrml/openvrml/.deps/libopenvrml_libopenvrml_la-basetypes.Tpo -c libopenvrml/openvrml/basetypes.cpp -fPIC -DPIC -o libopenvrml/openvrml/.libs/libopenvrml_libopenvrml_la-basetypes.o In file included from libopenvrml/openvrml/x3d_vrml_grammar.h:24, from libopenvrml/openvrml/basetypes.cpp:23: ../src/libopenvrml/openvrml/vrml97_grammar.h:25:47: error: boost/spirit/include/classic.hpp: No such file or directory ../src/libopenvrml/openvrml/vrml97_grammar.h:26:53: error: boost/spirit/include/classic_actor.hpp: No such file or directory ../src/libopenvrml/openvrml/vrml97_grammar.h:27:55: error: boost/spirit/include/classic_dynamic.hpp: No such file or directory ../src/libopenvrml/openvrml/vrml97_grammar.h:28:48: error: boost/spirit/include/phoenix1.hpp: No such file or directory In file included from libopenvrml/openvrml/x3d_vrml_grammar.h:24, from libopenvrml/openvrml/basetypes.cpp:23: ../src/libopenvrml/openvrml/vrml97_grammar.h:35: error: 'boost::spirit' has not been declared ../src/libopenvrml/openvrml/vrml97_grammar.h:35: error: expected `{' before 'char_parser' ../src/libopenvrml/openvrml/vrml97_grammar.h:35: error: expected initializer before '<' token libopenvrml/openvrml/basetypes.cpp:5050: error: expected `}' at end of input On RedHat I had to edit the configure script to edit out the -mt from the BOOST_LIB_SUFFIX (set to empty string to use the installed "libboost_thread.a"). There I end up with: /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:1444: instantiated from 'void std::deque<_Tp, _Alloc>::_M_reserve_map_at_back(size_t) [with _Tp = openvrml::local::vrml97_parse_actions::node_data, _Alloc = std::allocator<openvrml::local::vrml97_parse_actions::node_data>]'^M /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/deque.tcc:348: instantiated from 'void std::deque<_Tp, _Alloc>::_M_push_back_aux(const _Tp&) [with _Tp = openvrml::local::vrml97_parse_actions::node_data, _Alloc = std::allocator<openvrml::local::vrml97_parse_actions::node_data>]'^M /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:1045: instantiated from 'void std::deque<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = openvrml::local::vrml97_parse_actions::node_data, _Alloc = std::allocator<openvrml::local::vrml97_parse_actions::node_data>]'^M /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_stack.h:191: instantiated from 'void std::stack<_Tp, _Sequence>::push(const typename _Sequence::value_type&) [with _Tp = openvrml::local::vrml97_parse_actions::node_data, _Sequence = std::deque<openvrml::local::vrml97_parse_actions::node_data, std::allocator<openvrml::local::vrml97_parse_actions::node_data> >]'^M ../src/libopenvrml/openvrml/local/parse_vrml.h:285: instantiated from here^M /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algobase.h:298: warning: lowering visibility of 'static _Tp* std::__copy<true, std::random_access_iterator_tag>::copy(const _Tp*, const _Tp*, _Tp*) [with _Tp = openvrml::local::vrml97_parse_actions::node_data*]' to match its type^M /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algobase.h: In static member function 'static _Tp* std::__copy_backward<true, std::random_access_iterator_tag>::copy_b(const _Tp*, const _Tp*, _Tp*) [with _Tp = openvrml::local::vrml97_parse_actions::node_data*]':^M /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algobase.h:443: instantiated from '_BI2 std::__copy_backward_aux(_BI1, _BI1, _BI2) [with _BI1 = openvrml::local::vrml97_parse_actions::node_data**, _BI2 = openvrml::local::vrml97_parse_actions::node_data**]'^M /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algobase.h:452: instantiated from 'static _BI2 std::__copy_backward_normal<<anonymous>, <anonymous> >::copy_b_n(_BI1, _BI1, _BI2) [with _BI1 = openvrml::local::vrml97_parse_actions::node_data**, _BI2 = openvrml::local::vrml97_parse_actions::node_data**, bool <anonymous> = false, bool <anonymous> = false]'^M /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algobase.h:517: instantiated from '_BI2 std::copy_backward(_BI1, _BI1, _BI2) [with _BI1 = openvrml::local::vrml97_parse_actions::node_data**, _BI2 = openvrml::local::vrml97_parse_actions::node_data**]'^M /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/deque.tcc:740: instantiated from 'void std::deque<_Tp, _Alloc>::_M_reallocate_map(size_t, bool) [with _Tp = openvrml::local::vrml97_parse_actions::node_data, _Alloc = std::allocator<openvrml::local::vrml97_parse_actions::node_data>]'^M /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:1444: instantiated from 'void std::deque<_Tp, _Alloc>::_M_reserve_map_at_back(size_t) [with _Tp = openvrml::local::vrml97_parse_actions::node_data, _Alloc = std::allocator<openvrml::local::vrml97_parse_actions::node_data>]'^M /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/deque.tcc:348: instantiated from 'void std::deque<_Tp, _Alloc>::_M_push_back_aux(const _Tp&) [with _Tp = openvrml::local::vrml97_parse_actions::node_data, _Alloc = std::allocator<openvrml::local::vrml97_parse_actions::node_data>]'^M /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:1045: instantiated from 'void std::deque<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = openvrml::local::vrml97_parse_actions::node_data, _Alloc = std::allocator<openvrml::local::vrml97_parse_actions::node_data>]'^M /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_stack.h:191: instantiated from 'void std::stack<_Tp, _Sequence>::push(const typename _Sequence::value_type&) [with _Tp = openvrml::local::vrml97_parse_actions::node_data, _Sequence = std::deque<openvrml::local::vrml97_parse_actions::node_data, std::allocator<openvrml::local::vrml97_parse_actions::node_data> >]'^M ../src/libopenvrml/openvrml/local/parse_vrml.h:285: instantiated from here^M /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algobase.h:422: warning: lowering visibility of 'static _Tp* std::__copy_backward<true, std::random_access_iterator_tag>::copy_b(const _Tp*, const _Tp*, _Tp*) [with _Tp = openvrml::local::vrml97_parse_actions::node_data*]' to match its type^M make[4]: *** [libopenvrml/openvrml/libopenvrml_libopenvrml_la-scene.lo] Error 1^M make[4]: Leaving directory `/home/butler/src/vrml/openvrml-0.18.3/src'^M make[3]: *** [all-recursive] Error 1^M make[3]: Leaving directory `/home/butler/src/vrml/openvrml-0.18.3/src'^M make[2]: *** [all] Error 2^M make[2]: Leaving directory `/home/butler/src/vrml/openvrml-0.18.3/src'^M make[1]: *** [all-recursive] Error 1^M make[1]: Leaving directory `/home/butler/src/vrml/openvrml-0.18.3'^M |
From: Braden M. <br...@en...> - 2009-09-12 04:35:38
|
On Sat, 2009-09-12 at 01:59 +0000, lbu...@co... wrote: > I've been trying to build OpenVRML on both Ubuntu 9.0.4 and RedHat 5.3 without success. I've tried to narrow things down to the bare essentials with the following configure: > > ./configure --disable-mozilla-plugin --disable-script-node-javascript --disable-script-node-java --disable-player --disable-xembed > > This gets me through configure without complaint on both systems, but gives me compile errors. Here I must beg for insight. > > O n Ubuntu I've gotten: > > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src/libopenvrml -I../src/libopenvrml -I../src/local/libopenvrml-dl -DOPENVRML_LIBDIR_=\"/usr/local/lib\" -DOPENVRML_PKGDATADIR_=\"/usr/local/share/openvrml\" -DOPENVRML_PKGLIBDIR_=\"/usr/local/lib/openvrml\" -DBOOST_MPL_CFG_NO_PREPROCESSED_HEADERS -DBOOST_MPL_LIMIT_VECTOR_SIZE=30 -I/usr/include/freetype2 -pthread -I/usr/include/libxml2 -g -O2 -MT libopenvrml/openvrml/libopenvrml_libopenvrml_la-basetypes.lo -MD -MP -MF libopenvrml/openvrml/.deps/libopenvrml_libopenvrml_la-basetypes.Tpo -c libopenvrml/openvrml/basetypes.cpp -fPIC -DPIC -o libopenvrml/openvrml/.libs/libopenvrml_libopenvrml_la-basetypes.o > In file included from libopenvrml/openvrml/x3d_vrml_grammar.h:24, > from libopenvrml/openvrml/basetypes.cpp:23: > ../src/libopenvrml/openvrml/vrml97_grammar.h:25:47: error: boost/spirit/include/classic.hpp: No such file or directory > ../src/libopenvrml/openvrml/vrml97_grammar.h:26:53: error: boost/spirit/include/classic_actor.hpp: No such file or directory > ../src/libopenvrml/openvrml/vrml97_grammar.h:27:55: error: boost/spirit/include/classic_dynamic.hpp: No such file or directory > ../src/libopenvrml/openvrml/vrml97_grammar.h:28:48: error: boost/spirit/include/phoenix1.hpp: No such file or directory > In file included from libopenvrml/openvrml/x3d_vrml_grammar.h:24, > from libopenvrml/openvrml/basetypes.cpp:23: > ../src/libopenvrml/openvrml/vrml97_grammar.h:35: error: 'boost::spirit' has not been declared > ../src/libopenvrml/openvrml/vrml97_grammar.h:35: error: expected `{' before 'char_parser' > ../src/libopenvrml/openvrml/vrml97_grammar.h:35: error: expected initializer before '<' token > libopenvrml/openvrml/basetypes.cpp:5050: error: expected `}' at end of input I'm guessing your Boost version is too old. As documented in README, you need at least 1.37. If that's not the problem, then there's probably some development package with Boost Spirit headers in it that you're missing. > On RedHat I had to edit the configure script to edit out the -mt from the BOOST_LIB_SUFFIX (set to empty string to use the installed "libboost_thread.a"). ".a"? Is that installed from a Red Hat rpm, or did you build that yourself? And you don't need to edit the configure script. You can just set BOOST_LIB_SUFFIX at configure time; e.g.: $ configure BOOST_LIB_SUFFIX='' > There I end up with: > > /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:1444: instantiated from 'void std::deque<_Tp, _Alloc>::_M_reserve_map_at_back(size_t) [with _Tp = openvrml::local::vrml97_parse_actions::node_data, _Alloc = std::allocator<openvrml::local::vrml97_parse_actions::node_data>]'^M > /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/deque.tcc:348: instantiated from 'void std::deque<_Tp, _Alloc>::_M_push_back_aux(const _Tp&) [with _Tp = openvrml::local::vrml97_parse_actions::node_data, _Alloc = std::allocator<openvrml::local::vrml97_parse_actions::node_data>]'^M > /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:1045: instantiated from 'void std::deque<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = openvrml::local::vrml97_parse_actions::node_data, _Alloc = std::allocator<openvrml::local::vrml97_parse_actions::node_data>]'^M > /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_stack.h:191: instantiated from 'void std::stack<_Tp, _Sequence>::push(const typename _Sequence::value_type&) [with _Tp = openvrml::local::vrml97_parse_actions::node_data, _Sequence = std::deque<openvrml::local::vrml97_parse_actions::node_data, std::allocator<openvrml::local::vrml97_parse_actions::node_data> >]'^M > ../src/libopenvrml/openvrml/local/parse_vrml.h:285: instantiated from here^M > /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algobase.h:298: warning: lowering visibility of 'static _Tp* std::__copy<true, std::random_access_iterator_tag>::copy(const _Tp*, const _Tp*, _Tp*) [with _Tp = openvrml::local::vrml97_parse_actions::node_data*]' to match its type^M > /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algobase.h: In static member function 'static _Tp* std::__copy_backward<true, std::random_access_iterator_tag>::copy_b(const _Tp*, const _Tp*, _Tp*) [with _Tp = openvrml::local::vrml97_parse_actions::node_data*]':^M > /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algobase.h:443: instantiated from '_BI2 std::__copy_backward_aux(_BI1, _BI1, _BI2) [with _BI1 = openvrml::local::vrml97_parse_actions::node_data**, _BI2 = openvrml::local::vrml97_parse_actions::node_data**]'^M > /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algobase.h:452: instantiated from 'static _BI2 std::__copy_backward_normal<<anonymous>, <anonymous> >::copy_b_n(_BI1, _BI1, _BI2) [with _BI1 = openvrml::local::vrml97_parse_actions::node_data**, _BI2 = openvrml::local::vrml97_parse_actions::node_data**, bool <anonymous> = false, bool <anonymous> = false]'^M > /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algobase.h:517: instantiated from '_BI2 std::copy_backward(_BI1, _BI1, _BI2) [with _BI1 = openvrml::local::vrml97_parse_actions::node_data**, _BI2 = openvrml::local::vrml97_parse_actions::node_data**]'^M > /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/deque.tcc:740: instantiated from 'void std::deque<_Tp, _Alloc>::_M_reallocate_map(size_t, bool) [with _Tp = openvrml::local::vrml97_parse_actions::node_data, _Alloc = std::allocator<openvrml::local::vrml97_parse_actions::node_data>]'^M > /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:1444: instantiated from 'void std::deque<_Tp, _Alloc>::_M_reserve_map_at_back(size_t) [with _Tp = openvrml::local::vrml97_parse_actions::node_data, _Alloc = std::allocator<openvrml::local::vrml97_parse_actions::node_data>]'^M > /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/deque.tcc:348: instantiated from 'void std::deque<_Tp, _Alloc>::_M_push_back_aux(const _Tp&) [with _Tp = openvrml::local::vrml97_parse_actions::node_data, _Alloc = std::allocator<openvrml::local::vrml97_parse_actions::node_data>]'^M > /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:1045: instantiated from 'void std::deque<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = openvrml::local::vrml97_parse_actions::node_data, _Alloc = std::allocator<openvrml::local::vrml97_parse_actions::node_data>]'^M > /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_stack.h:191: instantiated from 'void std::stack<_Tp, _Sequence>::push(const typename _Sequence::value_type&) [with _Tp = openvrml::local::vrml97_parse_actions::node_data, _Sequence = std::deque<openvrml::local::vrml97_parse_actions::node_data, std::allocator<openvrml::local::vrml97_parse_actions::node_data> >]'^M > ../src/libopenvrml/openvrml/local/parse_vrml.h:285: instantiated from here^M > /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algobase.h:422: warning: lowering visibility of 'static _Tp* std::__copy_backward<true, std::random_access_iterator_tag>::copy_b(const _Tp*, const _Tp*, _Tp*) [with _Tp = openvrml::local::vrml97_parse_actions::node_data*]' to match its type^M > make[4]: *** [libopenvrml/openvrml/libopenvrml_libopenvrml_la-scene.lo] Error 1^M > make[4]: Leaving directory `/home/butler/src/vrml/openvrml-0.18.3/src'^M > make[3]: *** [all-recursive] Error 1^M > make[3]: Leaving directory `/home/butler/src/vrml/openvrml-0.18.3/src'^M > make[2]: *** [all] Error 2^M > make[2]: Leaving directory `/home/butler/src/vrml/openvrml-0.18.3/src'^M > make[1]: *** [all-recursive] Error 1^M > make[1]: Leaving directory `/home/butler/src/vrml/openvrml-0.18.3'^M Something must have gotten cut off here. Obviously there was an error, but the only messages printed out are warnings. -- Braden McDaniel <br...@en...> |
From: Braden M. <br...@en...> - 2009-08-25 03:40:59
|
On Thu, 2009-08-20 at 22:09 +0200, Richard Ulrich wrote: > > Date: Wed, 19 Aug 2009 15:26:09 -0400 > > From: Braden McDaniel <br...@en...> > > Subject: Re: [openvrml-develop] compiling on ubuntu > > To: ope...@li... > > Message-ID: <4A8...@en...> > > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > > On 8/19/09 8:57 AM, Richard Ulrich wrote: > > > Hi all, > > > > > > I tried to compile openvrml on ubuntu 9.04 today. > > > Most of the errors from running the configure script I could resolve > > > myself. But I couldn't figure out what to do about this one: > > > > > > configure:21401: $PKG_CONFIG --exists --print-errors "mozilla-plugin>= > > > 1.9.1" > > > Package mozilla-plugin was not found in the pkg-config search path. > > > Perhaps you should add the directory containing `mozilla-plugin.pc' > > > to the PKG_CONFIG_PATH environment variable > > > No package 'mozilla-plugin' found > > > > > > There is no mozilla-plugin package in the ubuntu repositories, and I > > > couldn't figure out which one to use instead. > > > > On Fedora this is included in the xulrunner-devel package; Ubuntu should > > have something similar. > > > > Hi Braden, > > thanks for the info, that got me one step further. > The default version of xulrunner on ubuntu 9.04 is 1.9.0, although there > is a package for version 1.9.1 which I installed now. > But now I get an error that I need spidermonkey. > Trying to install the spidermonkey package tells me that it has to > remove xulrunner 1.9.1. SpiderMonkey is included with XULRunner; if the package on Ubuntu that provides XULRunner development headers does not also include the mozilla-js.pc file for pkg-config, it sounds like the Ubuntu package is broken. SpiderMonkey is also found packaged by itself; in this incarnation, the library name is normally "libjs". (The version included with XULRunner is named "libmozjs".) If you want to use this stand-alone SpiderMonkey with OpenVRML, pass "--with-libjs" to configure. > So, I have the impression, that It's not possible to build openvrml on > ubuntu 9.04 with the libraries from the repositories. > Could this be correct, or did somebody succeed? I'm not familiar with Ubuntu. Having the package that provides libjs conflict with XULRunner would be an implementation choice that particular distribution has made. But it's not clear to me why the SpiderMonkey that gets provided with XULRunner (that is, libmozjs) isn't usable. -- Braden McDaniel <br...@en...> |