Compiling BOOST_1_30_0 UNDER HPUX B.11.11

Hi,
I am trying to Install BOOST_1_30_0 on HPUX B.11.11 using aCC Version HP ANSI C++ B3910B
A.03.33.
Fisrtly i tried to build the thread libaray under

Albert Gome
and coping the user.hpp to right location still the same error presist.
Is there any way out to compile this? what can be done to resolve it. I don't want to use GCC on HPUX.
Unfortunately, the only suggestion I can offer is that you pressure HP to fix their compiler. They say they've been working on it, but last I heard they were only 70% of the way there. Sorry, Dave -- Dave Abrahams Boost Consulting http://www.boost-consulting.com

Hi all,
Does anybody has installed successfully BOOST_1_30_0
on HPUX B.11.11 using aCC A.3.33.
Also, how can i overcome the errors listed in my
previous POST.
Rgds
--- Albert Gome
Hi,
I am trying to Install BOOST_1_30_0 on HPUX B.11.11 using aCC Version HP ANSI C++ B3910B A.03.33.
Fisrtly i tried to build the thread libaray under
/lib/thread/build using statement bjam -sTOOLS="acc" -sBuild="debug release" I tried thread first because the regex compilation was also giving problems.
Though Compiling the threads library result in
MkDir1
../../../libs/thread/build/bin/libboost_thread.so/acc/debug/runtime-link-dynamic/shared-linkable-true/threading-multi
aCC-C++-action
../../../libs/thread/build/bin/libboost_thread.so/acc/debug/runtime-link-dynamic/shared-linkable-true/threading-multi/condition.o
Error 19:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp",
line 59 # Unexpected 'template'. ::template result_<T> ^^^^^^^^ Error 24:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp",
line 59 # '{' expected instead of '<'. ::template result_<T> ^ Error 20:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp",
line 59 # '<' expected before '>'. ::template result_<T> ^ Error 24:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp",
line 60 # ';' expected instead of '{'. { ^ Error 318:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp",
line 59 # A template name was expected instead of 'T'. Did you forget to define the template? ::template result_<T> ^^ Error 263:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp",
line 59 # Object expected in declaration list. ::template result_<T> ^^ Error 19:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp",
line 322 # Unexpected 'template'. struct enable_if : public enabled<Enabled>::template base<T>
^^^^^^^^ Error 24:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp",
line 322 # '{' expected instead of '<'. struct enable_if : public enabled<Enabled>::template base<T>
^ Error 20:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp",
line 322 # '<' expected before '>'. struct enable_if : public enabled<Enabled>::template base<T>
^ Error 24:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp",
line 323 # ';' expected instead of '{'. { ^ Error 419:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp",
line 322 # 'T' is used as a type, but has not been defined as a type. struct enable_if : public enabled<Enabled>::template base<T>
^ Error 318:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp",
line 322 # A template name was expected instead of '<type inserted by compiler>'. Did you forget to define the template? struct enable_if : public enabled<Enabled>::template base<T>
^ Error 699:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp",
line 322 # Error limit reached; halting compilation. struct enable_if : public enabled<Enabled>::template base<T>
^ aCC -AA -c +W823 -I/mnt/r7/apal3/lib/boost_1_30_0 -DBOOST_THREAD_BUILD_DLL=1 -mt -g +Z -I"../../../libs/thread/build" -I"/mnt/r7/apal3/lib/boost_1_30_0" -o
"../../../libs/thread/build/bin/libboost_thread.so/acc/debug/runtime-link-dynamic/shared-linkable-true/threading-multi/condition.o"
"../src/condition.cpp" ...failed aCC-C++-action
../../../libs/thread/build/bin/libboost_thread.so/acc/debug/runtime-link-dynamic/shared-linkable-true/threading-multi/condition.o...
Then i downloaded the lates is_functions.hpp from the CVS which again resulted in
aCC-C++-action
../../../libs/thread/build/bin/libboost_thread.so/acc/debug/runtime-link-dynamic/shared-linkable-true/threading-multi/condition.o
Error 19:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp",
line 59 # Unexpected 'template'. ::BOOST_NESTED_TEMPLATE result_<T> ^^^^^^^^^^^^^^^^^^^^^ Error 24:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp",
line 59 # '{' expected instead of '<'. ::BOOST_NESTED_TEMPLATE result_<T> ^ Error 20:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp",
line 59 # '<' expected before '>'. ::BOOST_NESTED_TEMPLATE result_<T> ^ Error 24:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp",
line 60 # ';' expected instead of '{'. { ^ Error 318:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp",
line 59 # A template name was expected instead of 'T'. Did you forget to define the template? ::BOOST_NESTED_TEMPLATE result_<T> ^^ Error 263:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/type_traits/is_function.hpp",
line 59 # Object expected in declaration list. ::BOOST_NESTED_TEMPLATE result_<T> ^^ Error 19:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp",
line 322 # Unexpected 'template'. struct enable_if : public enabled<Enabled>::template base<T>
^^^^^^^^ Error 24:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp",
line 322 # '{' expected instead of '<'. struct enable_if : public enabled<Enabled>::template base<T>
^ Error 20:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp",
line 322 # '<' expected before '>'. struct enable_if : public enabled<Enabled>::template base<T>
^ Error 24:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp",
line 323 # ';' expected instead of '{'. { ^ Error 419:
"/mnt/r7/apal3/lib/boost_1_30_0/boost/function/function_base.hpp",
line 322 # 'T' is used as a type, but has not been defined as a type. struct enable_if : public enabled<Enabled>::template === message truncated ===>
Boost-users mailing list Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover

El Fri, 30 Apr 2004 21:24:20 -0700 (PDT)
Albert Gome
Hi all,
Does anybody has installed successfully BOOST_1_30_0 on HPUX B.11.11 using aCC A.3.33.
I've tried to do it, but it was impossible. I have to change my mind and use the gcc compiler. With it, and a couple of changes to BOOST_1_30_0 I succesfully compiled and installed boost.
Also, how can i overcome the errors listed in my previous POST.
Change the compiler. ;-)
Rgds
Regards -- Raúl Huertas Díaz TCP Sistemas e Ingenieria rhuertas@tcpsi.es http://www.tcpsi.es Tfno.: 91.406.27.11
participants (3)
-
Albert Gome
-
David Abrahams
-
Raul Huertas Diaz