[squid-users] make clean install issue with squid 7
Francesco Chemolli
gkinkie at gmail.com
Tue Jul 22 21:50:58 UTC 2025
On Tue, Jul 22, 2025 at 10:31 PM Jonathan Lee <jonathanlee571 at gmail.com>
wrote:
>
> Hello fellow Squid users.
>
> Can you please help? I have located a possible issue with Squid 7.X
downloaded from the following URL
https://github.com/squid-cache/squid/releases/tag/SQUID_7_1 I found is the
SMB_LM even when you disable smb with make config it still is listed in the
Makefile even with "make rmconfig" it still lists it the make config does
not remove the SMB_LM from the Makefile when you run it.
What file have you downloaded exactly? There's several offered there.
Are you sure you did "make config"? When I try to reproduce I get:
» pwd
/Users/kinkie/src/squid/v7
» make config
make: *** No rule to make target `config'. Stop.
» make rmconfig
2 ↵
make: *** No rule to make target `rmconfig'. Stop.
>
> BASIC_AUTH+= DB NCSA PAM POPS RADIUS fake getpwnam
>
> I’m attempting to build Squid 7.1 from the FreeBSD ports tree
(/usr/ports/www/squid), but the build consistently fails during the
configure step with the error:
>
> configure: checking auth/basic helpers: LDAP SASL SMB DB NCSA PAM POP3
RADIUS SMB_LM fake getpwnam NIS
> configure: error: SMB_LM not found in ./src/auth/basic
Could it be that the problem is with the freebsd port?
What version of freebsd are you using? I have recently tested a build on
13.5, 14.2, and 15.0 at
https://github.com/squid-platform-test/squid/actions/runs/16234098625 and
it worked
> I have installed Samba 4.20 (samba420-4.20.7-7) and confirmed that the
required libraries (libsmbclient, etc.) are present. I have also tried
disabling the SMB_LM helper via make config (and even using make rmconfig
to reset options), but the build process still attempts to compile
auth/basic/SMB_LM. Even after editing the Makefile to remove SMB_LM from
BASIC_AUTH, the port continues to fail at the configure stage.
SMB_LM (aka basic_smb_lm_auth) is no longer provided with squid 7.1, from
commit 1ce586101b
> It seems the Squid 7.x port is hardcoding SMB_LM support, ignoring the
port options. Could this be a bug in the port's Makefile or
auth/basic/Makefile.in? My environment is FreeBSD 14.3, and I’ve confirmed
that all required dependencies are up to date.
That’s likely the port’s Makefile hardcoding helpers.
> Can you confirm whether the SMB_LM helper is required in Squid 7.1, or if
there is a recommended way to disable it for builds that don’t require
NTLM/SMB authentication?
It isn’t required. It has been deprecated for a while, in fact
>
> It will complete the "make install clean" only if you manually remove the
SMB_LM from BASIC_AUTH in the Makefile.
Is that the port’s makefile? If so it is indeed a port problem, and the
port’s makefile needs to be updated
>
> Jonathan Lee
>
>
> On Jul 20, 2025, at 22:24, Jonathan Lee <jonathanlee571 at gmail.com> wrote:
>
> Thank you
> Sent from my iPhone
>
> On Jul 20, 2025, at 20:11, Amos Jeffries <squid3 at treenet.co.nz> wrote:
>
> Okay, no worries.
>
> I have opened https://github.com/squid-cache/squid/pull/2123 to
workaround the issues at our end based upon your feedback so far. The
diff/patch should work for v7 as well, but requires a full ./bootstrap.sh
on the sources.
>
> HTH
> Amos
>
>
> On 21/07/25 12:59, Jonathan Lee wrote:
> sorry that was a typo I am still working on it. I am doing make configure
right now
>
> On Jul 20, 2025, at 17:45, Amos Jeffries wrote:
>
>
>
> On 20/07/25 03:37, Jonathan Lee wrote:
>
> I think we found the problem — the existing ports made |heimdal-krb5.pc|
file has *typos and incorrect paths*, which is why |pkg-config| might have
issues not working.
>
>
>
> Ouch. Thanks for the feedback, I will add a few checks to our code to
work around these for next Squid's.
>
>
> Did you try any of the alternatives I gave and to what results?
>
>
> Cheers
> Amos
>
>
>
--
Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20250722/4de6c2ae/attachment.htm>
More information about the squid-users
mailing list