[hobbit] Problem building Hobbit on a Solaris 10 zone
Hosch, Katherine CONT (SPAWAR ITC)
katherine.hosch at navy.mil
Tue Aug 12 19:13:27 CEST 2008
Is this a sparse root or a whole root zone? If the former then the
container may not have permission to write to /usr .
- katherine hosch
-----Original Message-----
From: John P Martin [mailto:jmartin23 at csc.com]
Sent: Tuesday, August 12, 2008 10:07
To: hobbit at hswn.dk
Subject: [hobbit] Problem building Hobbit on a Solaris 10 zone
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
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
More information about the Xymon
mailing list