Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--without-gflags is not working #175

Closed
jacobwpeng opened this issue Apr 5, 2017 · 7 comments
Closed

--without-gflags is not working #175

jacobwpeng opened this issue Apr 5, 2017 · 7 comments

Comments

@jacobwpeng
Copy link

Platform: Fedora 24 x86-64
Autoconf version: 2.69

./configure --without-gflags
(lots of output)
...
checking for main in -lgflags... yes

and inside config.status
D["HAVE_LIB_GFLAGS"]=" 1"

So how can I build without gflags?

@kiukotsu
Copy link

kiukotsu commented Apr 5, 2017

so why not install the gflags? it is easy to install gflags :)

@jacobwpeng
Copy link
Author

Well, I use Qt5 as my app framework and I just don't want to have two command line parser(gflags & QCommandLineParser) exist in my project :)

@kiukotsu
Copy link

kiukotsu commented Apr 6, 2017

after i remove gflags lib , i tried to run ./configure --without-gflags, then i got this

checking for main in -lgflags... no
checking for gtest-config... no
checking for main in -lgtest... no

so, i cant reproduce your results...

additionally, i can successfully install glog lib in this way. (without gflags lib)

maybe you should update something, i guess.

@jacobwpeng
Copy link
Author

That's what i'm trying to figure out. Thanks anyway.

@jacobwpeng
Copy link
Author

By the way, I have gflags installed on my server but i don't want to use it. Maybe that's the difference from your test.

@yumeyao
Copy link

yumeyao commented Jun 29, 2018

the flag doesn't ever exist and i think the only way to do this is to manually patch configure.ac and use autoconf to generate a new one.

@CharlesxrWu
Copy link

./autogen.sh && ./configure --without-gflags && make

Cannot build, and still need gflags.

Commit tag : 925858d

@sergiud sergiud closed this as completed Mar 30, 2021
@sergiud sergiud mentioned this issue May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants