I'm new to the list so be kind.
Here are my notes for building, installing and running rsyslog 4.4.1
on Solaris 10/Sparc64 on a V210. Using gcc4.4 it is possible to get
atomic operations working.
r...@csmith-rsyslog# uname -a
SunOS csmith-rsyslog 5.10 Generic_139555-08 sun4u sparc SUNW,Sun-Fire-V210
r...@csmith-rsyslog# gcc --version
gcc (GCC) 4.4.0
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
r...@csmith-rsyslog# rsyslogd -c3 -v
rsyslogd 4.4.1, compiled with:
FEATURE_REGEXP: Yes
FEATURE_LARGEFILE: Yes
FEATURE_NETZIP (message compression): Yes
GSSAPI Kerberos 5 support: No
FEATURE_DEBUG (debug build, slow code): No
Atomic operations supported: Yes
Runtime Instrumentation (slow code): No
See http://www.rsyslog.com for more information.
# build gcc44 from pkgsrc-wip
# - installation of pkgsrc and pkgsrc-wip is left as an exercise for the reader
cd /usr/pkgsrc/wip/gcc44 && make install clean
# add these to /usr/pkg/etc/mk.conf to use gcc44 and make 64-bit binaries
PKGSRC_COMPILER= gcc
USE_NATIVE_GCC= yes
CC= /usr/pkg/gcc44/bin/gcc
CPP= /usr/pkg/gcc44/bin/cpp
CXX= /usr/pkg/gcc44/bin/g++
CFLAGS+= -m64 -O -pipe
PKG_OPTIONS.rsyslog= relp
# extract librelp and rsyslog pkgsrc tarball (attached)
cd /usr/pkgsrc/wip && gunzip -c wip-rsyslog.tgz | tar xvf -
# compile rsyslog
cd /usr/pkgsrc/wip/rsyslog && make install clean
# fix runtime linking problem with solaris + gcc44
# - generate a test config
crle -64 -c /test.conf -u -l /usr/pkg/gcc44/lib/sparcv9/
# - test that rsyslog runs with this config
LD_CONFIG=/test.conf rsyslogd -c5 -f /usr/pkg/etc/rsyslog.conf -d -n
# - if it works then copy /test.conf to the system location
mv test.conf /var/ld/sparcv9/ld.conf
# END OF NOTES
If other people provide positive feedback I will look at getting
librelp and the rsyslog updates into pkgsrc-wip.
Initial testing looks good forwarding messages via TCP from a FreeBSD
rsyslog to the Solaris rsyslog server. I will let you know if I run
into problems during testing.
-Corey Smith
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com