Operating System - Tru64 Unix
1829119 Members
1929 Online
109986 Solutions
New Discussion

bind 9.3.1 recompilation: preprocessor sanity check fails

 
Richard Lange
Occasional Advisor

bind 9.3.1 recompilation: preprocessor sanity check fails

Hello, I have a forwarding name server, and therefore need to install bind 9. I have the source code from isc.org, and it says they have had success on Tru64 5.1B, which I have, but I cannot even get past the initial ./configure. It says " C preprocessor /lib/cpp fails sanity check. "
Any ideas?
Thanks,
Richard
7 REPLIES 7
Richard Lange
Occasional Advisor

Re: bind 9.3.1 recompilation: preprocessor sanity check fails

Here's some more info:
Compaq C V6.5-011 on Compaq Tru64 UNIX V5.1B (Rev. 2650)
Compiler Driver V6.5-003 (sys) cc Driver

In looking at config.log, it seems that include files are not being found. I tried setting
export CPPFLAGS="-I"
and I can see in the config.log it is being used, but it did not help, but by manually copying some of the include files from the lower level directories up to /usr/include, I was able to make some progress in running configure - I copied limits.h, standards.h, and assert.h.
Now it wants sys/select.h and expects it to be in sys, but it won't search in sys. Could it be something about all the links involved? It turns out it is actually in /usr/sys/include/sys. I tried setting that path too with CPPFLAGS, but no help.

Venkatesh BL
Honored Contributor

Re: bind 9.3.1 recompilation: preprocessor sanity check fails

Did you check the LIBDIRS value?
Richard Lange
Occasional Advisor

Re: bind 9.3.1 recompilation: preprocessor sanity check fails

What would I put for LIBDIRS?

I think I made a mistake with the angle brackets in CPPFLAGS, but taking them out, or not using the directive at all, does not help.

It seems perhaps an issue is a missing stdio.h, which causes the test to fail and report header files missing:
---------------------------------------
configure:3498: checking for fcntl.h
configure:3518: cc -c -g -I/usr/include/sys -D_POSIX_PII_SOCKET conftest.c >&5
cc: Severe: conftest.c, line 9: Cannot find file specified in #include directive. (noinclfilef)
#include
---------------------------------------
I've searched for it like this:
cd /usr/include
find . -name stdio.h -follow -print
and it does not turn up.
Venkatesh BL
Honored Contributor

Re: bind 9.3.1 recompilation: preprocessor sanity check fails

You don't have the header files in the /usr/include directory?. That is strange...
Richard Lange
Occasional Advisor

Re: bind 9.3.1 recompilation: preprocessor sanity check fails

Here is the magic command, that will show what compiler software is installed:

setld -i | grep Software

I had the basic compiler but this was missing:

OSFINCLUDE540 not installed Standard Header Files (Software Development)

I expect things will work much better after I get this on!

Venkatesh BL
Honored Contributor

Re: bind 9.3.1 recompilation: preprocessor sanity check fails

oops...didn't know that you hadn't installed that...
Ralf Puchner
Honored Contributor

Re: bind 9.3.1 recompilation: preprocessor sanity check fails

HP does not support the opensource version of bind. Please post your question on the the bind forum within isc.org!

Due to special implementations from HP side within bind it is not recommended to use a opensource version on a cluster installation.
Help() { FirstReadManual(urgently); Go_to_it;; }