I've got it running for two years now on a Sun Netra box running Solaris 9
> I searched and found some problems people were having compiling it on Solaris.
> However I didn't see anything else.
I just used the compile instructions as shown in the elog admin manual
Here the Makefile I used
#
# Simple makefile for elogd
#
# S. Ritt, May 12th 2000
# install/clean section by Th. Bullinger, Apr. 26th, 2002
#
# add "-DHAVE_CRYPT" and "-lcrypt" to use crypt() function
#
CC = gcc
LIBS =
CFLAGS = -L/usr/lib/ -ldl -lresolv -lm -ldl -lnsl -lsocket
#CFLAGS = -g -O
EXECS = elog elogd elconv
DESTDIR = /usr/local/bin
SDESTDIR = /usr/local/sbin
MANDIR = /usr/local/man
INSTALL = /usr/bin/install
RM = /bin/rm
ifeq ($(OSTYPE),solaris)
CC = gcc
#LIBS = -lsocket -lnsl
#CFLAGS =
INSTALL = /usr/ucb/install
RM = /usr/bin/rm
endif
ifeq ($(OSTYPE),darwin)
CC = cc
endif
all: $(EXECS)
%: src/%.c
$(CC) $(CFLAGS) -o $@ $< $(LIBS)
install: $(EXECS)
$(INSTALL) -m 0755 -o bin -g bin elog elconv $(DESTDIR)
$(INSTALL) -m 0755 -o bin -g bin elogd $(SDESTDIR)
$(INSTALL) -m 0644 man/elog.1 man/elconv.1 $(MANDIR)/man1/
$(INSTALL) -m 0644 man/elogd.8 $(MANDIR)/man8/
clean:
-$(RM) *~ $(EXECS)
> If your using it, was it hard to get it installed and working?
Not at all.
Just read the manual and it just works.
If you are having problems just read this "forum" the get the answers. |