summaryrefslogtreecommitdiffstats
path: root/solaris
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-03-25 10:12:36 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-03-25 10:12:36 +0100
commitbdb632e6d2ed6fe86f2f6d3163932e33fc2959a9 (patch)
tree348dacb4f4d41c51fa342ac018dde237b353a524 /solaris
parent2ca1ade1a588f2a3953a5db3e3415aa2425a8057 (diff)
downloadrsyslog-bdb632e6d2ed6fe86f2f6d3163932e33fc2959a9.tar.gz
rsyslog-bdb632e6d2ed6fe86f2f6d3163932e33fc2959a9.tar.xz
rsyslog-bdb632e6d2ed6fe86f2f6d3163932e33fc2959a9.zip
added some instructions for building rsyslog on Solaris
Diffstat (limited to 'solaris')
-rw-r--r--solaris/README34
1 files changed, 34 insertions, 0 deletions
diff --git a/solaris/README b/solaris/README
new file mode 100644
index 00000000..0700642e
--- /dev/null
+++ b/solaris/README
@@ -0,0 +1,34 @@
+Notes for Solaris
+
+Rsyslog will be fully supported on Solaris in the future. To build it, the GNU build
+tools (and most of the GNU environment) is needed. This software can be
+found at the excellent http://www.blastwave.org site.
+
+PREQUISITES
+It is strongly recommended to use GCC4 with support for
+atomic instructions (if available for the platform). While rsyslog can
+be built without atomic instructin support (and will work well then),
+it then falls back to POSIX semaphores, which require much more CPU
+time than atomic instructions. Note that even on intel platforms the
+(current, as of 2010-03-25) blastwave gcc4 version targets too-old
+processors by default. To change that, use "-imarch=I686" in your
+CFLAGS.
+
+CONFIGURE OPTIONS
+A number of GNU tools are renamed g* so that they not conflict with
+the native Solaris tools. As we need the GNU replacements, this
+must be specified on the ./configure line.
+Also, we must tell the linker where to find the glibc library when
+building the plugins. This is done via the LDFLAGS variable as
+shown below (based on the good information availabe at
+http://prefetch.net/articles/linkers.badldlibrary.html
+
+The working sample configure sequence I use is:
+
+export LDFLAGS="-R/usr/local/lib"
+./configure AR=gar ...other options...
+
+
+NOT YET SUPPORTED
+* local log socket
+* kernel log