[squid-users] recompiling squid 3.5.7

Eliezer Croitoru eliezer at ngtech.co.il
Wed Sep 9 15:18:21 UTC 2015


In a case you would want to change the size you could just directly 
patch the sources instead of configuring it.

Eliezer

On 08/09/2015 05:11, Jason Enzer wrote:
> trying to build in larger maxtcplistenports into 3.5.7 for centos 6
>
> what would i need out of here to get a build working? i mean like it
> does from elizers repo?
>
> ./configure --build=x86_64-redhat-linux-gnu
> --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu
> --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
> --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
> --includedir=/usr/include --libdir=/usr/lib64
> --libexecdir=/usr/libexec --sharedstatedir=/var/lib
> --mandir=/usr/share/man --infodir=/usr/share/info --exec_prefix=/usr
> --libexecdir=/usr/lib64/squid --localstatedir=/var
> --datadir=/usr/share/squid --sysconfdir=/etc/squid
> --with-logdir=$(localstatedir)/log/squid
> --with-pidfile=$(localstatedir)/run/squid.pid
> --enable-follow-x-forwarded-for --enable-auth-basic=NCSA
> --enable-auth-digest=file
> --enable-external-acl-helpers=wbinfo_group,kerberos_ldap_group
> --enable-cache-digests --enable-cachemgr-hostname=localhost
> --enable-delay-pools --enable-epoll --enable-icap-client
> --enable-ident-lookups --enable-removal-policies=heap,lru
> --enable-snmp --enable-storeio=aufs,diskd,ufs,rock --enable-wccpv2
> --enable-esi --enable-ssl-crtd --with-aio --with-default-user=squid
> --with-filedescriptors=16384 --with-dl --with-openssl --with-pthreads
> --with-included-ltdl --disable-arch-native --without-nettle
> build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu
> target_alias=x86_64-redhat-linux-gnu CFLAGS="-O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic" CXXFLAGS="-O2 -g -pipe
> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC
> PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/share/pkgconfig"
> --enable-ltdl-convenience
>
>
>
>
> CXXFLAGS=-DMAXTCPLISTENPORTS=200 is all i want to add.
>
> if someone can help me in the right direction i will gladly pay for
> their time. i have spent a few days thus far trying to find info. (
> there is scarce info on the web or in squid wiki )
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>



More information about the squid-users mailing list