[syslog-ng] Compilation problems under RH AS3

news gonzo news gonzo news_gonzo at yahoo.fr
Tue Sep 5 10:43:22 CEST 2006


Thx for your help
First of all, I needed to export eventlog var like
this:
export EVTLOG_LIBS=/usr/local/lib
export EVTLOG_CFLAGS=/usr/local/lib

because of this errors :
checking for EVTLOG... Package eventlog was not found
in the pkg-config search path.
Perhaps you should add the directory containing
`eventlog.pc'
to the PKG_CONFIG_PATH environment variable
No package 'eventlog' found
configure: error: Package requirements (eventlog) were
not met:

Consider adjusting the PKG_CONFIG_PATH environment
variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables
EVTLOG_CFLAGS
and EVTLOG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


then the ./configure works
here is the result of make :

make  all-recursive
make[1]: Entering directory
`/root/syslog-ng/syslog-ng-2.0rc1'
Making all in src
make[2]: Entering directory
`/root/syslog-ng/syslog-ng-2.0rc1/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
/usr/local/lib -D_GNU_SOURCE  -g -O2 -Wall -g -MT
misc.o -MD -MP -MF ".deps/misc.Tpo" \
  -c -o misc.o `test -f 'misc.c' || echo './'`misc.c;
\
then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; \
else rm -f ".deps/misc.Tpo"; exit 1; \
fi
gcc: cannot specify -o with -c or -S and multiple
compilations
make[2]: *** [misc.o] Error 1
make[2]: Leaving directory
`/root/syslog-ng/syslog-ng-2.0rc1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/root/syslog-ng/syslog-ng-2.0rc1'
make: *** [all] Error 2

Besides I installed glib with the rpm from redhat
network.

I hope you have enought informations


Regards.
--- Balazs Scheidler <bazsi at balabit.hu> a écrit :

> On Mon, 2006-09-04 at 16:51 +0200, news gonzo news
> gonzo wrote:
> > Hello, 
> > I have some problem to install syslog-ng 2rc1. 
> > The install/compilation of glib and eventlog
> worked
> > fine.
> > Besides, the ./configure of syslog is also OK. But
> > after the make I have this error :
> > gcc: cannot specify -o with -c or -S and multiple
> > compilations
> > 
> > 
> > So what can I do for fixing this ?
> > 
> > Regards.
> 
> You might be using an old set of autoconf tools, but
> if you'd paste the
> compilation output we might be more helpful.
> 
> -- 
> Bazsi
> 
> _______________________________________________
> syslog-ng maillist  -  syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at
> http://www.campin.net/syslog-ng/faq.html
> 
> 



	

	
		
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. 
http://fr.answers.yahoo.com 



More information about the syslog-ng mailing list