[Date Prev][Date Next]
Re: configure threads checking gives false positive for HPUX 11 (ITS#285)
At 08:49 PM 9/11/99 GMT, email@example.com wrote:
>Full_Name: Michael Boschet, Jr.
>OS: HP-UX 11.00
>Submission from: (NULL) (184.108.40.206)
>When running configure to install OpenLDAP 1.2.7, also the previous versions, a
>couple of the tests for threads give false positive results.
With the false positive, how do subsequent tests fail? In particular
how does the pthread compatibility [pthread_create() works] test fail?
(config.log details please)
>checking for pthread_create with -kthread, and the next two tests if I remove
>the previous test, these tests succeed and following thread tests fail aborting
>the configure process.
Exactly which tests do you have to disable to get good results
(using envirnonment flags to disable specific tests).
env ol_cv_kthread_flag=no ./configure
(please add a platform hint with the appropriate environment flags)
>If the HPUX thread tests are moved to before the
>checking for pthread_create with -kthread test OpenLDAP build successfully. I
>haven't checked to see if moving this test will break any of the other operating
The tests cannot be easily reordered. It's likely that you'll
have to suffer with environment flags until 2.0 (which sports
new pthread detection support).
>I am running 64-Bit HP-UX 11.00 with ANSI C and aC++ compilers.
OpenLDAP is designed to be built using a ANSI C compiler.
Building with C++ compilers are not supported. Your mileage