Compiling Hobbit client errors on make install Centos 5.1

Josh Luthman josh at imaginenetworksllc.com
Thu Jan 17 09:22:06 CET 2008


Compling client on CentOS 5.1 and the 'make install' errors out =(

I was able to compile the client on CentOS 5, I'm using GCC shown here:
Installed Packages
Name   : gcc
Arch   : i386
Version: 4.1.1
Release: 52.el5.2
Size   : 8.7 M
Repo   : installed
Summary: Various compilers (C, C++, Objective-C, Java, ...)

The new server is running GCC as this shows:
Installed Packages
Name   : gcc
Arch   : i386
Version: 4.1.2
Release: 14.el5
Size   : 9.5 M
Repo   : installed
Summary: Various compilers (C, C++, Objective-C, Java, ...)

I tried starting from scratch to confirm I could do this again and
unfortunately I can =(

My user is named "shire" and the user's homedir is /usr/local/hobbit - this
directory has these permissions:
drwxr-xr-x 17 shire shire 4096 Jan 16 22:04 .

I performed these commands
./configure.client
default (server)
shire
default (/usr/local/hobbit)
1.2.3.4 (public IP)

-> make install
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DLINUX -I. -I`pwd`/include -DCLIENTONLY=1"
LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath=" PCREINCDIR="" SSLFLAGS=""
SSLINCDIR="" SSLLIBS="" NETLIBS="" BBTOPDIR="/usr/local/hobbit" BBLOGDIR=""
BBHOSTNAME="" BBHOSTIP="1.2.3.4" BBHOSTOS="" LOCALCLIENT="no" make -C lib
client
make[1]: Entering directory `/usr/local/hobbit/lib'
make[1]: Nothing to be done for `client'.
make[1]: Leaving directory `/usr/local/hobbit/lib'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DLINUX -I. -I`pwd`/include -DCLIENTONLY=1"
LDFLAGS="" RPATHOPT="-Wl,--rpath=" SSLFLAGS="" SSLINCDIR="" SSLLIBS=""
NETLIBS="" BBHOME="/usr/local/hobbit/client" make -C common client
make[1]: Entering directory `/usr/local/hobbit/common'
make[1]: Nothing to be done for `client'.
make[1]: Leaving directory `/usr/local/hobbit/common'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DLINUX -I. -I`pwd`/include -DCLIENTONLY=1"
LDFLAGS="" RPATHOPT="-Wl,--rpath=" SSLLIBS="" NETLIBS=""
BBHOME="/usr/local/hobbit/client" make -C build all
make[1]: Entering directory `/usr/local/hobbit/build'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/hobbit/build'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DLINUX -I. -I`pwd`/include -DCLIENTONLY=1"
BBHOME="/usr/local/hobbit/client" BBHOSTIP="1.2.3.4" LOCALCLIENT="no"
NETLIBS="" make -C client all
make[1]: Entering directory `/usr/local/hobbit/client'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/hobbit/client'
BBHOME="/usr/local/hobbit/client" INSTALLROOT="" BBUSER="shire"
LOCALCLIENT="no" make -C client install
make[1]: Entering directory `/usr/local/hobbit/client'
if test ! -d /usr/local/hobbit/client     ; then mkdir -p
/usr/local/hobbit/client     ; fi
if test ! -d /usr/local/hobbit/client/bin ; then mkdir -p
/usr/local/hobbit/client/bin ; fi
if test ! -d /usr/local/hobbit/client/etc ; then mkdir -p
/usr/local/hobbit/client/etc ; fi
if test ! -d /usr/local/hobbit/client/tmp ; then mkdir -p
/usr/local/hobbit/client/tmp ; fi
if test ! -d /usr/local/hobbit/client/logs; then mkdir -p
/usr/local/hobbit/client/logs; fi
if test ! -d /usr/local/hobbit/client/ext ; then mkdir -p
/usr/local/hobbit/client/ext ; fi
if test ! -f /usr/local/hobbit/client/etc/localclient.cfg ; then cp
localclient.cfg /usr/local/hobbit/client/etc/ ; fi
cp -fp runclient.sh /usr/local/hobbit/client
cp: `runclient.sh' and `/usr/local/hobbit/client/runclient.sh' are the same
file
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/local/hobbit/client'
make: *** [install-client] Error 2

Thanks in advance!

-- 
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080117/b99ce84e/attachment.html>


More information about the Xymon mailing list