As a BB-fan and System Manager, I'm interested in what Hobbit can do for me instead of BB. So I'm compiling Hobbit on my Mac running OS 10.3.8, with gnu make 3.79, rrdtool 1.0.49, prerequisite libraries (ldap, ssl, pcre; need version nr?) build from scratch using 'fink commander 0.5.3', so I'm able to run the configure script.
I made some (minor) adaptations to have it run correctly since /etc/passwd is not actually used and the configure script won't run without these adaptations and the build/*scripts* to have it look for the libraries in /sw, where fink commander puts it results (libraries and so on) - (I'll supply them to the community after I have Hobbit running).
After running the make command, it compiles a lot, but in the end (I think), it fails with the following (see complete included logging). Any hints would be appreciated very much!
Thanks,
Peter Welter
Vigor10:~/Desktop/hobbit-4.0-RC5 hobbit$ make
CC="cc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT
-D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-Ipwd/include" RPATHOPT="" SSLFLAGS="-DBBGEN_SSL"
SSLINCDIR="-I/sw/include " SSLLIBS="-L/sw/lib -lssl -lcrypto"
NETLIBS="" BBTOPDIR="/Users/hobbit" BBLOGDIR="/Users/hobbit/log"
BBHOSTNAME="Vigor10" BBHOSTIP="127.0.0.1" BBHOSTOS="darwin" make -C
lib all
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c
-o bbalert.o bbalert.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c
-o bblarrd.o bblarrd.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c
-o calc.o calc.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c
-o color.o color.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include
-DBBGEN_SSL -I/sw/include -c -o digest.o digest.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c
-o encoding.o encoding.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include
-DBBTOPDIR=\"/Users/hobbit\" -DBBLOGDIR=\"/Users/hobbit/log\"
-DBBHOSTNAME=\"Vigor10\" -DBBHOSTIP=\"127.0.0.1\"
-DBBHOSTOS=\"darwin\" -c -o environ.o environ.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c
-o errormsg.o errormsg.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c
-o files.o files.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c
-o headfoot.o headfoot.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c
-o htmllog.o htmllog.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c
-o loadhosts.o loadhosts.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c
-o links.o links.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c
-o md5.o md5.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c
-o memory.o memory.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c
-o misc.o misc.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c
-o netservices.o netservices.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c
-o rbtr.o rbtr.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c
-o savelog.o savelog.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c
-o sendmsg.o sendmsg.c
sendmsg.c: In function sendtobbd': sendmsg.c:227: warning: int format, long unsigned int arg (arg 3) cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c -o sig.o sig.c cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c -o stackio.o stackio.c cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c -o timefunc.o timefunc.c cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c -o timing.o timing.c cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -c -o url.o url.c ar cr libbbgen.a bbalert.o bblarrd.o calc.o color.o digest.o encoding.o environ.o errormsg.o files.o headfoot.o htmllog.o loadhosts.o links.o md5.o memory.o misc.o netservices.o rbtr.o savelog.o sendmsg.o sig.o stackio.o timefunc.o timing.o url.o ranlib libbbgen.a || echo "" cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -I. -I../include -DSTANDALONE -o loadhosts loadhosts.c ./libbbgen.a CC="cc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -Ipwd/include" RPATHOPT="" SSLFLAGS="-DBBGEN_SSL" SSLINCDIR="-I/sw/include " SSLLIBS="-L/sw/lib -lssl -lcrypto" NETLIBS="" BBHOME="/Users/hobbit/server" make -C common all cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o bbhostgrep.o bbhostgrep.c cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bbhostgrep bbhostgrep.o ../lib/libbbgen.a cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o bbhostshow.o bbhostshow.c cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bbhostshow bbhostshow.o ../lib/libbbgen.a cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o bbdigest.o bbdigest.c cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bbdigest bbdigest.o ../lib/libbbgen.a -L/sw/lib -lssl -lcrypto cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -DSTANDALONE -c -o sendmsg-std.o ../lib/sendmsg.c ../lib/sendmsg.c: In function sendtobbd':
../lib/sendmsg.c:227: warning: int format, long unsigned int arg (arg 3)
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bb sendmsg-std.o
../lib/libbbgen.a
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o hobbitlaunch.o
hobbitlaunch.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o hobbitlaunch
hobbitlaunch.o ../lib/libbbgen.a
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o bbcmd.o bbcmd.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bbcmd bbcmd.o
../lib/libbbgen.a
CC="cc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT
-D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-Ipwd/include" RPATHOPT="" SSLFLAGS="-DBBGEN_SSL"
SSLINCDIR="-I/sw/include " SSLLIBS="-L/sw/lib -lssl -lcrypto"
NETLIBS="" BBHOME="/Users/hobbit/server" BBVAR="/Users/hobbit/data"
HISTGRAPHDEF="-DDEFPIXELS=960 -DDEFBARSUMS=15" HOBBITD="1"
RUNTIMEDEFS="" PCREINCDIR="-I/sw/include" PCRELIBS="-L/sw/lib -lpcre"
make -C bbdisplay all
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o bbgen.o bbgen.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o loadbbhosts.o
loadbbhosts.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o loaddata.o
loaddata.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o reportdata.o
reportdata.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o bbconvert.o
bbconvert.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o pagegen.o
pagegen.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o eventlog.o
eventlog.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o acklog.o acklog.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o process.o
process.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o wmlgen.o wmlgen.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o rssgen.o rssgen.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o bb-replog.o
bb-replog.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o util.o util.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o debug.o debug.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bbgen bbgen.o
loadbbhosts.o loaddata.o reportdata.o bbconvert.o pagegen.o eventlog.o
acklog.o process.o wmlgen.o rssgen.o bb-replog.o util.o debug.o
../lib/libbbgen.a
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o bb-rep.o bb-rep.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bb-rep.cgi bb-rep.o
../lib/libbbgen.a
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -DCGI -c -o
bb-replog-cgi.o bb-replog.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bb-replog.cgi
bb-replog-cgi.o reportdata.o ../lib/libbbgen.a
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -DDEFPIXELS=960
-DDEFBARSUMS=15 -c -o bb-hist.o bb-hist.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bb-hist.cgi
bb-hist.o reportdata.o ../lib/libbbgen.a
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o bb-snapshot.o
bb-snapshot.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bb-snapshot.cgi
bb-snapshot.o ../lib/libbbgen.a
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -DCGI -c -o
bb-eventlog.o eventlog.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bb-eventlog.cgi
bb-eventlog.o util.o loadbbhosts.o ../lib/libbbgen.a
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o bb-findhost.o
bb-findhost.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bb-findhost.cgi
bb-findhost.o ../lib/libbbgen.a
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o bb-csvinfo.o
bb-csvinfo.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bb-csvinfo.cgi
bb-csvinfo.o ../lib/libbbgen.a
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -DCGI -c -o
bb-hostsvc.o bb-hostsvc.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bb-hostsvc.cgi
bb-hostsvc.o ../lib/libbbgen.a
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o bb-ack.o bb-ack.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bb-ack.cgi bb-ack.o
../lib/libbbgen.a
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o bb-webpage.o
bb-webpage.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bb-webpage
bb-webpage.o ../lib/libbbgen.a
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o bb-larrdcolumn.o
bb-larrdcolumn.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bb-larrdcolumn
bb-larrdcolumn.o ../lib/libbbgen.a
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -DHOBBIT -I../hobbitd
-c -o bb-infocolumn.o bb-infocolumn.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -DINFOCOL -c -o
hobbit-alertconfig.o -I/sw/include -I../hobbitd ../hobbitd/do_alert.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bb-infocolumn
bb-infocolumn.o hobbit-alertconfig.o ../lib/libbbgen.a -L/sw/lib
-lpcre
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -c -o bbcombotest.o
bbcombotest.c
cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
-I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bbcombotest
bbcombotest.o ../lib/libbbgen.a
cat bb-rep.sh-hobbitd.DIST | sed -e
's!@BBHOME@!/Users/hobbit/server!g' | sed -e 's!@RUNTIMEDEFS@!!g'
bb-rep.sh chmod 755 bb-rep.sh cat bb-replog.sh-hobbitd.DIST | sed -e 's!@BBHOME@!/Users/hobbit/server!g' | sed -e 's!@RUNTIMEDEFS@!!g' bb-replog.sh chmod 755 bb-replog.sh cat bb-hist.sh-hobbitd.DIST | sed -e 's!@BBHOME@!/Users/hobbit/server!g' | sed -e 's!@RUNTIMEDEFS@!!g' bb-hist.sh chmod 755 bb-hist.sh cat bb-snapshot.sh-hobbitd.DIST | sed -e 's!@BBHOME@!/Users/hobbit/server!g' | sed -e 's!@RUNTIMEDEFS@!!g' bb-snapshot.sh chmod 755 bb-snapshot.sh cat bb-eventlog.sh-hobbitd.DIST | sed -e 's!@BBHOME@!/Users/hobbit/server!g' | sed -e 's!@RUNTIMEDEFS@!!g' bb-eventlog.sh chmod 755 bb-eventlog.sh cat bb-findhost.sh-hobbitd.DIST | sed -e 's!@BBHOME@!/Users/hobbit/server!g' | sed -e 's!@RUNTIMEDEFS@!!g' bb-findhost.sh chmod 755 bb-findhost.sh cat bb-csvinfo.sh-hobbitd.DIST | sed -e 's!@BBHOME@!/Users/hobbit/server!g' | sed -e 's!@RUNTIMEDEFS@!!g' bb-csvinfo.sh chmod 755 bb-csvinfo.sh cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -DCGI -c -o sendmsg-cgi.o ../lib/sendmsg.c ../lib/sendmsg.c: In function
sendtobbd': ../lib/sendmsg.c:227: warning: int format, long unsigned int arg (arg 3) cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -o bbmessage.cgi sendmsg-cgi.o ../lib/libbbgen.a cat bb-hostsvc.sh-hobbitd.DIST | sed -e 's!@BBHOME@!/Users/hobbit/server!g' | sed -e 's!@RUNTIMEDEFS@!!g' bb-hostsvc.sh chmod 755 bb-hostsvc.sh cat bb-histlog.sh-hobbitd.DIST | sed -e 's!@BBHOME@!/Users/hobbit/server!g' | sed -e 's!@RUNTIMEDEFS@!!g' bb-histlog.sh chmod 755 bb-histlog.sh cat hobbitcolumn.sh-hobbitd.DIST | sed -e 's!@BBHOME@!/Users/hobbit/server!g' | sed -e 's!@RUNTIMEDEFS@!!g' hobbitcolumn.sh chmod 755 hobbitcolumn.sh CC="cc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -Ipwd/include" RPATHOPT="" SSLFLAGS="-DBBGEN_SSL" SSLINCDIR="-I/sw/include " SSLLIBS="-L/sw/lib -lssl -lcrypto" LDAPFLAGS="-DBBGEN_LDAP -DBBGEN_LDAP_USESTARTTLS" LDAPINCDIR="-I/sw/include" LDAPLIBS="-L/sw/lib -lldap -llber" NETLIBS="" BBHOME="/Users/hobbit/server" ARESVER="1.2.1" RUNTIMEDEFS="" make -C bbnet all cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -DBBGEN_SSL -DBBGEN_LDAP -DBBGEN_LDAP_USESTARTTLS -I/sw/include -I/sw/include -c -o bbtest-net.o bbtest-net.c cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -DBBGEN_SSL -I/sw/include -c -o contest.o contest.c cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -DBBGEN_SSL -I/sw/include -c -o httptest.o httptest.c httptest.c: In functionadd_http_test': httptest.c:583: warning: int format, long unsigned int arg (arg 3) cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -DBBGEN_SSL -I/sw/include -c -o httpresult.o httpresult.c cc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -DBBGEN_LDAP -DBBGEN_LDAP_USESTARTTLS -I/sw/include -c -o ldaptest.o ldaptest.c (cd c-ares && make) make all-am if /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.
-g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -MT ares_process.lo -MD -MP -MF ".deps/ares_process.Tpo" -c -o ares_process.lo ares_process.c;
then mv -f ".deps/ares_process.Tpo" ".deps/ares_process.Plo"; else rm -f ".deps/ares_process.Tpo"; exit 1; fi cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -Wno-unused -D_REENTRANT -D_BSD_SOCKLEN_T_=int -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0-RC5/include -MT ares_process.lo -MD -MP -MF .deps/ares_process.Tpo -c ares_process.c -o ares_process.o ares_process.c: In functionread_udp_packets': ares_process.c:258: error:PACKETSZ' undeclared (first use in this function) ares_process.c:258: error: (Each undeclared identifier is reported only once ares_process.c:258: error: for each function it appears in.) ares_process.c: In functionprocess_answer': ares_process.c:302: error:HFIXEDSZ' undeclared (first use in this function) ares_process.c:323: error:PACKETSZ' undeclared (first use in this function) ares_process.c:344: error:SERVFAIL' undeclared (first use in this function) ares_process.c:344: error:NOTIMP' undeclared (first use in this function) ares_process.c:344: error:REFUSED' undeclared (first use in this function) ares_process.c: In functionsame_questions': ares_process.c:555: error:HFIXEDSZ' undeclared (first use in this function) ares_process.c:573: error: `QFIXEDSZ' undeclared (first use in this function) make[3]: *** [ares_process.lo] Error 1 make[2]: *** [all] Error 2 make[1]: *** [c-ares/.libs/libcares.a] Error 2 make: *** [bbnet-build] Error 2 Vigor10:~/Desktop/hobbit-4.0-RC5 hobbit$
On Mon, Mar 21, 2005 at 10:01:25AM +0100, Peter Welter wrote:
As a BB-fan and System Manager, I'm interested in what Hobbit can do for me instead of BB. So I'm compiling Hobbit on my Mac running OS 10.3.8, with gnu make 3.79, rrdtool 1.0.49, prerequisite libraries (ldap, ssl, pcre; need version nr?) build from scratch using 'fink commander 0.5.3', so I'm able to run the configure script.
I made some (minor) adaptations to have it run correctly since /etc/passwd is not actually used and the configure script won't run without these adaptations and the build/*scripts* to have it look for the libraries in /sw, where fink commander puts it results (libraries and so on) - (I'll supply them to the community after I have Hobbit running).
I've had some correspondance with two other people who have built Hobbit on Mac OS X, and currently have a number of changes in my source tree that makes Hobbit build almost without problems in that environment.
The one issue that is pending is precisely the one you mention about /etc/passwd not being used, so if you know how to work around that in the configuration phase, I would be very interested to have that info. If you send it to me, I can merge it for the final release.
Regards, Henrik
Hello Henrik,
For the /etc/password-thing.Mac OSX has the (non-priv) nireport command. Checking for the existence of this user and home dir can be done when you run configure as the created user:
bash$ nireport / /users name home | grep $(whoami) hobbit /Users/hobbit
bash$ STRING=$(nireport / /users name home | grep $(whoami)) bash$ USER=$(echo $STRING | awk '{print $1}') bash$ UHOME=$(echo $STRING | awk '{print $2}')
Regards, Peter
On Mon, 21 Mar 2005 10:08:30 +0100, Henrik Stoerner <henrik at hswn.dk> wrote:
On Mon, Mar 21, 2005 at 10:01:25AM +0100, Peter Welter wrote:
As a BB-fan and System Manager, I'm interested in what Hobbit can do for me instead of BB. So I'm compiling Hobbit on my Mac running OS 10.3.8, with gnu make 3.79, rrdtool 1.0.49, prerequisite libraries (ldap, ssl, pcre; need version nr?) build from scratch using 'fink commander 0.5.3', so I'm able to run the configure script.
I made some (minor) adaptations to have it run correctly since /etc/passwd is not actually used and the configure script won't run without these adaptations and the build/*scripts* to have it look for the libraries in /sw, where fink commander puts it results (libraries and so on) - (I'll supply them to the community after I have Hobbit running).
I've had some correspondance with two other people who have built Hobbit on Mac OS X, and currently have a number of changes in my source tree that makes Hobbit build almost without problems in that environment.
The one issue that is pending is precisely the one you mention about /etc/passwd not being used, so if you know how to work around that in the configuration phase, I would be very interested to have that info. If you send it to me, I can merge it for the final release.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (2)
-
henrik@hswn.dk
-
peter.welter@gmail.com