Problem building Hobbit on a Solaris 10 zone

John P Martin jmartin23 at csc.com
Tue Aug 12 17:06:43 CEST 2008


Hi,
      I have been trying to build a Hobbit server in a Solaris 10
non-global zone (or container), having downloaded the 4.2.0 source kit.  I
believe I have met all the prerequisites, but when I come to the "make"
stage, the build fails.

I spent some time checking what I had done and searching for known
problems, so apologies if the information is already out there and I've
missed it.

I repeated the steps I went through on another similar server, but this
time built the kit in the global zone, and it built OK.  Has anyone
sucessfully built a hobbit server in a Solaris 10 non-global zone?

Details:
OS: Solaris 10 1/06
Hobbit 4.2.0
Hardware: SunFire V240 (Sparc).

The configure goes OK.  The make seems to be OK up to this point:

(cd c-ares && CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.
-I/export/home/user1/hobbit-4.2.0/include -I/usr/local/include" ./configure
--disable-shared)
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Error 0
job-working-directory: error retrieving current directory: getcwd: cannot
access parent directories: Error 0

This message repeats lots of times, then a bunch of:

cat: cannot open confdefs.h

messages, and the whole session ends with:

checking for library containing gethostbyname... -lnsl
checking for library containing socket... -lsocket
checking whether to enable debug options... no
configure: error: cannot run /bin/bash ./config.sub
make[1]: *** [c-ares/Makefile] Error 1
make[1]: Leaving directory `/export/home/user1/hobbit-4.2.0/bbnet'
make: *** [bbnet-build] Error 2


              Cheers,

                        John





More information about the Xymon mailing list