?
Solved

"^" under boost during installation on Linux CentOS

Posted on 2013-11-11
11
Medium Priority
?
652 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 2000 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 2000 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 
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 2000 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 2000 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
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.
Suggested Courses

621 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