Solved

"^" under boost during installation on Linux CentOS

Posted on 2013-11-11
11
621 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

948 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

21 Experts available now in Live!

Get 1:1 Help Now