Hi
Just tried installed the version from github on debian wheezey and got:
$ make
g++ -MD -D_FILE_OFFSET_BITS=64 -std=c++03 -Wall -Wextra -Wpedantic
-Wno-unused-parameter -c -o msg.o msg.cc
g++: error: unrecognized command line option ‘-Wpedantic’
make: *** [msg.o] Error 1
I have checked to make sure I had make and build-essential installed.
Any ideas?
--
Kind Regards
Stuart Downton
Senior Network Manager
SharpStream Ltd
t. 0800 999 2468
DD.01273 921 198
int. +44 333 700 2468
f. 0333 600 2469
w. www.sharp-stream.com <http://www.sharp-stream.com/>
GENERAL SUPPORT REQUESTS: [email protected]
<mailto:[email protected]>
EMERGENCY SUPPORT REQUESTS: [email protected]
<mailto:[email protected]>
This e-mail is private and confidential and is intended solely for the
person it is addressed to.
Any disclosure, distribution, copying or printing, or use of the
information contained herein for
whatever purpose by any person other than the recipient is prohibited
and legal action may be taken as a result.
Yuri D'Elia wrote:
You could be evil and delay running 'ts' until the pid is known.
Something like (untested):
tmpfifo=$(mktemp -d)/fifo
mkfifo $tmpfifo
fPls ...>(rotatelogs ...) 2>$tmpfifo&
pid=$!
ts "$pid %F %T"<$tmpfifo>/path/to/log&
wait