Forum

9.13 - CMake Error at CMakeLists.txt:21 (include): CMakeFiles.txt

Antonio Hernández Blas
15 May 2015, 02:56
Hi Hugo.

I'm getting the next message while trying to build hiawatha 9.13:

-- The C compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error at CMakeLists.txt:21 (include):
include could not find load file:

CMakeFiles.txt


-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.1")
-- Found LibXslt: /usr/lib64/libxslt.so (found version "1.1.28")
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8")
-- Looking for crypt.h
-- Looking for crypt.h - found
-- Looking for arpa/inet.h
-- Looking for arpa/inet.h - found
-- Looking for include files sys/types.h, netinet/in.h
-- Looking for include files sys/types.h, netinet/in.h - found
-- Looking for include files sys/types.h, netinet/tcp.h
-- Looking for include files sys/types.h, netinet/tcp.h - found
-- Looking for rpcsvc/crypt.h
-- Looking for rpcsvc/crypt.h - not found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for unsetenv
-- Looking for unsetenv - found
-- Looking for clearenv
-- Looking for clearenv - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for strnstr
-- Looking for strnstr - not found
-- Looking for strcasestr
-- Looking for strcasestr - found
-- Looking for strncasestr
-- Looking for strncasestr - not found
-- Looking for arc4random_uniform
-- Looking for arc4random_uniform - not found
-- Looking for crypt_r in crypt
-- Looking for crypt_r in crypt - found
-- Looking for crypt in crypt
-- Looking for crypt in crypt - found
-- Looking for gzdopen in z
-- Looking for gzdopen in z - found
-- Looking for SO_ACCEPTFILTER
-- Looking for SO_ACCEPTFILTER - not found
CMake Error at CMakeLists.txt:141 (add_executable):
add_executable called with incorrect number of arguments


CMake Error at CMakeLists.txt:142 (add_executable):
add_executable called with incorrect number of arguments


CMake Error at CMakeLists.txt:143 (add_executable):
add_executable called with incorrect number of arguments


CMake Error at CMakeLists.txt:144 (add_executable):
add_executable called with incorrect number of arguments


CMake Error at CMakeLists.txt:145 (target_link_libraries):
Cannot specify link libraries for target "wigwam" which is not built by
this project.


-- Configuring incomplete, errors occurred!
See also "/tmp/SBo/hiawatha-9.13/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/SBo/hiawatha-9.13/build/CMakeFiles/CMakeError.log".


The weird thing is:

1) Two days ago (May 12 2015 15:09) i builded it with success in the same system.
2) I am getting different sha256 values for the source file, according to Arch's pkgbuild [1] it should be b90bec9ce5ec5d03321e0db137f08385b91e9cfcf22e30fa6b42d705739f4ba8 but i am getting:

root# sha256sum hiawatha-9.13.tar.gz && echo b90bec9ce5ec5d03321e0db137f08385b91e9cfcf22e30fa6b42d705739f4ba8
ba0e30a7bab6543926dfb9383725cda62971fc9106bf7d71a41852e480f7b0cb hiawatha-9.13.tar.gz
b90bec9ce5ec5d03321e0db137f08385b91e9cfcf22e30fa6b42d705739f4ba8


[2] are the "steps" to build hiawatha in Slackware Linux.

- Cheers

[1] https://projects.archlinux.org/svntogit/community.git/patch/trunk/PKGBUILD?id=947bc11d41a9bc472a33fb9e33489ab03f8ba772
[2] http://slackbuilds.org/slackbuilds/14.1/network/hiawatha/hiawatha.SlackBuild

Hiawatha version: 9.13
Operating System: Slackware Linux
Hugo Leisink
15 May 2015, 06:53
I fixed a typo in the Changelog, but perhaps I messed something up. I'm on a short holiday now. Will take a look at it tomorrow evening. In the meantime, try using the CMakeFiles.txt file from the 9.12 package.
Antonio Hernández Blas
15 May 2015, 19:13
Ok, i am going to wait for an updated source file ;-)

Thanks for the response and happy holidays.
Hugo Leisink
16 May 2015, 11:47
I've uploaded a new source package file. The CMakeFiles.txt was indeed missing.
This topic has been closed.