Open GoogleCodeExporter opened 9 years ago
I have glog and gflags in an open source project, and I had to make some
modifications to have glog use my local copy of gflags:
http://code.google.com/p/ymer/source/detail?r=98
The relevant changes are to configure.ac and src/demangle_unittest.sh.
I notice now that I made a mistake in one of the comments, which results in a
spurious diff for src/config.h.in. In any case, the changes to configure and
src/config.h.in are generated from the changes to configure.ac, so they are not
interesting.
It would be nice if there was a way to configure glog to do this without
changing configure.ac. I would be curious to know if my modifications work for
you?
Original comment by hlsyou...@gmail.com
on 28 Dec 2011 at 4:16
Oh, dear. It turned out that when the dust settled, I had no need for gflags,
and it got ripped out months ago. So there's no easy way for me to check if
your patch does the trick on my project.
Original comment by tom.ritc...@gmail.com
on 28 Dec 2011 at 5:16
OK, I'll hijack this bug then, since I still have this issue and dislike having
a patched version of glog in my project. Please object if you think your issue
was different from mine.
Description of my problem:
If you have local copies of glog and gflags in your project, you need to make
glog use your local copy of gflags instead of an installed version. Otherwise
you will get linker errors due to multiple definitions of the same symbol.
Currently this requires a change to configure.ac (and also one of the tests).
It would be nice if glog could be configured to use a local copy of gflags
simply by passing some flag to the configure script.
Original comment by hlsyou...@gmail.com
on 28 Dec 2011 at 6:34
Original comment by hlsyou...@gmail.com
on 28 Dec 2011 at 6:35
Good for you! (I'm not a Googler any more so I can't really take ownership of
bugs here anyway... or can I?)
I'm unlikely to change my project (in advanced beta right now) to use gflags
again for at least a few months - BUT if you need someone to test whether it
works on Mac and have a specific test project I could bring over and build,
that I could do.
Original comment by tom.ritc...@gmail.com
on 28 Dec 2011 at 6:41
Original issue reported on code.google.com by
tom.ritc...@gmail.com
on 25 Nov 2011 at 5:53