Solved

"^" under boost during installation on Linux CentOS

Posted on 2013-11-11
11
629 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

821 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