Compiling Hobbit client errors on make install Centos 5.1
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. -Ipwd/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. -Ipwd/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. -Ipwd/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. -Ipwd/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
On Thu, Jan 17, 2008 at 03:22:06AM -0500, Josh Luthman wrote:
Compling client on CentOS 5.1 and the 'make install' errors out =( cp -fp runclient.sh /usr/local/hobbit/client cp:
runclient.sh' and/usr/local/hobbit/client/runclient.sh' are the same file
Seeems you've unpacked the Hobbit sources into the same directory that you're trying to install to. Try unpacking the Hobbit sources to ~/source/ and then re-running the build from there.
Henrik
That did it! Sorry for such a dumb problem - never would have thought of that though.
Thanks again, Henrik!
On 1/17/08, Henrik Stoerner <henrik at hswn.dk> wrote:
On Thu, Jan 17, 2008 at 03:22:06AM -0500, Josh Luthman wrote:
Compling client on CentOS 5.1 and the 'make install' errors out =( cp -fp runclient.sh /usr/local/hobbit/client cp:
runclient.sh' and/usr/local/hobbit/client/runclient.sh' are the same fileSeeems you've unpacked the Hobbit sources into the same directory that you're trying to install to. Try unpacking the Hobbit sources to ~/source/ and then re-running the build from there.
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- 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
participants (2)
-
henrik@hswn.dk
-
josh@imaginenetworksllc.com