Search squid archive

Re: Squid 4.11 not building with ssl enable on Buster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hai Amos

Thank you for all the help, it nicely builded now..
:-) 

My used changes 

0004-fix-var-run.patch
From: Louis van Belle <louis@xxxxxxxxxxxx>
Date Thu, 23 Apr 2020 15:22:00 +0200
Subject : fix-var-run location to debian standards /run
--- a/tools/systemd/squid.service
+++ b/tools/systemd/squid.service
@@ -12,7 +12,7 @@

 [Service]
 Type=notify
-PIDFile=/var/run/squid.pid
+PIDFile=/run/squid.pid
 ExecStartPre=/usr/sbin/squid --foreground -z
 ExecStart=/usr/sbin/squid --foreground -sYC
 ExecReload=/bin/kill -HUP $MAINPID


0005-fix-missing-debug-break-bz5041.patch
commit c26cd1cb6a60ff196ef13c00e82576d3bfeb2e30 (HEAD, refs/remotes/origin/v4, refs/heads/v4)
Author: Alex Rousskov <rousskov@xxxxxxxxxxxxxxxxxxxxxxx>
Date:   2020-04-23 05:56:35 -0600
Subject: Bug 5041: Missing Debug::Extra breaks build on hosts with systemd (#611)

--- a/configure.ac
+++ b/configure.ac
@@ -2162,6 +2162,7 @@
   fi
   if test "x$SYSTEMD_LIBS" != "x" ; then
     CXXFLAGS="$SYSTEMD_CFLAGS $CXXFLAGS"
+    LDFLAGS="$SYSTEMD_LIBS $LDFLAGS"
     AC_DEFINE(USE_SYSTEMD,1,[systemd support is available])
   else
     with_systemd=no
--- a/src/Debug.h
+++ b/src/Debug.h
@@ -99,6 +99,10 @@

     /// configures the active debugging context to write syslog ALERT
     static void ForceAlert();
+
+    /// prefixes each grouped debugs() line after the first one in the group
+    static std::ostream& Extra(std::ostream &os) { return os << "\n    "; }
+
 private:
     static Context *Current; ///< deepest active context; nil outside debugs()
 };
 

Greetz, 

Louis


> -----Oorspronkelijk bericht-----
> Van: squid-users 
> [mailto:squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx] Namens 
> Amos Jeffries
> Verzonden: donderdag 23 april 2020 14:52
> Aan: squid-users@xxxxxxxxxxxxxxxxxxxxx
> Onderwerp: Re:  Squid 4.11 not building with ssl 
> enable on Buster
> 
> On 24/04/20 12:28 am, Amos Jeffries wrote:
> > On 24/04/20 12:00 am, L.P.H. van Belle wrote:
> >> Hai, 
> >>
> >> Im currently building squid 411 on debian buster. 
> Cowbuilder setup. 
> >> I re-used the debian.tar.gz from squid-4.10-1 Debian Testing/Sid. 
> >> Which i have done since squid 3.2, first time it fails. 
> >> but only AMD64 fails to build, while i386 build fine. 
> >> That a part im not familiar with, any suggestions?  
> >>
> > ...
> >> client_side.cc: In function 'void 
> clientListenerConnectionOpened(AnyP::PortCfgPointer&, 
> Ipc::FdNoteId, const Pointer&)':
> >> client_side.cc:3663:27: error: 'Extra' is not a member of 'Debug'
> > 
> > You will need to add this patch:
> > 
> >  
> <https://github.com/squid-cache/squid/commit/c26cd1cb6a60ff196
> ef13c00e82576d3bfeb2e30>
> > 
> 
> Or for a more easily used plain-text link:
>  
> <http://master.squid-cache.org/Versions/v4/changesets/squid-4-
> c26cd1cb6a60ff196ef13c00e82576d3bfeb2e30.patch>
> 
> 
> Amos
> _______________________________________________
> squid-users mailing list
> squid-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.squid-cache.org/listinfo/squid-users
> 

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux