Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'No go after OS X reinstall' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
No go after OS X reinstall
Authored by: vertigo on Jan 03, '02 12:06:24AM

I have the oddest problem. I recently installed bind-9.2.0 per the instructions and set up the dns cache. Everything went as expected. Due to unrelated problems I had to reinstall OS X (10.1.2 w/ Developer Tools) and tried to install bind again. No go. I get this when trying to compile:

[localhost:Desktop/DNS/bind-9.2.0] root# ./configure --prefix=/usr/local --mandir=/usr/local/share/man
creating cache ./config.cache
checking host system type... powerpc-apple-darwin5.2
checking whether make sets ${MAKE}... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking for ar... /usr/bin/ar
checking for etags... /usr/bin/etags
checking for Exuberant Ctags etags... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E -traditional-cpp
checking for ANSI C header files... no
checking for fcntl.h... no
checking for sys/time.h... no
checking for unistd.h... no
checking for sys/sockio.h... no
checking for sys/select.h... no
checking for sys/sysctl.h... no
checking for working const... yes
checking for inline... inline
checking for sysctlbyname... yes
checking for static inline breakage... no
checking for size_t... no
checking for ssize_t... no
checking whether time.h and sys/time.h may both be included... no
checking for long long... yes
configure: error: need either unistd.h or sys/select.h
[localhost:Desktop/DNS/bind-9.2.0] root#

It seems to be getting caught on the 'unistd.h' and 'sys/select.h' files. I am unable to find them on my system either. I'm a UNIX newbie and this has me stumped. I can't figure out why it worked before and chokes now. Anyone else having this problem? Any suggestions?



[ Reply to This | # ]
No go after OS X reinstall
Authored by: cookiemonsta on Jan 07, '02 11:57:37AM

Same thing happened to me, all you need to do is reinstall or Install in the frist place , Mac Os X SDK.pkg (on the DevTools Dec2001 CD)

so:

1. d/l DevTools 2001, from connect.apple.com (sign up if u need to, it is free)

2. install dev tools, dont worry about the documentation you must install the first 3 options, Dev Tools.pkg, Dev toolsExtra2001.pkg, and Mac OS X SDK.pkg

3. you can run the installers separately if u need to.

then once it has installed and done its stuff, try the ./configure command again and watch it fly!!!

happy new year and now over to MacWorld, ; )



[ Reply to This | # ]
No go after OS X reinstall
Authored by: vertigo on Jan 07, '02 05:31:49PM

D'oh! I feel so stupid. That was it! I had neglected to install the SDK.pkg when I did a custom install of the Dev Tools. Thanks, I would have never figured that out on my own! Much appreciated...

~vert



[ Reply to This | # ]