[syslog-ng]installing syslog-ng

Balazs Scheidler syslog-ng@lists.balabit.hu
Sat, 30 Oct 2004 22:47:02 +0200


hmm.. you are compiling with native Solaris CC which I suppose nobody
has done before (at least not me), thus the necessary compiler options
are not in the configure file shipped with syslog-ng.

The easiest solution is to strip -Wall options from the generated
Makefiles after you run configure. And maybe to report back
success/failure about compiling syslog-ng with Sun's CC.

If enough information is gathered I'd want to include better support for
Solaris CC into the configure script.

On Sat, 2004-10-30 at 01:06, Majumdar, Anamitra wrote:
> Hello,
> 
> I am trying to install syslog-ng on a Solaris 8 box. I am able to configure Libol and syslog-ng.
> When I am trying to run make I am receiving the following error for syslog-ng
> 
> $ make
> Making all in src
> make  all-recursive
> Making all in .
> source='main.c' object='main.o' libtool=no \
> depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
> depmode=none /bin/bash /export/home/amajumda/syslog-ng-1.6.5/depcomp \
> cc -DHAVE_CONFIG_H -I. -I/export/home/amajumda/syslog-ng-1.6.5/src -I.      -g -Wall -I/export/home/amajumda/libol-0.3.14/src -D_GNU_SOURCE -c `test -f 'main.c' || echo '/export/home/amajumda/syslog-ng-1.6.5/src/'`main.c
> cc: illegal option -Wall
> *** Error code 1
> make: Fatal error: Command failed for target `main.o'
> Current working directory /export/home/amajumda/syslog-ng-1.6.5/src
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /export/home/amajumda/syslog-ng-1.6.5/src
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> Current working directory /export/home/amajumda/syslog-ng-1.6.5/src
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> 
> I am receiving a similar error while trying to install libol-0.3.14
> 
> $ make
> Making all in utils
> Making all in src
> make  all-am
> source='format.c' object='format.lo' libtool=yes \
> depfile='.deps/format.Plo' tmpdepfile='.deps/format.TPlo' \
> depmode=none /bin/bash /export/home/amajumda/libol-0.3.14/depcomp \
> /bin/bash ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I/export/home/amajumda/libol-0.3.14/src -I.    -D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED  -g -Wall -O2 -c -o format.lo `test -f 'format.c' || echo '/export/home/amajumda/libol-0.3.14/src/'`format.c
>  cc -DHAVE_CONFIG_H -I. -I/export/home/amajumda/libol-0.3.14/src -I. -D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -g -Wall -O2 -c format.c  -KPIC -DPIC -o .libs/format.o
> cc: illegal option -Wall
> *** Error code 1
> make: Fatal error: Command failed for target `format.lo'
> Current working directory /export/home/amajumda/libol-0.3.14/src
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> Current working directory /export/home/amajumda/libol-0.3.14/src
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> 
> Can you help with a solution of overcoming this problem.
> 
> Thanks
> Anamitra
> X4696
> 
> _______________________________________________
> syslog-ng maillist  -  syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
> 
-- 
Bazsi