Closed GoogleCodeExporter closed 8 years ago
This isn't a glog's bug.
But I think now I understood your issue. IIRC macports' glog is not built with
gflags but the python script sets --logtostderr. There would be two solutions:
1. remove --logtostderr from the python script.
2. build libglog by yourself with gflags.
You said you failed to do the latter, but you can ignore the failure in
logging_unittest. You should manually copy libglog.dylib or something.
Original comment by shinichi...@gmail.com
on 10 May 2014 at 3:57
If you want to do 1, the following script would work:
find . -name '*.py' -exec perl -i -p -e 's/--logtostderr//' {} \;
Original comment by shinichi...@gmail.com
on 10 May 2014 at 4:05
[deleted comment]
Shinichi, it works now after running this script: find . -name '*.py' -exec
perl -i -p -e 's/--logtostderr//' {} \; Thanks
Original comment by phongngu...@gmail.com
on 10 May 2014 at 4:20
Original issue reported on code.google.com by
phongngu...@gmail.com
on 9 May 2014 at 10:03