Thanks and apologies for the slow response – I was away for a few days
I’m obviously doing something wrong because the build still fails (see below).
I copied the three (raw) files from the link provided below and replaced the files in the 3.6.4 distribution I had previously downloaded.
On first attempt it complained about automake being missing and then failed. I started again after installing automake-111 (from the Solaris distribution) and the automake messages have disappeared however the build failure is the same. Am I missing another
dependency ?
CC modules/afsocket/modules_afsocket_libafsocket_tls_la-transport-mapper-unix.lo
CC modules/afsocket/modules_afsocket_libafsocket_tls_la-transport-unix-socket.lo
modules/afsocket/transport-unix-socket.c: In function â_format_proc_file_nameâ:
modules/afsocket/transport-unix-socket.c:50:3: warning: format â%dâ expects argument of type âintâ, but argument 4 has type âpid_tâ
[-Wformat=]
g_snprintf(buf, buflen, "/proc/%d/%s", pid, proc_file);
^
modules/afsocket/transport-unix-socket.c: In function âlog_transport_unix_dgram_socket_newâ:
modules/afsocket/transport-unix-socket.c:265:3: warning: implicit declaration of function âsocket_set_pass_credentialsâ [-Wimplicit-function-declaration]
socket_set_pass_credentials(fd);
^
modules/afsocket/transport-unix-socket.c: At top level:
modules/afsocket/transport-unix-socket.c:36:1: warning: â_add_nv_pair_intâ defined but not used [-Wunused-function]
_add_nv_pair_int(LogTransportAuxData *aux, const gchar *name, gint value)
^
modules/afsocket/transport-unix-socket.c:102:1: warning: â_add_nv_pair_proc_read_unless_unsetâ defined but not used [-Wunused-function]
_add_nv_pair_proc_read_unless_unset(LogTransportAuxData *aux, const gchar *name, pid_t pid, const gchar *proc_file, const gchar *unset_value)
^
modules/afsocket/transport-unix-socket.c:115:1: warning: â_add_nv_pair_proc_read_argvâ defined but not used [-Wunused-function]
_add_nv_pair_proc_read_argv(LogTransportAuxData *aux, const gchar *name, pid_t pid, const gchar *proc_file)
^
modules/afsocket/transport-unix-socket.c:135:1: warning: â_add_nv_pair_proc_readlinkâ defined but not used [-Wunused-function]
_add_nv_pair_proc_readlink(LogTransportAuxData *aux, const gchar *name, pid_t pid, const gchar *proc_file)
^
CC modules/afsocket/modules_afsocket_libafsocket_tls_la-unix-credentials.lo
CC modules/afsocket/modules_afsocket_libafsocket_tls_la-afsocket-grammar.lo
CC modules/afsocket/modules_afsocket_libafsocket_tls_la-afsocket-parser.lo
CC modules/afsocket/modules_afsocket_libafsocket_tls_la-afsocket-plugin.lo
CC modules/afsocket/modules_afsocket_libafsocket_tls_la-systemd-syslog-source.lo
CCLD modules/afsocket/libafsocket-tls.la
CC modules/afsql/modules_afsql_libafsql_la-afsql.lo
In file included from modules/afsql/afsql.c:24:0:
modules/afsql/afsql.h:28:21: fatal error: dbi/dbi.h: No such file or directory
#include <dbi/dbi.h>
^
compilation terminated.
gmake[2]: *** [modules/afsql/modules_afsql_libafsql_la-afsql.lo] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2
From: Arsenault, Adam [mailto:adam.arsenault@balabit.com]
Sent: 02 July 2015 14:43
To: syslog-ng@lists.balabit.hu
Cc: Cottington-Bray, Ian
Subject: [syslog-ng] Problems trying to compile syslog-ng 3.6.4 on Solaris 11.2 (SPARC)
With this patch, syslog-ng 3.6.4 compiles on Solaris 11.2 (X86-64). It will work on SPARC as well.
https://github.com/balabit/syslog-ng/pull/543
-Adam Arsenault