[clamav-users] can't cmake 1.0.4rc

Gene Heskett gheskett at shentel.net
Wed Jul 28 04:55:32 UTC 2021


On Tuesday 27 July 2021 14:22:39 Rick Cooper wrote:

> Create the build dir in the source dir
> Or reference.. /you clam source dir instead of..

wordwrap is off so what you see is what I got

The only reply I got, obviously from someone who didn't actually read 
my msg.

Starting from the src directory unpacked from the tarball the first 
instruction line from INSTALL.md is:

mkdir build && cd build

so my path is then

gene at coyote:~/src/clamav-0.104.0-rc/build$

The next instruction line from INSTALL.md is:

cmake .. -D CMAKE_BUILD_TYPE="Release"

Which generates this response:

CMake Error: The source directory "/home/gene/src/clamav-0.104.0-rc/build/CMAKE_BUILD_TYPE=Release" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.

So that error is itself erronious, that build directory is there and I an cd'd
into it.

So my simple point is that even the 2nd step of the "install" does not work.
cmake does not have a gui, and despite having used it before, I have never
seen its gui if it has one.

That tarball is exactly as it was unpacked.
From that "build" directory, an ls ..shows this:
build                     clamav-version.h.in  clam-format     CMakeOptions.cmake  dockerfiles  INSTALL.md       libclamunrar_iface  README.md
ChangeLog.md              clambc               clamonacc       CODE_OF_CONDUCT.md  docs         Jenkinsfile      libfreshclam        SECURITY.md
clamav-config.h.cmake.in  clamconf             clamscan        common              etc          libclamav        logo.png            sigtool
clamav-config.in          clamd                clamsubmit      COPYING             examples     libclamav.pc.in  NEWS.md             
target.h.cmake.in
clamav-milter             clamdscan            cmake           COPYING.txt         freshclam    libclammspack    platform.h.in       unit_tests
clamav-types.h.in         clamdtop             CMakeLists.txt  Dockerfile          fuzz         libclamunrar     README.Docker.md    win32

Did I download a bad tarball?

cmake --version RETURN says:
cmake version 3.7.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

So my next question was:

Next?

Which generated this msg's quoted opening text, and which makes zero sense to me
since the empty build directory does exist and I am cd'd into it..

Seems to me the instructions should Just Work, but its not working, so what is missing?

I haven't a clue what else I can copy/paste from that shells window that
might be helpfull. Better yet, remake the tarball with working instructions.

Thanks.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


More information about the clamav-users mailing list