[squid-users] Squid ubuntu build error
Rafael Akchurin
rafael.akchurin at diladele.com
Mon May 4 22:29:17 UTC 2015
This is how we rebuild Squid 3 from Ubuntu for SSL bump (taken from http://docs.diladele.com/administrator_guide_4_1/system_configuration/https_filtering/recompile_squid.html)
apt-get update && apt-get -y upgrade
# install build tools
apt-get -y install devscripts build-essential fakeroot libssl-dev
# fetch the source for the package to re-build
apt-get source squid3
# fetch dependent packages for the build
apt-get -y build-dep squid3
# build the package
cd squid3-3.3.8 && dpkg-buildpackage -rfakeroot -b
# install some more required packages
apt-get -y install ssl-cert
apt-get -y install squid-langpack
# install recompiled packages
dpkg --install squid3-common_3.3.8-1ubuntu6.2_all.deb
dpkg --install squid3_3.3.8-1ubuntu6.2_amd64.deb
dpkg --install squidclient_3.3.8-1ubuntu6.2_amd64.deb
# put the squid on hold to prevent updating
apt-mark hold squid3 squid3-common
Raf
-----Original Message-----
From: squid-users [mailto:squid-users-bounces at lists.squid-cache.org] On Behalf Of Darren B.
Sent: Monday, May 4, 2015 1:35 AM
To: squid-users at lists.squid-cache.org
Subject: [squid-users] Squid ubuntu build error
Hi
I have struck a small issue in building squid from source (Ubuntu 14.04 current source packages)
cp: cannot stat
‘/home/darren/squid3-3.3.8/debian/tmp/usr/share/squid3/icons’: No such file or directory
dh_install: cp -a
/home/darren/squid3-3.3.8/debian/tmp/usr/share/squid3/icons
debian/squid3-common//usr/share/squid3/ returned exit code 1
it looks like something upstream of this error is not creating
tmp/usr/share/squid3 so creating the icons directory fails.
If I create the missing directory and do a make it's all fine but I am trying to create packages from source (adding SSL) and the clena up prior to the make deletes the directories.
This looks like a bug in the distro as I have built previous version s from source without a bother.
Can anyone point me to the offending code?
thanks
Darren Breeze
_______________________________________________
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