[config] Unable to locate boost main tree

Hi John, I have an up to date copy of boost trunk on a new machine (u233) running RHEL 6.0 kernel (Santiago). You can see the results on the trunk page under Ornl-intel-11.1.064. For some reason the configure script is having trouble locating the boost main tree. I tried adding --with-boost=... to no avail. Is this a recent problem or perhaps this is the first attempt under 6.0? Any ideas? -- Noel [bkn@u233 config]$ ./configure *** ./configure: boost configuration utility *** Please stand by while exploring compiler capabilities... Be patient - this could take some time... Note that this test script only gives an approximate configuration - you will need to test the results carefully using the boost regression test suite before using the results. *** Info : .cpp used as extension for tests checking for boost main tree... not found configure: error: The boost main tree was not found. Specify its location by the --with-boost option.

Hi John, On Mar 4, 2011, at 1:48 PM, Belcourt, Kenneth wrote:
I have an up to date copy of boost trunk on a new machine (u233) running RHEL 6.0 kernel (Santiago). You can see the results on the trunk page under Ornl-intel-11.1.064. For some reason the configure script is having trouble locating the boost main tree. I tried adding --with-boost=... to no avail. Is this a recent problem or perhaps this is the first attempt under 6.0?
I hard coded the path to my boost installation into the configure script and it ran. Here's the results of configure with --enable-test with intel-11.1.064 on RHEL 6.0. the following macros need to be defined BOOST_HAS_PTHREAD_YIELD BOOST_NO_NUMERIC_LIMITS_LOWEST BOOST_NO_FENV_H BOOST_NO_COMPLETE_VALUE_INITIALIZATION BOOST_NO_0X_HDR_TYPEINDEX the following macros need to be undef'ed BOOST_NO_MS_INT64_NUMERIC_LIMITS BOOST_NO_EXTERN_TEMPLATE BOOST_DEDUCED_TYPENAME BOOST_NO_0X_HDR_INITIALIZER_LIST Thanks. -- Noel [ here's gcc-4.4.4 on the same hardware / os ] the following macros need to be defined BOOST_HAS_VARIADIC_TMPL BOOST_HAS_PTHREAD_YIELD BOOST_NO_NUMERIC_LIMITS_LOWEST BOOST_NO_FENV_H BOOST_NO_0X_HDR_TYPEINDEX the following macros need to be undef'ed BOOST_NO_VARIADIC_TEMPLATES BOOST_NO_SCOPED_ENUMS BOOST_NO_EXTERN_TEMPLATE BOOST_NO_DELETED_FUNCTIONS BOOST_NO_DEFAULTED_FUNCTIONS BOOST_DEDUCED_TYPENAME BOOST_NO_0X_HDR_INITIALIZER_LIST

I have an up to date copy of boost trunk on a new machine (u233) running RHEL 6.0 kernel (Santiago). You can see the results on the trunk page under Ornl-intel-11.1.064. For some reason the configure script is having trouble locating the boost main tree. I tried adding --with-boost=... to no avail. Is this a recent problem or perhaps this is the first attempt under 6.0?
I hard coded the path to my boost installation into the configure script and it ran. Here's the results of configure with --enable-test with intel-11.1.064 on RHEL 6.0.
the following macros need to be defined BOOST_HAS_PTHREAD_YIELD BOOST_NO_NUMERIC_LIMITS_LOWEST BOOST_NO_FENV_H BOOST_NO_COMPLETE_VALUE_INITIALIZATION BOOST_NO_0X_HDR_TYPEINDEX
That's screwy somehow: * BOOST_NO_0X_HDR_TYPEINDEX should be defined unconditionally in libstdcpp3.hpp * BOOST_NO_NUMERIC_LIMITS_LOWEST should be defined for gcc prior to 4.5 Not sure but the others look wrong too.
the following macros need to be undef'ed BOOST_NO_MS_INT64_NUMERIC_LIMITS BOOST_NO_EXTERN_TEMPLATE BOOST_DEDUCED_TYPENAME BOOST_NO_0X_HDR_INITIALIZER_LIST
Thanks.
-- Noel
[ here's gcc-4.4.4 on the same hardware / os ]
the following macros need to be defined BOOST_HAS_VARIADIC_TMPL BOOST_HAS_PTHREAD_YIELD BOOST_NO_NUMERIC_LIMITS_LOWEST BOOST_NO_FENV_H BOOST_NO_0X_HDR_TYPEINDEX
the following macros need to be undef'ed BOOST_NO_VARIADIC_TEMPLATES BOOST_NO_SCOPED_ENUMS BOOST_NO_EXTERN_TEMPLATE BOOST_NO_DELETED_FUNCTIONS BOOST_NO_DEFAULTED_FUNCTIONS BOOST_DEDUCED_TYPENAME BOOST_NO_0X_HDR_INITIALIZER_LIST
And that's totally screwy, to pick one example it says that BOOST_NO_EXTERN_TEMPLATE need to be undefined, but it's only ever set for gcc-2.x!! I don't understand why, but there's something completely wrong with those results... OK double checked, it seems that recent Linux/GCC systems can't cope with that script - lots of spurious failures - I've regenerated the configure script with the latest autoconf version and hopefully this is fixed now. Can you try again? Thanks! John.

Hi John, On Mar 8, 2011, at 10:22 AM, John Maddock wrote:
I have an up to date copy of boost trunk on a new machine (u233) running RHEL 6.0 kernel (Santiago). [ here's gcc-4.4.4 on the same hardware / os ]
the following macros need to be defined BOOST_HAS_VARIADIC_TMPL BOOST_HAS_PTHREAD_YIELD BOOST_NO_NUMERIC_LIMITS_LOWEST BOOST_NO_FENV_H BOOST_NO_0X_HDR_TYPEINDEX
the following macros need to be undef'ed BOOST_NO_VARIADIC_TEMPLATES BOOST_NO_SCOPED_ENUMS BOOST_NO_EXTERN_TEMPLATE BOOST_NO_DELETED_FUNCTIONS BOOST_NO_DEFAULTED_FUNCTIONS BOOST_DEDUCED_TYPENAME BOOST_NO_0X_HDR_INITIALIZER_LIST
And that's totally screwy, to pick one example it says that BOOST_NO_EXTERN_TEMPLATE need to be undefined, but it's only ever set for gcc-2.x!!
I don't understand why, but there's something completely wrong with those results...
OK double checked, it seems that recent Linux/GCC systems can't cope with that script - lots of spurious failures - I've regenerated the configure script with the latest autoconf version and hopefully this is fixed now. Can you try again?
I'm at rev. [bkn@u235 config]$ svn up At revision 69772. and the script still can't locate the boost source tree and passing arguments doesn't work at all. [bkn@u235 config]$ ./configure *** ./configure: boost configuration utility *** Please stand by while exploring compiler capabilities... Be patient - this could take some time... Note that this test script only gives an approximate configuration - you will need to test the results carefully using the boost regression test suite before using the results. *** Info : .cpp used as extension for tests checking for boost main tree... not found configure: error: The boost main tree was not found. Specify its location by the --with-boost option. -- Noel

On Mar 9, 2011, at 8:40 AM, Belcourt, K. Noel wrote:
On Mar 8, 2011, at 10:22 AM, John Maddock wrote:
I have an up to date copy of boost trunk on a new machine (u233) running RHEL 6.0 kernel (Santiago). [ here's gcc-4.4.4 on the same hardware / os ]
the following macros need to be defined BOOST_HAS_VARIADIC_TMPL BOOST_HAS_PTHREAD_YIELD BOOST_NO_NUMERIC_LIMITS_LOWEST BOOST_NO_FENV_H BOOST_NO_0X_HDR_TYPEINDEX
the following macros need to be undef'ed BOOST_NO_VARIADIC_TEMPLATES BOOST_NO_SCOPED_ENUMS BOOST_NO_EXTERN_TEMPLATE BOOST_NO_DELETED_FUNCTIONS BOOST_NO_DEFAULTED_FUNCTIONS BOOST_DEDUCED_TYPENAME BOOST_NO_0X_HDR_INITIALIZER_LIST
And that's totally screwy, to pick one example it says that BOOST_NO_EXTERN_TEMPLATE need to be undefined, but it's only ever set for gcc-2.x!!
Here's results with your updated configure script for g++: the following macros need to be defined BOOST_HAS_VARIADIC_TMPL BOOST_HAS_PTHREAD_YIELD the following macros need to be undef'ed BOOST_NO_VARIADIC_TEMPLATES BOOST_NO_SCOPED_ENUMS BOOST_NO_DELETED_FUNCTIONS BOOST_NO_DEFAULTED_FUNCTIONS BOOST_DEDUCED_TYPENAME BOOST_NO_0X_HDR_INITIALIZER_LIST and the results for Intel: the following macros need to be defined BOOST_HAS_PTHREAD_YIELD the following macros need to be undef'ed BOOST_NO_VARIADIC_MACROS BOOST_NO_MS_INT64_NUMERIC_LIMITS BOOST_DEDUCED_TYPENAME BOOST_NO_0X_HDR_INITIALIZER_LIST Thanks for updating the configure script, seems to be working fine. -- Noel

Here's results with your updated configure script for g++:
the following macros need to be defined BOOST_HAS_VARIADIC_TMPL BOOST_HAS_PTHREAD_YIELD
the following macros need to be undef'ed BOOST_NO_VARIADIC_TEMPLATES BOOST_NO_SCOPED_ENUMS BOOST_NO_DELETED_FUNCTIONS BOOST_NO_DEFAULTED_FUNCTIONS BOOST_DEDUCED_TYPENAME BOOST_NO_0X_HDR_INITIALIZER_LIST
and the results for Intel:
the following macros need to be defined BOOST_HAS_PTHREAD_YIELD
the following macros need to be undef'ed BOOST_NO_VARIADIC_MACROS BOOST_NO_MS_INT64_NUMERIC_LIMITS BOOST_DEDUCED_TYPENAME BOOST_NO_0X_HDR_INITIALIZER_LIST
Thanks will investigate: looks like some of the C++0x feature tests need some updating, will get back to you on this shortly, John.

I'm at rev.
[bkn@u235 config]$ svn up At revision 69772.
and the script still can't locate the boost source tree and passing arguments doesn't work at all.
Ah this is silly, I'm attaching an updated version that echos some diagnostic info to stdout, can you try again? Also what shell are you using? Can you try explicitly under bash? Thanks again, John.

Hi John, On Mar 10, 2011, at 4:13 AM, John Maddock wrote:
I'm at rev.
[bkn@u235 config]$ svn up At revision 69772.
and the script still can't locate the boost source tree and passing arguments doesn't work at all.
Ah this is silly, I'm attaching an updated version that echos some diagnostic info to stdout, can you try again?
Sorry, this file's identical to what's in trunk. I'm guessing that's not the file you want me to use.
Also what shell are you using? Can you try explicitly under bash?
My default is bash. -- Noel

I have an up to date copy of boost trunk on a new machine (u233) running RHEL 6.0 kernel (Santiago). You can see the results on the trunk page under Ornl-intel-11.1.064. For some reason the configure script is having trouble locating the boost main tree. I tried dding --with-boost=... to no avail. Is this a recent problem or perhaps this is the first attempt under 6.0?
Any ideas?
No it's a new one on me, and nothing has changed in that script for literally years... BTW you shouldn't need to be running that script to test intel on Linux, it's really only there for "unknown" platforms. HTH, John.
participants (3)
-
Belcourt, K. Noel
-
Belcourt, Kenneth
-
John Maddock