Solved

"^" under boost during installation on Linux CentOS

Posted on 2013-11-11
11
620 Views
Last Modified: 2013-11-13
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
Comment
Question by:duncanb7
  • 6
  • 5
11 Comments
 
LVL 21

Assisted Solution

by:Mazdajai
Mazdajai earned 500 total points
ID: 39639304
Those appear to be warnings (environment, definition) can be ignored.

Were there any errors in the compile process?
0
 
LVL 13

Author Comment

by:duncanb7
ID: 39639345
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
 
LVL 21

Assisted Solution

by:Mazdajai
Mazdajai earned 500 total points
ID: 39639490
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
 
LVL 13

Author Comment

by:duncanb7
ID: 39639509
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
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39639518
Is this a vm? What about memory and cpu?
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 13

Author Comment

by:duncanb7
ID: 39639525
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
 
LVL 13

Author Comment

by:duncanb7
ID: 39639543
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
 
LVL 21

Assisted Solution

by:Mazdajai
Mazdajai earned 500 total points
ID: 39639613
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
 
LVL 13

Author Comment

by:duncanb7
ID: 39641203
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
 
LVL 21

Accepted Solution

by:
Mazdajai earned 500 total points
ID: 39644865
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
 
LVL 13

Author Closing Comment

by:duncanb7
ID: 39644946
thanks for you reply

Duncan
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now