[squid-users] make clean install issue with squid 7

Jonathan Lee jonathanlee571 at gmail.com
Sat Jul 19 06:21:44 UTC 2025


Current Issue with my test VM

Goal: Test Squid 7.1 port update (for your PR) on FreeBSD/pfSense build environment.

I switched the distfile to Squid 7.1 (squid-7.1.tar.xz from GitHub).

Normal port patches were broken; you removed some / all of files/.

I reached the configure phase but now configure bombs out on Heimdal (Kerberos) detection:

vbnet

configure: error: Required library 'heimdal-krb5' not found
I installed heimdal and verified:

Headers in /usr/local/include/heimdal/krb5.h

Libraries in /usr/local/lib/heimdal/libkrb5.so

I tried adding CPPFLAGS, LDFLAGS, KRB5_CONFIG, --with-krb5=/usr/local, and even considered symlinks. Still failing.



Root Causes (Likely)

Squid 7.1’s configure expects Heimdal base layout (as on some systems) and doesn’t search the nested /usr/local/include/heimdal.

A FreeBSD port patch previously adjusted detection (now removed).

The environment variables are being overwritten/reset by the ports framework or by a patch/configure macro.

The configure script wants MIT krb5, not Heimdal, but is forcing a Heimdal-style variable path names.

There is a logic mismatch in configure: it tries both MIT and Heimdal probes and mis-parses results because expected macros aren’t defined (look in config.log for failing test programs).


> On Jul 18, 2025, at 23:10, Jonathan Lee <jonathanlee571 at gmail.com> wrote:
> 
> Hello fellow Squid community members,
> 
> Has anyone seen this before??? I have the packages installed created symbolic links to them created additional info int he makefile to address it and it keeps failing here, any idea what I did wrong?
> 
> checking
> "whether X509_get0_signature() accepts const parameters"
> yes
> checking whether the TXT_DB use OPENSSL_PSTRING data member... yes checking whether the squid workaround for buggy versions of sk_OPENSSL_PSTRING_v alue should used... no
> checking whether the workaround for OpenSSL IMPLEMENT_LHASH_
> macros should used
> ... yes
> configure: OpenSSL library support: yes -Icrypto -lss1
> checking tor LibMll_Kkbs... no configure: Library '
> mit-krb5' support: no (auto)
> •/configure: LIBHEIMDAL_KRB5_PATH+=-L/usr/lib: not found /configure: LIBHEIMDAL_KRB5_CFLAGS+=-I/usr/include: not found checking for LIBHEIMDAL_KRB5... по
> configure: error: Required library 'heimdal-krb5' not found ===) Script "configure" failed unexpectedly
> Please report the problem to timp87 at gmail.com maintainer] and attach the
> "/usr/ports/www/squid/uork/squid-7.1/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system de.g. a /usr/local/sbin/pkg-static info -g -Ea).
> *** Error code 1
> Stop.
> makel11: stopped in /usr/ports/www/squid
> *** Error code 1
> Stop.
> make: stopped in /usr/ports/www/squid
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20250718/8cd70cc5/attachment-0001.htm>


More information about the squid-users mailing list