<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Hello,<br>
<br>
after a few attempts and tests with Squid (version 5.7) under
Windows Server 2022 - "Windows Subsystem for Linux" with Ubuntu
22.04 LTS, I decided to install newer versions of Squid (e.g. v6.9)
on the system in question. In doing so, I encountered problems that
I did not expect and had not yet found a solution to. First of all,
I am not a Linux expert and therefore hope to get some valuable tips
and advice from the community.<br>
So, what is it all about?<br>
I want to compile, install and run the latest version of Squid
(v6.9) under WSL2 (I'm running Ubuntu 22.04 LTS).<br>
What exactly have I done ?<br>
- downloaded the latest squid_6.9.tar.gz and put it in the /opt
directory<br>
- unpacked tar with tar xzf<br>
- ./configure as specified on the squid-cache-faq page for Ubuntu:<br>
--prefix=/usr \<br>
--localstatedir=/var \<br>
--libexecdir=${prefix}/lib/squid \<br>
--datadir=${prefix}/share/squid \<br>
--sysconfdir=/etc/squid \<br>
--with-default-user=administrator \ ### a deviation here<br>
--with-logdir=/var/log/squid \<br>
--with-pidfile=/var/run/squid.pid<br>
- Missing dependencies like<br>
gcc<br>
c++<br>
g++<br>
clang<br>
perl<br>
libssl-dev<br>
as packages via apt-get install and installed<br>
- executed ./configure again and checked for any missing
dependencies<br>
- after Ok, then executed the following steps<br>
- make executed (completed successfully)<br>
- make check (completed successfully)<br>
- make install (completed successfully)<br>
After the installation, however, I notice that squid cannot be
started. The error message says that squid cannot find the
squid.service. Obviously not everything was installed correctly or
completely during the installation. When I search for the file in
question in the folder, this file is nowhere to be found (except of
course in the compressed squid.tar file). Strange.<br>
When setting up WSL2 for the first time, you are asked for the main
user: the main user is "administrator" --> hence a change when
calling the ./configure command (default-user). I think this is
correct.<br>
However, I also carried out the installation as "root". The behavior
is the same. <br>
I have already carried out 4 or 5 compilations and installations
with slight differences. Unfortunately, I am not successful. Squid
cannot be started.<br>
I hope there is someone in the community who has already had
experience with WSL2 (Windows Subsystem for Linux) and can give me a
little help to get the whole thing working after all. Is it perhaps
an access problem that occurred during installation? (I have read
that Ubuntu is partly different from the "original" Linux). Or is my
configuration (./configure) insufficient or incomplete.<br>
Since the Squid project is very interesting and I would like to
follow it and gain experience, I would be happy to receive your
tips.<br>
<br>
Have a nice Sunday and greetings from Germany <br>
<div class="moz-signature">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
Yvon<br>
<div class="moz-signature">
<div class="moz-signature"><small><small> <br>
<br>
</small></small> </div>
</div>
</div>
</body>
</html>