Thanks Kurt, I did try to swap in all three (alternately) directly into the include/ac/regex.h, but all gave the same type of errors on configure. I'll try it on a clean system in the next week or so, to see if it may be related to a Solaris patch...
Stew
On 10/11/06, Kurt D. Zeilenga Kurt@openldap.org wrote:
At 06:31 PM 10/11/2006, stew.redfield@gmail.com wrote:
--=====================_272409043==_ Content-Type: text/plain; charset="us-ascii"
Last config.log is attached. Other regex.h files on box: /usr/include/regex.h (Solaris 10 Base) /usr/include/unicode/regex.h (Solaris 10 Base) /usr/local/include/regex.h (Spencer's 11101byte standard one)
The config.log indicates the latter was selected by your compiler and subsequently found not to be compatible. It would seem that this regex.h expects, contrary to the POSIX regex standard, some unusual header(s) to included first.
I see no particular reason why we should attempt to support this old regex library so will close this report.
As far as workaround this problem, I would suggest either altering your include/library paths to avoid use of this header/library, uninstalling this header/library, or replacing this header/library.
Kurt
Thanks, Stew
On 10/11/06, Kurt D. Zeilenga Kurt@openldap.org wrote:
Actually, I only silenced the regex.h warning. I cannot tell from your message why the regex compat check failed. Please provide relevant details from config.log.
At 11:18 PM 10/10/2006, stew.redfield@gmail.com wrote:
Full_Name: Stew Redfield Version: 2.3.27 OS: Solaris 10 sparc URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (65.219.72.58)
/configure --prefix=/usr/local --snip-- checking regex.h presence... yes configure: WARNING: regex.h: present but cannot be compiled configure: WARNING: regex.h: check for missing prerequisite headers? configure: WARNING: regex.h: see the Autoconf documentation configure: WARNING: regex.h: section "Present But Cannot Be Compiled" configure: WARNING: regex.h: proceeding with the preprocessor's result configure: WARNING: regex.h: in the future, the compiler will take precedence configure: WARNING: ## --------------------------------------------- ## configure: WARNING: ## Report this to http://www.openldap.org/its/ ## configure: WARNING: ## --------------------------------------------- ## checking for regex.h... yes checking for library containing regfree... none required checking for compatible POSIX regex... no configure: error: broken POSIX regex!
-- Stew Redfield, CISA CISSP Stew.Redfield@gmail.com
Reason can be fought with reason. How are you going to fight the unreasonable? -A. Rand
[Attachment trimmed]