Xymon Mailing List Archive search

Problem building Hobbit on a Solaris 10 zone

list T.J. Yang
Tue, 12 Aug 2008 11:11:19 -0500
Message-Id: <user-bb385d376b5c@xymon.invalid>

I will create a version of  hobbit server package for sparc and intel solaris 10 for hobbit community.
but  I hope you can wait. the package will be here

http://hobbitmon.svn.sourceforge.net/viewvc/hobbitmon/branches/tjyang/dist/cd/dists/opt/packages/sparc-sun-solaris2.10/

I didn't use gcc to compile hobbit on Solaris platform. package source  will be released also.

T.J. Yang
To: user-ae9b8668bcde@xymon.invalid
From: user-18313e92e552@xymon.invalid
Date: Tue, 12 Aug 2008 16:06:43 +0100
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

Get Windows Live and get whatever you need, wherever you are.  Start here.
http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home_082008