Hi Paolo !

Many thanks for your reply.
I am planning a new server, pobably continuing using Debian. So
I have a long way to get 'pmacc 1,5' from the official repos 
to the box, if I have no DEB for it.

I could not understand the 'pmacct' use - using the memory plugin
in the first time, because I see never timestamps and asking
me if the data is from 2012 ??? ;-)

So, I gave it to me, to build a package a first time. I am familar
with development, but not on Linux ... ;-)

Configuraring worked for me, but - as I wrote - compilation failed.
I do NOT have the packages installed, to which you pointed me.
Befor building, I installed the RabbitMQ libraries mit APT and
unsure, if theses are right.

Thanks for the pointer to the right lib. But I am starting a short
holiday now and I'll continue two week later.

Message queuing will be the only really solid tech to bring that
data to e remote machine, wehre they will be more concentrated
and save. I'll probabyl build ina webseite with live display. For
this case, the pmacct stream would just be sent to an rabbit
exchange, where I can decide about one or more destinations.

Thanks for your help. BTW, waht would even a help, is an
example, which shows to access the pipe direktly, instead
of using the CLI interface. I am running C#/MONO with my
tool.

I'll restart in about two weeks and I am hoping that the libs
on github will do it.

Best regards,

Manfred



> -----Original Message-----
> From: pmacct-discussion [mailto:[email protected]] On
> Behalf Of Paolo Lucente
> Sent: Tuesday, October 06, 2015 9:06 PM
> To: [email protected]
> Subject: Re: [pmacct-discussion] Build pmacct 1.5.2 failed
> 
> Hi Manfred,
> 
> That amqp_tcp_socket.h file is part of rabbitmq-c , the RabbitMQ C
> API/driver. You can find it here: https://github.com/alanxz/rabbitmq-c/
> Can you confirm you have it installed? Also: you seem to suggest you
> are upgrading from an earlier version of pmacct - is this the case?
> Was that working allright with the same environment and configure
> parameters?
> 
> Cheers,
> Paolo
> 
> On Sun, Oct 04, 2015 at 11:38:49AM +0200, [email protected] wrote:
> > Hello !
> >
> > I just want to give it a try, especially, as I found the changes about
the
> > timestamps. I call configure with the rabbit-option and the libs
> > were found. But make fails with the following error:
> >
> > Making all in src
> > make[1]: Entering directory `/root/install/pmacct/pmacct-1.5.2/src'
> > Making all in nfprobe_plugin
> > make[2]: Entering directory
> > `/root/install/pmacct/pmacct-1.5.2/src/nfprobe_plugin'
> > gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"1.5.2\" -DCOMPILE_ARGS=\"\
> > --enable-rabbitmq\" -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1
> > -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1
> > -DWITH_RABBITMQ=1 -DHAVE_DLOPEN=1 -DSTDC_HEADERS=1 -
> DHAVE_SYS_WAIT_H=1
> > -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1
> > -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -
> DHAVE_U_INT8_T=1
> > -DHAVE_64BIT_COUNTERS=1 -DENABLE_THREADS=1 -DRETSIGTYPE=void
> > -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1  -I. -I.. -O2 -g -O2  -
> DFLOW_SPLAY
> > -DEXPIRY_RB            -c -o nfprobe_plugin.o nfprobe_plugin.c
> > In file included from ../plugin_hooks.h:23:0,
> >                  from nfprobe_plugin.c:61:
> > ../amqp_common.h:24:29: fatal error: amqp_tcp_socket.h: No such file or
> > directory
> > compilation terminated.
> > make[2]: *** [nfprobe_plugin.o] Error 1
> > make[2]: Leaving directory
> > `/root/install/pmacct/pmacct-1.5.2/src/nfprobe_plugin'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/root/install/pmacct/pmacct-1.5.2/src'
> > make: *** [all-recursive] Error 1
> >
> > I have no clue, where to get the 'amqp_tcp_socket.h'
> > file, because I installed the libraries (via synaptic).
> > Any help would be great. This was my first build in the
> > linux world ...
> >
> > Thanks so far and best regards,
> >
> > Manfred
> >
> >
> >
> >
> > _______________________________________________
> > pmacct-discussion mailing list
> > http://www.pmacct.net/#mailinglists
> 
> _______________________________________________
> pmacct-discussion mailing list
> http://www.pmacct.net/#mailinglists



_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to