Hi all
I am not having much luck with the new version. Running Solaris 10 x86
bash-3.00# gmake
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I.
-Ipwd/include -I/usr/local/include" LDFLAGS="" OSDEF="-DSunOS"
RPATHOPT="" PCREINCDIR="-I/usr/local/include" SSLFLAGS="-DBBGEN_SSL"
SSLINCDIR="-I/usr/local/ssl/include " SSLLIBS="-L/usr/local/ssl/lib
-lssl -lcrypto" NETLIBS="-lresolv -lsocket -lnsl"
BBTOPDIR="/export/home/hobbit/" BBLOGDIR="/var/log/hobbit"
BBHOSTNAME="shire" BBHOSTIP="10.1.14.84" BBHOSTOS="sunos" gmake -C lib
all
gmake[1]: Entering directory /export/home/hobbit/hobbit-4.2.0/lib' ar cr libbbgen.a osdefs.o acklog.o availability.o calc.o cgi.o cgiurls.o clientlocal.o color.o digest.o encoding.o environ.o errormsg.o eventlog.o files.o headfoot.o hobbitrrd.o htmllog.o ipaccess.o loadalerts.o loadhosts.o loadnkconf.o links.o matching.o md5.o memory.o misc.o netservices.o rbtr.o reportlog.o rmd160c.o sendmsg.o sha1.o sig.o stackio.o strfunc.o suid.o timefunc.o timing.o url.o gmake[1]: ar: Command not found gmake[1]: *** [libbbgen.a] Error 127 gmake[1]: Leaving directory /export/home/hobbit/hobbit-4.2.0/lib'
gmake: *** [lib-build] Error 2
The offending line appears to be from ~hobbit-4.2.0/lib/Makefile --- snip ---
test-endianness: test-endianness.c $(CC) $(CFLAGS) -o $@ $<
libbbgen.a: $(BBGENLIBOBJS) ar cr libbbgen.a $(BBGENLIBOBJS) ranlib libbbgen.a || echo ""
hobbitclient.a: $(CLIENTLIBOBJS) ar cr hobbitclient.a $(CLIENTLIBOBJS) ranlib hobbitclient.a || echo ""
--- snip ---
Any help apreciated.
Regards Vernon
It looks like the makefile needs the full path to ar, or ar needs to be in your $PATH. Try adding /usr/ccs/bin to your $PATH.
-Charles
Everett, Vernon wrote:
Hi all
I am not having much luck with the new version. Running Solaris 10 x86
gmake[1]: ar: Command not found gmake[1]: *** [libbbgen.a] Error 127 gmake[1]: Leaving directory `/export/home/hobbit/hobbit-4.2.0/lib' gmake: *** [lib-build] Error 2
The offending line appears to be from ~hobbit-4.2.0/lib/Makefile --- snip --- libbbgen.a: $(BBGENLIBOBJS) ar cr libbbgen.a $(BBGENLIBOBJS) ranlib libbbgen.a || echo ""
participants (2)
-
jonescr@cisco.com
-
Vernon.Everett@dpi.wa.gov.au