@aobh
On my Debian 9 servers I just used python3 to upgrade cmake. It's a work around till I upgrade that server. I have python3 and python3-pip installed, and then installed the missing/updated modules needed to make it work.
Code:pip3 install cmake apt-get install libbz2-dev
I'm waiting a bit before upgrade those servers as I will be going straight to Debian 11 on them, still doing the testing to make sure everything is fine.
Have had no problems, I have python3 on pretty well all the servers I manage and it's never been a problem.
Installing clamav 0.104.0 ...
Found /usr/local/directadmin/custombuild/clamav-0.104.0.tar.gz
Extracting ...
Done.
Configuring clamav 0.104.0 ...
CMake Error: The source directory "/usr/local/directadmin/custombuild/clamav-0.104.0/build/ENABLE_TESTS=OFF" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
*** There was an error while trying to configure clamav.
Feel free to send me a PM with access details to check it@smtalk I'm still having an issue when trying to update ClamAV to version 0.104.0.
Cloudlinux 8, CB version 2752
Code:Installing clamav 0.104.0 ... Found /usr/local/directadmin/custombuild/clamav-0.104.0.tar.gz Extracting ... Done. Configuring clamav 0.104.0 ... CMake Error: The source directory "/usr/local/directadmin/custombuild/clamav-0.104.0/build/ENABLE_TESTS=OFF" does not exist. Specify --help for usage, or press the help button on the CMake GUI. *** There was an error while trying to configure clamav.
CMake Error: The source directory "/usr/local/directadmin/custombuild/clamav-0.104.0/build/ENABLE_TESTS=OFF" does not exist.
./build update
./build clamav
I think something may be wrong with the yum repositories on your box. Is it a CloudLinux box? cmake should be newer than 3.11.4 there.I have the same issue on Centos 8 with cmake 3.11.4
I tried to install python3 (3.6.8). Same error.Code:CMake Error: The source directory "/usr/local/directadmin/custombuild/clamav-0.104.0/build/ENABLE_TESTS=OFF" does not exist.
I tried several times:
Same error.Code:./build update ./build clamav
I have CB 2.0 (rev 2753)
Now I have a new directadmin update available (1.62.8) and when i try to update nothing happend:
View attachment 4771
¿What else can I do?
Thanks in advance!
@disaint
centos 8
cmake 3.18.2 ( It on my server too )
could you check on "/etc/yum.repos.d/centos-appstream.repo"
it should be Centos Urls
or if you use Centos 8 Okey repo, it will be 3.11.4 from your mention,
try disable Okey repo
# CentOS-AppStream.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[AppStream]
name=CentOS-$releasever - AppStream
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=AppStream&infra=$infra
#baseurl=http://mirror.centos.org/$contentdir/$releasever/AppStream/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
could you check with yum command
Code:yum list cmake
Last metadata expiration check: 1:30:33 ago on Thu 23 Sep 2021 12:01:16 AM -03.
Installed Packages
cmake.x86_64 3.11.4-7.el8 @AppStream
Available Packages
cmake.src 3.11.4-3.el8 okay
cmake.x86_64 3.18.2-11.el8_4 AppStream
Done!@disaint
Please disable okay repo
eg.
Code:yum-config-manager --disable okay
or direct edit file in
"/etc/yum.repos.d/"
with change from "enabled=1" to "enabled=0"
Up to date RockyLinux 8.4, no errors when installing../build remove_clamav
Removing clamav 0.104.0...
Found /usr/local/directadmin/custombuild/clamav-0.104.0.tar.gz
Extracting ...
Done.
Configuring clamav 0.104.0 for removal...
CMake Error: The source directory "/usr/local/directadmin/custombuild" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
*** There was an error while trying to configure clamav.
Installing clamav 0.104.0 ...
Found /usr/local/directadmin/custombuild/clamav-0.104.0.tar.gz
Extracting ...
Done.
Configuring clamav 0.104.0 ...
cmake3: error while loading shared libraries: libuv.so.1: cannot open shared object file: No such file or directory
*** There was an error while trying to configure clamav.
[root@onderon custombuild]# cat /etc/redhat-release
CloudLinux release 7.9 (Boris Yegorov)
Installing clamav 0.104.0 ...
Found /usr/local/directadmin/custombuild/clamav-0.104.0.tar.gz
Extracting ...
Done.
Configuring clamav 0.104.0 ...
CMake Error: The source directory "/usr/local/directadmin/custombuild/clamav-0.104.0/build/ENABLE_TESTS=OFF" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
*** There was an error while trying to configure clamav.
[root@server custombuild]# cat /etc/redhat-release
CentOS release 6.10 (Final)
Solved withCode:Installing clamav 0.104.0 ... Found /usr/local/directadmin/custombuild/clamav-0.104.0.tar.gz Extracting ... Done. Configuring clamav 0.104.0 ... cmake3: error while loading shared libraries: libuv.so.1: cannot open shared object file: No such file or directory *** There was an error while trying to configure clamav. [root@onderon custombuild]# cat /etc/redhat-release CloudLinux release 7.9 (Boris Yegorov)
yum install libuv-devel
[root@server custombuild]# CMake Error: The source directory "/usr/local/directadmin/custombuild/clamav-0.104.0/build/ENABLE_TESTS=OFF" does not exist.