[syslog-ng] Help

Patrick H. syslogng at feystorm.net
Wed May 26 21:44:42 CEST 2010


I loathe compiling on solaris, and try to avoid it wherever possible. If 
the only reason youre not using the pre-compiled package is the lack of 
init script, then it'd be easier to get an init script than compile a 
new syslog-ng. If anything, you can just yank the init script from the 
source and use it with the pre-compiled version. If youre using solaris 
10, then the proper way is to use the SMF manifests. A good source is 
http://hub.opensolaris.org/bin/view/Community+Group+smf/manifests and 
there's one for syslog-ng listed there.

Sent: Wednesday, May 26, 2010 1:30:25 PM
From: Chaitanya Sangawar <CS0048029 at TechMahindra.com>
To: syslog-ng at lists.balabit.hu <syslog-ng at lists.balabit.hu>
Subject: [syslog-ng] Help
>
> Hello All,
>
>  
>
> I am not sure if this is a forum where I can post some help I would 
> require but would appreciate if it is.
>
> I have been trying to install syslog-ng open source on Solaris since 
> quite sometime and now I am almost giving up.
>
>  
>
> After installing I would have presumed to have /etc/init.d/syslog-ng 
> file created but it wasn’t.
>
> Also now I am not able to do “make” to syslog-ng , observing the 
> following error.
>
>  
>
> Can anyone help me why this is happening?
>
> Is it related to PATH / PKG_CONFIG_PATH or something ? Something or 
> the other is happening and always ending up not able to complete the 
> installation.
>
>  
>
> # echo $PATH
>
> /usr/bin:/usr/sbin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/bin:/usr/sbin:/opt/local/bin:/usr/local/bin:/opt/local/scripts/common:/usr/dt/bin:/usr/openwin/bin:/usr/ucb:/usr/bin/nsr:/usr/sbin/nsr:/usr/ccs/bin:/usr/local/bin:/usr/sfw/bin:/usr/lib:/usr/lib:/usr/local/lib:/usr/local/bin:/usr/sfw/bin:/usr/sfw/bin
>
> echo $PKG_CONFIG_PATH
>
> /usr/local/lib/pkgconfig/:/usr/lib/pkgconfig/:/usr/sfw/bin
>
>  
>
> make
>
> make  all-recursive
>
> Making all in src
>
> lex   cfg-lex.l
>
> "cfg-lex.l":line 263: Error: missing translation value
>
> *** Error code 1
>
> make: Fatal error: Command failed for target `cfg-lex.c'
>
> Current working directory /opt/syslog-ng-3.0.4/src
>
> *** Error code 1
>
> The following command caused the error:
>
> failcom='exit 1'; \
>
> for f in x $MAKEFLAGS; do \
>
>   case $f in \
>
>     *=* | --[!k]*);; \
>
>     *k*) failcom='fail=yes';; \
>
>   esac; \
>
> done; \
>
> dot_seen=no; \
>
> target=`echo all-recursive | sed s/-recursive//`; \
>
> list='src tests doc contrib debian tgz2build'; for subdir in $list; do \
>
>   echo "Making $target in $subdir"; \
>
>   if test "$subdir" = "."; then \
>
>     dot_seen=yes; \
>
>     local_target="$target-am"; \
>
>   else \
>
>     local_target="$target"; \
>
>   fi; \
>
>   (cd $subdir && make  $local_target) \
>
>   || eval $failcom; \
>
> done; \
>
> if test "$dot_seen" = "no"; then \
>
>   make  "$target-am" || exit 1; \
>
> fi; test -z "$fail"
>
> make: Fatal error: Command failed for target `all-recursive'
>
> Current working directory /opt/syslog-ng-3.0.4
>
> *** Error code 1
>
> make: Fatal error: Command failed for target `all'
>
>  
>
> ============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally and http://tim.techmahindra.com/Disclaimer.html internally within Tech Mahindra.============================================================================================================================
>
> ------------------------------------------------------------------------
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20100526/895ce9af/attachment-0001.htm 


More information about the syslog-ng mailing list