Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 667
  • Last Modified:

"^" under boost during installation on Linux CentOS

Dear Expert,

I install boost into my directy with the following linux Centos command

tar xvzf boost_1_50_0.tar.gz
cd boost_1_50_0
./bootstrap.sh --prefix=../local --libdir=../local/lib
./bjam --layout=system install
export Boost_LIBRARYDIR=../local/include/boost/
cd ..

During installation, it will echo a lot of response from the shell as follows in code area
There is a lot character of "^"  under the character b of boost.
What is that meaning ? Is it installation error mesage ?
Do I need take care of those response ?

And last question why it took almost 1hour to finish boost installation. Is it normal
installation time?

Please advise and appreciated your help

Duncan
./boost/spirit/home/classic/phoenix/tuple_helpers.hpp: In function ‘TupleResultT phoenix::convert_actors(const ActorTupleT&)’:
./boost/static_assert.hpp:125:21: warning: typedef ‘boost_static_assert_typedef_509’ locally defined but not used [-Wunused-local-typedefs]
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
                     ^
./boost/spirit/home/classic/phoenix/tuple_helpers.hpp:509:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
     BOOST_STATIC_ASSERT(ActorTupleT::length <= TupleResultT::length);
     ^
./boost/spirit/home/classic/phoenix/tuple_helpers.hpp: In static member function ‘static phoenix::impl::convert_actor<N, TupleResultT, ActorTupleT>::type phoenix::impl::convert_actor<N, TupleResultT, ActorTupleT>::actor_element(const ActorTupleT&, phoenix::impl::convert_actor<N, TupleResultT, ActorTupleT>::is_not_default)’:
./boost/static_assert.hpp:125:21: warning: typedef ‘boost_static_assert_typedef_536’ locally defined but not used [-Wunused-local-typedefs]
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
                     ^
./boost/spirit/home/classic/phoenix/tuple_helpers.hpp:536:13: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
             BOOST_STATIC_ASSERT(ActorTupleT::length <= TupleResultT::length);
             ^
./boost/wave/grammars/cpp_chlit_grammar.hpp: In member function ‘void boost::wave::grammars::impl::compose_character_literal::operator()(uint32_t&, bool, bool&, uint32_t) const’:
./boost/static_assert.hpp:125:21: warning: typedef ‘boost_static_assert_typedef_85’ locally defined but not used [-Wunused-local-typedefs]
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)

Open in new window

0
duncanb7
Asked:
duncanb7
  • 6
  • 5
4 Solutions
 
MazdajaiCommented:
Those appear to be warnings (environment, definition) can be ignored.

Were there any errors in the compile process?
0
 
duncanb7Author Commented:
So you mean I just ignore it, don't worry about it, Right ?
a little bit uncomfortable to those long long echo response from the installation

And there is no error.

Is the installation time okay ?
0
 
MazdajaiCommented:
Is boost working? I would say it is safe to ignore unless it is broken. However, if you are not comfortable you can the warning messages to the maintainer / developer.

What is your machine specs? (cpu, mem, vm / physical ..etc) Also post the following -

gcc -v
uname -a 

Open in new window

0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
duncanb7Author Commented:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.8.0/configure --enable-checking=release --enable-languages=c,c++ --disable-multilib : (reconfigured) ../gcc-4.8.0/configure --enable-checking=release --enable-languages=c,c++ --disable-multilib
Thread model: posix
gcc version 4.8.0 (GCC)



Linux vps.example.com 2.6.32-042stab078.28 #1 SMP Mon Jul 8 10:17:22 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux

Please advise

Duncan
0
 
MazdajaiCommented:
Is this a vm? What about memory and cpu?
0
 
duncanb7Author Commented:
it is Virturl machine from hosting company

How to check memory and cpu ?

By the way, the version is "unknown" for x86_64-linux-gnu that is okay ?

and x86_64-linux-gnu is C complier, RIght ?
0
 
duncanb7Author Commented:
The boost I installed is  in my other directory, for example, /home/example/ , which
is  for other application to call its library.

I think the boost installation won't affect the first  system boost which is installed
by my hosting company , Right ?
0
 
MazdajaiCommented:
The easiest is to ask your hosting company. But you can look under /proc/meminfo and /proc/cpuinfo.

One hour is unusual, but I cannot really comment on it because I never compile boost from source. (1.41 is in repo).
0
 
duncanb7Author Commented:
I agree it is warning message since if error message it will echo out  with a word of "error" normally.

But how I can get rid of those warning after setting gcc compiler option correctly ?

Please advise and appreciated your help

Duncan
0
 
MazdajaiCommented:
The warnings refer to boost_static_assert, try reviewing namespace scopes -

http://www.boost.org/doc/libs/1_54_0/doc/html/boost_staticassert.html
0
 
duncanb7Author Commented:
thanks for you reply

Duncan
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 6
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now