Bug 4228 - links with krb5 libs despite --without options
Summary: links with krb5 libs despite --without options
Status: RESOLVED FIXED
Alias: None
Product: Squid
Classification: Unclassified
Component: other (show other bugs)
Version: 3.5
Hardware: All All
: P5 normal
Assignee: SQUID BUGS ALIAS
URL:
: 4362 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-15 08:22 UTC by Pavel Timofeev
Modified: 2016-09-21 02:10 UTC (History)
2 users (show)

See Also:
Browser: ---
Fixed Versions: 4.0.15, 3.5.22
Needs:


Attachments
patch for configure (536 bytes, patch)
2015-04-17 13:37 UTC, Pavel Timofeev
Details
patch to never use (pkg|krb)-config (538 bytes, patch)
2015-04-17 14:30 UTC, Pavel Timofeev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Timofeev 2015-04-15 08:22:47 UTC
Hi!
I can't turn off the kerberos in squid-3.5.3.
It links with kerberos despite the fact it is turned off.
I passed --without-heimdal-krb5 --without-mit-krb5 --without-gss and --enable-auth-negotiate=none to configure, but no luck.
Did I forget to pass something else to it? Or forget to not to pass?
The full config.log is here:
https://yadi.sk/i/w5gH4wb_fzXGP
Comment 1 Pavel Timofeev 2015-04-17 13:37:29 UTC
Created attachment 3136 [details]
patch for configure

There are some facts:

1. I realized that configure script doesn't handle --without-heimdal-krb5, --without-mit-krb5 and --without-gss options at all. Am I right?

2. The krb5-config is guilty in my case. I made a small patch which helped me. It makes configure script handle pkg-config or krb5-config only if I wanted Kerberos.
Comment 2 Pavel Timofeev 2015-04-17 14:29:22 UTC
Comment on attachment 3136 [details]
patch for configure

wrong patch. it stops configure if I wanted krb5 =)
Comment 3 Pavel Timofeev 2015-04-17 14:30:49 UTC
Created attachment 3137 [details]
patch to never use (pkg|krb)-config

Ugly way to almost never use pkg-config or krb-config. Works as I want now %)
Comment 4 Pavel Timofeev 2015-05-02 18:42:23 UTC
No changes in 3.5.4
Comment 5 Amos Jeffries 2015-11-10 09:04:07 UTC
*** Bug 4362 has been marked as a duplicate of this bug. ***
Comment 6 Amos Jeffries 2015-11-10 09:06:21 UTC
Fix applied to Squid-4.
Comment 7 Amos Jeffries 2015-11-24 06:37:27 UTC
Applied to 3.5
Comment 8 Alex Rousskov 2016-09-20 22:13:28 UTC
(In reply to Amos Jeffries from comment #6)
> Fix applied to Squid-4.

The applied fix (trunk r14394) had a bug/typo. That problem was fixed in trunk r14850. Squid v3.5 needs a similar fix.
Comment 9 Amos Jeffries 2016-09-21 02:10:54 UTC
Typo fix applied to 3.5 as rev.14084