How to install boost 1_39 on itanium server

I am installing the boost on itanium (64 bit red hat) machine. I am following
the three steps.
./bootstrap.sh --prefix=/usr/local
./bjam
./bjam install
After installation, libboost files are all located in
/usr/lib.
But i am trying to run one simple code.
#include

Could you please try to point compiler for includes
g++ program_name.cpp -lrt -I
I am installing the boost on itanium (64 bit red hat) machine. I am following the three steps. ./bootstrap.sh --prefix=/usr/local ./bjam ./bjam install
After installation, libboost files are all located in /usr/lib.
But i am trying to run one simple code.
#include
#include #include #include #include <iostream> using namespace boost::interprocess;
//Typedefs of allocators and containers typedef managed_shared_memory::segment_manager segment_manager_t; typedef allocator
void_allocator; typedef allocator char_allocator; typedef basic_string char_string; //Definition of the map holding a string as key and complex_data as mapped type typedef std:air
map_value_type; typedef allocator map_value_type_allocator; typedef map< char_string, int, std::less , map_value_type_allocator> complex_map_type; int main () { shared_memory_object::remove("MySharedMemory");
//Create shared memory managed_shared_memory segment(create_only,"MySharedMemory", 65536);
//An allocator convertible to any allocator
type void_allocator alloc_inst (segment.get_segment_manager()); //Construct the shared memory map and fill it complex_map_type *mymap = segment.construct
("MyMap")(std:: less (), alloc_inst); char_string cs("test", alloc_inst); for(int i = 0; i < 100; ++i) { mymap->insert(std:air
(cs , i)); } return 0; } with command g++ program_name.cpp -lrt
It is showing error "No such file and directory" for every header file. This code is working fine on 32 bit (installed by other person).May i know what is the pblm?
-- View this message in context: http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594... Sent from the Boost - Users mailing list archive at Nabble.com.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Best Regards, Sergey Nikulov

I ran in this way also. g++ -I /usr/include/boost_1_39 programe_name.cpp still same error Stephan Menzel-4 wrote:
Hi,
On Wed, Sep 30, 2009 at 2:59 PM, manish4gupta
wrote: g++ program_name.cpp -lrt
It is showing error "No such file and directory" for every header file.
Did you try to specify an include path using -I ?
Stephan _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594... Sent from the Boost - Users mailing list archive at Nabble.com.

Are there two verions of boost for linux? 1. for 32 bit 2. for 64 bit i am using the as used on 32 bit. manish4gupta wrote:
I ran in this way also.
g++ -I /usr/local/include/boost_1_39 programe_name.cpp
and g++ -I /usr/lib/boost_1_39 programe_name.cpp also
still same error
Stephan Menzel-4 wrote:
Hi,
On Wed, Sep 30, 2009 at 2:59 PM, manish4gupta
wrote: g++ program_name.cpp -lrt
It is showing error "No such file and directory" for every header file.
Did you try to specify an include path using -I ?
Stephan _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594... Sent from the Boost - Users mailing list archive at Nabble.com.

manish4gupta wrote:
I ran in this way also.
g++ -I /usr/include/boost_1_39 programe_name.cpp
If you have installed boost to /usr/local, as your prior email say, then /usr/include/boost_1_39 is clearly a wrong path. Can you please provide the *exact* command you have used. You should copy-paste the command directly from terminal. Thanks, Volodya

I have used the command g++ -I usr/local/include/boost_1_39 programe_name.cpp still getting the same error. Vladimir Prus-3 wrote:
manish4gupta wrote:
I ran in this way also.
g++ -I /usr/include/boost_1_39 programe_name.cpp
If you have installed boost to /usr/local, as your prior email say, then
/usr/include/boost_1_39
is clearly a wrong path. Can you please provide the *exact* command you have used. You should copy-paste the command directly from terminal.
Thanks, Volodya
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594... Sent from the Boost - Users mailing list archive at Nabble.com.

On Sep 30, 2009, at 5:50 PM, manish4gupta wrote:
Vladimir Prus-3 wrote:
manish4gupta wrote:
I ran in this way also.
g++ -I /usr/include/boost_1_39 programe_name.cpp
If you have installed boost to /usr/local, as your prior email say, then
/usr/include/boost_1_39
is clearly a wrong path. Can you please provide the *exact* command you have used. You should copy-paste the command directly from terminal.
I have used the command g++ -I usr/local/include/boost_1_39 programe_name.cpp still getting the same error.
"usr/local/include/boost_1_39" is not the same as "/usr/include/ boost_1_39". At the very least, you need a leading '/' in the path. -- Marshall

I tried this way also g++ -I /usr/local/include/boost_1_39 programe_name.cpp and g++ -I /usr/local/include/boost_1_39 programe_name.cpp -lrt but still error is same. Marshall Clow-2 wrote:
On Sep 30, 2009, at 5:50 PM, manish4gupta wrote:
Vladimir Prus-3 wrote:
manish4gupta wrote:
I ran in this way also.
g++ -I /usr/include/boost_1_39 programe_name.cpp
If you have installed boost to /usr/local, as your prior email say, then
/usr/include/boost_1_39
is clearly a wrong path. Can you please provide the *exact* command you have used. You should copy-paste the command directly from terminal.
I have used the command g++ -I usr/local/include/boost_1_39 programe_name.cpp still getting the same error.
"usr/local/include/boost_1_39" is not the same as "/usr/include/ boost_1_39".
At the very least, you need a leading '/' in the path.
-- Marshall
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594... Sent from the Boost - Users mailing list archive at Nabble.com.

As i said I am installing the boost on itanium (64 bit red hat) machine. I am following the three steps. ./bootstrap.sh --prefix=/usr/local ./bjam ./bjam install boost gets installed in /usr/local/include . should I give any other options like ia64 while building since it 64 bit machine.Also do i need to specify the libdir and include dir option ? If yes what could be the option. Please help. Thanks in advance. do i need to specify where to install manish4gupta wrote:
I tried this way also
g++ -I /usr/local/include/boost_1_39 programe_name.cpp and g++ -I /usr/local/include/boost_1_39 programe_name.cpp -lrt but still error is same.
Marshall Clow-2 wrote:
On Sep 30, 2009, at 5:50 PM, manish4gupta wrote:
Vladimir Prus-3 wrote:
manish4gupta wrote:
I ran in this way also.
g++ -I /usr/include/boost_1_39 programe_name.cpp
If you have installed boost to /usr/local, as your prior email say, then
/usr/include/boost_1_39
is clearly a wrong path. Can you please provide the *exact* command you have used. You should copy-paste the command directly from terminal.
I have used the command g++ -I usr/local/include/boost_1_39 programe_name.cpp still getting the same error.
"usr/local/include/boost_1_39" is not the same as "/usr/include/ boost_1_39".
At the very least, you need a leading '/' in the path.
-- Marshall
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594... Sent from the Boost - Users mailing list archive at Nabble.com.

Manish,
According you first description gcc can not find include files.
Solution for this, just provide compiler with exact path using -I options.
Could you please provide exact compiler error and exact path to
managed_shared_memory.hpp file?
2009/10/1 manish4gupta
As i said I am installing the boost on itanium (64 bit red hat) machine. I am following the three steps. ./bootstrap.sh --prefix=/usr/local ./bjam ./bjam install
boost gets installed in /usr/local/include . should I give any other options like ia64 while building since it 64 bit machine.Also do i need to specify the libdir and include dir option ? If yes what could be the option. Please help. Thanks in advance.
do i need to specify where to install
manish4gupta wrote:
I tried this way also
g++ -I /usr/local/include/boost_1_39 programe_name.cpp and g++ -I /usr/local/include/boost_1_39 programe_name.cpp -lrt but still error is same.
Marshall Clow-2 wrote:
On Sep 30, 2009, at 5:50 PM, manish4gupta wrote:
Vladimir Prus-3 wrote:
manish4gupta wrote:
I ran in this way also.
g++ -I /usr/include/boost_1_39 programe_name.cpp
If you have installed boost to /usr/local, as your prior email say, then
/usr/include/boost_1_39
is clearly a wrong path. Can you please provide the *exact* command you have used. You should copy-paste the command directly from terminal.
I have used the command g++ -I usr/local/include/boost_1_39 programe_name.cpp still getting the same error.
"usr/local/include/boost_1_39" is not the same as "/usr/include/ boost_1_39".
At the very least, you need a leading '/' in the path.
-- Marshall
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594... Sent from the Boost - Users mailing list archive at Nabble.com.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Best Regards, Sergey Nikulov

Hi, path to managed_shared_memory.hpp /usr/local/include/boost-1_39/boost/interprocess/managed_shared_memory.hpp My program name is boostindex.cpp I am running the following command g++ -I /usr/local/include/boost-1_39 boostindex.cpp -lrt and gettting the following error In file included from /usr/local/include/boost-1_39/boost/interprocess/sync/interprocess_mutex.hpp:47, from /usr/local/include/boost-1_39/boost/interprocess/mem_algo/rbtree_best_fit.hpp:27, from /usr/local/include/boost-1_39/boost/interprocess/detail/managed_memory_impl.hpp:22, from /usr/local/include/boost-1_39/boost/interprocess/managed_shared_memory.hpp:21, from boostindex.cpp:1: /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:466:2: #error No atomic operations implemented for this platform, sorry! /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:45: warning: inline function `uint32_t boost::interprocess::detail::atomic_cas32(volatile uint32_t*, uint32_t, uint32_t)' used but never defined /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:36: warning: inline function `void boost::interprocess::detail::atomic_write32(volatile uint32_t*, uint32_t)' used but never defined /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:31: warning: inline function `uint32_t boost::interprocess::detail::atomic_read32(volatile uint32_t*)' used but never defined Now this error is different from what earlier i was getting since i ran one more command for checking installation. g++ -E -I/usr/local/include//boost-1_39 boostindex.cpp >/dev/null from the following link http://ubuntuforums.org/showthread.php?t=1180792 Please help. Thanks in advance. Sergey Nikulov wrote:
Manish,
According you first description gcc can not find include files. Solution for this, just provide compiler with exact path using -I options.
Could you please provide exact compiler error and exact path to managed_shared_memory.hpp file?
2009/10/1 manish4gupta
As i said I am installing the boost on itanium (64 bit red hat) machine. I am following the three steps. ./bootstrap.sh --prefix=/usr/local ./bjam ./bjam install
boost gets installed in /usr/local/include . should I give any other options like ia64 while building since it 64 bit machine.Also do i need to specify the libdir and include dir option ? If yes what could be the option. Please help. Thanks in advance.
do i need to specify where to install
manish4gupta wrote:
I tried this way also
g++ -I /usr/local/include/boost_1_39 programe_name.cpp and g++ -I /usr/local/include/boost_1_39 programe_name.cpp -lrt but still error is same.
Marshall Clow-2 wrote:
On Sep 30, 2009, at 5:50 PM, manish4gupta wrote:
Vladimir Prus-3 wrote:
manish4gupta wrote:
> > I ran in this way also. > > g++ -I /usr/include/boost_1_39 programe_name.cpp
If you have installed boost to /usr/local, as your prior email say, then
/usr/include/boost_1_39
is clearly a wrong path. Can you please provide the *exact* command you have used. You should copy-paste the command directly from terminal.
I have used the command g++ -I usr/local/include/boost_1_39 programe_name.cpp still getting the same error.
"usr/local/include/boost_1_39" is not the same as "/usr/include/ boost_1_39".
At the very least, you need a leading '/' in the path.
-- Marshall
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594... Sent from the Boost - Users mailing list archive at Nabble.com.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Best Regards, Sergey Nikulov
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594... Sent from the Boost - Users mailing list archive at Nabble.com.

Do you have any reason to use Boost 1.39 instead of 1.40 (latest one)?
As I can see from release notice (
http://www.boost.org/users/download/version_1_40_0) - compilers support
updated, so probably it will solve your issue.
2009/10/1 manish4gupta
Hi,
path to managed_shared_memory.hpp /usr/local/include/boost-1_39/boost/interprocess/managed_shared_memory.hpp
My program name is boostindex.cpp I am running the following command g++ -I /usr/local/include/boost-1_39 boostindex.cpp -lrt and gettting the following error
In file included from
/usr/local/include/boost-1_39/boost/interprocess/sync/interprocess_mutex.hpp:47, from
/usr/local/include/boost-1_39/boost/interprocess/mem_algo/rbtree_best_fit.hpp:27, from
/usr/local/include/boost-1_39/boost/interprocess/detail/managed_memory_impl.hpp:22, from
/usr/local/include/boost-1_39/boost/interprocess/managed_shared_memory.hpp:21, from boostindex.cpp:1: /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:466:2: #error No atomic operations implemented for this platform, sorry! /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:45: warning: inline function `uint32_t boost::interprocess::detail::atomic_cas32(volatile uint32_t*, uint32_t, uint32_t)' used but never defined /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:36: warning: inline function `void boost::interprocess::detail::atomic_write32(volatile uint32_t*, uint32_t)' used but never defined /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:31: warning: inline function `uint32_t boost::interprocess::detail::atomic_read32(volatile uint32_t*)' used but never defined
Now this error is different from what earlier i was getting since i ran one more command for checking installation. g++ -E -I/usr/local/include//boost-1_39 boostindex.cpp >/dev/null from the following link http://ubuntuforums.org/showthread.php?t=1180792
Please help. Thanks in advance.
Sergey Nikulov wrote:
Manish,
According you first description gcc can not find include files. Solution for this, just provide compiler with exact path using -I
options.
Could you please provide exact compiler error and exact path to managed_shared_memory.hpp file?
2009/10/1 manish4gupta
As i said I am installing the boost on itanium (64 bit red hat) machine. I am following the three steps. ./bootstrap.sh --prefix=/usr/local ./bjam ./bjam install
boost gets installed in /usr/local/include . should I give any other options like ia64 while building since it 64 bit machine.Also do i need to specify the libdir and include dir option ? If yes what could be the option. Please help. Thanks in advance.
do i need to specify where to install
manish4gupta wrote:
I tried this way also
g++ -I /usr/local/include/boost_1_39 programe_name.cpp and g++ -I /usr/local/include/boost_1_39 programe_name.cpp -lrt but still error is same.
Marshall Clow-2 wrote:
On Sep 30, 2009, at 5:50 PM, manish4gupta wrote:
Vladimir Prus-3 wrote: > > manish4gupta wrote: > >> >> I ran in this way also. >> >> g++ -I /usr/include/boost_1_39 programe_name.cpp > > If you have installed boost to /usr/local, as your prior > email say, then > > /usr/include/boost_1_39 > > is clearly a wrong path. Can you please provide the *exact* > command you have used. You should copy-paste the command > directly from terminal.
I have used the command g++ -I usr/local/include/boost_1_39 programe_name.cpp still getting the same error.
"usr/local/include/boost_1_39" is not the same as "/usr/include/ boost_1_39".
At the very least, you need a leading '/' in the path.
-- Marshall
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context:
http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594...
Sent from the Boost - Users mailing list archive at Nabble.com.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Best Regards, Sergey Nikulov
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594... Sent from the Boost - Users mailing list archive at Nabble.com.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Best Regards, Sergey Nikulov

Ok.. but i would llike to share my compiler version perhaps this may resolve the query gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-8) 64 bit Is this compatible for this compiler? Thanks Sergey Nikulov wrote:
Do you have any reason to use Boost 1.39 instead of 1.40 (latest one)? As I can see from release notice ( http://www.boost.org/users/download/version_1_40_0) - compilers support updated, so probably it will solve your issue.
2009/10/1 manish4gupta
Hi,
path to managed_shared_memory.hpp /usr/local/include/boost-1_39/boost/interprocess/managed_shared_memory.hpp
My program name is boostindex.cpp I am running the following command g++ -I /usr/local/include/boost-1_39 boostindex.cpp -lrt and gettting the following error
In file included from
/usr/local/include/boost-1_39/boost/interprocess/sync/interprocess_mutex.hpp:47, from
/usr/local/include/boost-1_39/boost/interprocess/mem_algo/rbtree_best_fit.hpp:27, from
/usr/local/include/boost-1_39/boost/interprocess/detail/managed_memory_impl.hpp:22, from
/usr/local/include/boost-1_39/boost/interprocess/managed_shared_memory.hpp:21, from boostindex.cpp:1: /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:466:2: #error No atomic operations implemented for this platform, sorry! /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:45: warning: inline function `uint32_t boost::interprocess::detail::atomic_cas32(volatile uint32_t*, uint32_t, uint32_t)' used but never defined /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:36: warning: inline function `void boost::interprocess::detail::atomic_write32(volatile uint32_t*, uint32_t)' used but never defined /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:31: warning: inline function `uint32_t boost::interprocess::detail::atomic_read32(volatile uint32_t*)' used but never defined
Now this error is different from what earlier i was getting since i ran one more command for checking installation. g++ -E -I/usr/local/include//boost-1_39 boostindex.cpp >/dev/null from the following link http://ubuntuforums.org/showthread.php?t=1180792
Please help. Thanks in advance.
Sergey Nikulov wrote:
Manish,
According you first description gcc can not find include files. Solution for this, just provide compiler with exact path using -I
options.
Could you please provide exact compiler error and exact path to managed_shared_memory.hpp file?
2009/10/1 manish4gupta
As i said I am installing the boost on itanium (64 bit red hat) machine. I am following the three steps. ./bootstrap.sh --prefix=/usr/local ./bjam ./bjam install
boost gets installed in /usr/local/include . should I give any other options like ia64 while building since it 64 bit machine.Also do i need to specify the libdir and include dir option ? If yes what could be the option. Please help. Thanks in advance.
do i need to specify where to install
manish4gupta wrote:
I tried this way also
g++ -I /usr/local/include/boost_1_39 programe_name.cpp and g++ -I /usr/local/include/boost_1_39 programe_name.cpp -lrt but still error is same.
Marshall Clow-2 wrote:
On Sep 30, 2009, at 5:50 PM, manish4gupta wrote: > Vladimir Prus-3 wrote: >> >> manish4gupta wrote: >> >>> >>> I ran in this way also. >>> >>> g++ -I /usr/include/boost_1_39 programe_name.cpp >> >> If you have installed boost to /usr/local, as your prior >> email say, then >> >> /usr/include/boost_1_39 >> >> is clearly a wrong path. Can you please provide the *exact* >> command you have used. You should copy-paste the command >> directly from terminal.
> > I have used the command > g++ -I usr/local/include/boost_1_39 programe_name.cpp > still getting the same error. >
"usr/local/include/boost_1_39" is not the same as "/usr/include/ boost_1_39".
At the very least, you need a leading '/' in the path.
-- Marshall
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context:
http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594...
Sent from the Boost - Users mailing list archive at Nabble.com.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Best Regards, Sergey Nikulov
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594... Sent from the Boost - Users mailing list archive at Nabble.com.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Best Regards, Sergey Nikulov
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594... Sent from the Boost - Users mailing list archive at Nabble.com.

I think this is not compatible for this compiler since error message is #error No atomic operations implemented for this platform, sorry! at line 466 in file boost_1_39_0/boost/interprocess/detail which shows that it is not recoomended for this platform. but documentation says it work on 64 bit machine also. why? manish4gupta wrote:
Ok.. but i would llike to share my compiler version perhaps this may resolve the query
gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-8) 64 bit Is this compatible for this compiler?
Thanks
Sergey Nikulov wrote:
Do you have any reason to use Boost 1.39 instead of 1.40 (latest one)? As I can see from release notice ( http://www.boost.org/users/download/version_1_40_0) - compilers support updated, so probably it will solve your issue.
2009/10/1 manish4gupta
Hi,
path to managed_shared_memory.hpp /usr/local/include/boost-1_39/boost/interprocess/managed_shared_memory.hpp
My program name is boostindex.cpp I am running the following command g++ -I /usr/local/include/boost-1_39 boostindex.cpp -lrt and gettting the following error
In file included from
/usr/local/include/boost-1_39/boost/interprocess/sync/interprocess_mutex.hpp:47, from
/usr/local/include/boost-1_39/boost/interprocess/mem_algo/rbtree_best_fit.hpp:27, from
/usr/local/include/boost-1_39/boost/interprocess/detail/managed_memory_impl.hpp:22, from
/usr/local/include/boost-1_39/boost/interprocess/managed_shared_memory.hpp:21, from boostindex.cpp:1: /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:466:2: #error No atomic operations implemented for this platform, sorry! /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:45: warning: inline function `uint32_t boost::interprocess::detail::atomic_cas32(volatile uint32_t*, uint32_t, uint32_t)' used but never defined /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:36: warning: inline function `void boost::interprocess::detail::atomic_write32(volatile uint32_t*, uint32_t)' used but never defined /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:31: warning: inline function `uint32_t boost::interprocess::detail::atomic_read32(volatile uint32_t*)' used but never defined
Now this error is different from what earlier i was getting since i ran one more command for checking installation. g++ -E -I/usr/local/include//boost-1_39 boostindex.cpp >/dev/null from the following link http://ubuntuforums.org/showthread.php?t=1180792
Please help. Thanks in advance.
Sergey Nikulov wrote:
Manish,
According you first description gcc can not find include files. Solution for this, just provide compiler with exact path using -I
options.
Could you please provide exact compiler error and exact path to managed_shared_memory.hpp file?
2009/10/1 manish4gupta
As i said I am installing the boost on itanium (64 bit red hat) machine. I am following the three steps. ./bootstrap.sh --prefix=/usr/local ./bjam ./bjam install
boost gets installed in /usr/local/include . should I give any other options like ia64 while building since it 64 bit machine.Also do i need to specify the libdir and include dir option ? If yes what could be the option. Please help. Thanks in advance.
do i need to specify where to install
manish4gupta wrote:
I tried this way also
g++ -I /usr/local/include/boost_1_39 programe_name.cpp and g++ -I /usr/local/include/boost_1_39 programe_name.cpp -lrt but still error is same.
Marshall Clow-2 wrote: > > On Sep 30, 2009, at 5:50 PM, manish4gupta wrote: >> Vladimir Prus-3 wrote: >>> >>> manish4gupta wrote: >>> >>>> >>>> I ran in this way also. >>>> >>>> g++ -I /usr/include/boost_1_39 programe_name.cpp >>> >>> If you have installed boost to /usr/local, as your prior >>> email say, then >>> >>> /usr/include/boost_1_39 >>> >>> is clearly a wrong path. Can you please provide the *exact* >>> command you have used. You should copy-paste the command >>> directly from terminal. > >> >> I have used the command >> g++ -I usr/local/include/boost_1_39 programe_name.cpp >> still getting the same error. >> > > "usr/local/include/boost_1_39" is not the same as "/usr/include/ > boost_1_39". > > At the very least, you need a leading '/' in the path. > > -- Marshall > > _______________________________________________ > Boost-users mailing list > Boost-users@lists.boost.org > http://lists.boost.org/mailman/listinfo.cgi/boost-users > >
-- View this message in context:
http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594...
Sent from the Boost - Users mailing list archive at Nabble.com.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Best Regards, Sergey Nikulov
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594... Sent from the Boost - Users mailing list archive at Nabble.com.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Best Regards, Sergey Nikulov
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594... Sent from the Boost - Users mailing list archive at Nabble.com.

1. Is boost library compatible on ia64 architecture with gcc 3.4.6 on a Redhat Enterprise Linux 4 Update 5? 2. Do i need any special options to be included during the ./bootstrap.sh, ./bjam and ./bjam install process if i want to get it running on ia64 architecture? Thanks in advance. manish4gupta wrote:
I think this is not compatible for this compiler since error message is #error No atomic operations implemented for this platform, sorry! at line 466 in file boost_1_39_0/boost/interprocess/detail which shows that it is not recoomended for this platform. but documentation says it work on 64 bit machine also. why?
manish4gupta wrote:
Ok.. but i would llike to share my compiler version perhaps this may resolve the query
gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-8) 64 bit Is this compatible for this compiler?
Thanks
Sergey Nikulov wrote:
Do you have any reason to use Boost 1.39 instead of 1.40 (latest one)? As I can see from release notice ( http://www.boost.org/users/download/version_1_40_0) - compilers support updated, so probably it will solve your issue.
2009/10/1 manish4gupta
Hi,
path to managed_shared_memory.hpp /usr/local/include/boost-1_39/boost/interprocess/managed_shared_memory.hpp
My program name is boostindex.cpp I am running the following command g++ -I /usr/local/include/boost-1_39 boostindex.cpp -lrt and gettting the following error
In file included from
/usr/local/include/boost-1_39/boost/interprocess/sync/interprocess_mutex.hpp:47, from
/usr/local/include/boost-1_39/boost/interprocess/mem_algo/rbtree_best_fit.hpp:27, from
/usr/local/include/boost-1_39/boost/interprocess/detail/managed_memory_impl.hpp:22, from
/usr/local/include/boost-1_39/boost/interprocess/managed_shared_memory.hpp:21, from boostindex.cpp:1: /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:466:2: #error No atomic operations implemented for this platform, sorry! /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:45: warning: inline function `uint32_t boost::interprocess::detail::atomic_cas32(volatile uint32_t*, uint32_t, uint32_t)' used but never defined /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:36: warning: inline function `void boost::interprocess::detail::atomic_write32(volatile uint32_t*, uint32_t)' used but never defined /usr/local/include/boost-1_39/boost/interprocess/detail/atomic.hpp:31: warning: inline function `uint32_t boost::interprocess::detail::atomic_read32(volatile uint32_t*)' used but never defined
Now this error is different from what earlier i was getting since i ran one more command for checking installation. g++ -E -I/usr/local/include//boost-1_39 boostindex.cpp >/dev/null from the following link http://ubuntuforums.org/showthread.php?t=1180792
Please help. Thanks in advance.
Sergey Nikulov wrote:
Manish,
According you first description gcc can not find include files. Solution for this, just provide compiler with exact path using -I
options.
Could you please provide exact compiler error and exact path to managed_shared_memory.hpp file?
2009/10/1 manish4gupta
As i said I am installing the boost on itanium (64 bit red hat) machine. I am following the three steps. ./bootstrap.sh --prefix=/usr/local ./bjam ./bjam install
boost gets installed in /usr/local/include . should I give any other options like ia64 while building since it 64 bit machine.Also do i need to specify the libdir and include dir option ? If yes what could be the option. Please help. Thanks in advance.
do i need to specify where to install
manish4gupta wrote: > > I tried this way also > > g++ -I /usr/local/include/boost_1_39 programe_name.cpp > and g++ -I /usr/local/include/boost_1_39 programe_name.cpp -lrt > but still error is same. > > > > Marshall Clow-2 wrote: >> >> On Sep 30, 2009, at 5:50 PM, manish4gupta wrote: >>> Vladimir Prus-3 wrote: >>>> >>>> manish4gupta wrote: >>>> >>>>> >>>>> I ran in this way also. >>>>> >>>>> g++ -I /usr/include/boost_1_39 programe_name.cpp >>>> >>>> If you have installed boost to /usr/local, as your prior >>>> email say, then >>>> >>>> /usr/include/boost_1_39 >>>> >>>> is clearly a wrong path. Can you please provide the *exact* >>>> command you have used. You should copy-paste the command >>>> directly from terminal. >> >>> >>> I have used the command >>> g++ -I usr/local/include/boost_1_39 programe_name.cpp >>> still getting the same error. >>> >> >> "usr/local/include/boost_1_39" is not the same as "/usr/include/ >> boost_1_39". >> >> At the very least, you need a leading '/' in the path. >> >> -- Marshall >> >> _______________________________________________ >> Boost-users mailing list >> Boost-users@lists.boost.org >> http://lists.boost.org/mailman/listinfo.cgi/boost-users >> >> > >
-- View this message in context:
http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594...
Sent from the Boost - Users mailing list archive at Nabble.com.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Best Regards, Sergey Nikulov
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594... Sent from the Boost - Users mailing list archive at Nabble.com.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Best Regards, Sergey Nikulov
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/How-to-install-boost-1_39-on-itanium-server-tp25680594... Sent from the Boost - Users mailing list archive at Nabble.com.
participants (5)
-
manish4gupta
-
Marshall Clow
-
Sergey Nikulov
-
Stephan Menzel
-
Vladimir Prus