Operating System - HP-UX
1835041 Members
2131 Online
110073 Solutions
New Discussion

Re: Compile bind version bind-9.1.1rc1

 
brian d. faulk
Occasional Contributor

Compile bind version bind-9.1.1rc1

Can someone please help me???
I've downloaded bind version 9.1.1rc1 ran ./configure and tried to do make.
I get the following error.

/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/limits.h:117: No include path in which to find limits.h
In file included from ../pthreads/include/isc/condition.h:24,
from app.c:32:
../pthreads/include/isc/mutex.h:23: pthread.h: No such file or directory
In file included from ../include/isc/string.h:23,
from app.c:37:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:17: sys/_null.h: No such file or directory
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:25: sys/_size_t.h: No such file or directory
app.c:43: pthread.h: No such file or directory
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Yes I wish it would stop I've tried to find the header files on the system with no such luck.
Is there anything that I am missing?? Any ideas how to fix this problem. I need to get this version running ASAP.

Thanks
3 REPLIES 3
Shannon Petry
Honored Contributor

Re: Compile bind version bind-9.1.1rc1

It looks to me like your trying to compile on HP-UX 10.20. Bind 9.1.x is only approved on HP-UX 11.X.
10.20 does not have the needed headers for threads, where 11.0 does. Bind 9.1 is multi-threaded, so requires those headers...

Look in the readme's with bind 9 and see if there is a way to disable threading (dont think so...). If not you may be SOL until you upgrade OS's.

Shannon
Microsoft. When do you want a virus today?
Kevin Wright
Honored Contributor

Re: Compile bind version bind-9.1.1rc1

if your using 10.20, you can install bind 8.2.3 easily..with the Ansi C compiler, I could not get gcc to work, I tried for hours. bind 8.2.3 is not supported by HP on 10.20, however I installed it and created a slave server quite easily once I installed the full Ansi compiler..
8.2.3 was just released last month, this should give you what you need as opposed to 9.x.
good luck
rick jones
Honored Contributor

Re: Compile bind version bind-9.1.1rc1

the BIND bits from isc.org are setup to use the HP ANSI C compiler, though I _tyhink_ there might be a GCC-based target on BIND8.

BIND9 does require _real_ pthreads and those do not exist on 10.20.

There is though a way to do a thread-free BIND9 - I think the option is --disable-threads or --disable-pthreads.

Even so, BIND 9.1 is 1/2 the perf of BIND 8:

ftp://ftp.cup.hp.com/dist/networking/briefs/

also, I am not aware of similar changes in the BIND9 build logic to accomodate gcc on HP-UX, but a query to bind-users might elicit a response.
there is no rest for the wicked yet the virtuous have no pillows