mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Raise configure error message for unsupported archives
Github lets users download archives of our repos. These do not contain the necessary submodules. We regularly encounter users who stumble across this. We already do have an error message that is raised when a non-recursive git checkout was done. This commit adds an error message for a non-git download that does not contain the necessary files.
This commit is contained in:
parent
32c7fececc
commit
b1ee78faf8
1 changed files with 19 additions and 0 deletions
19
configure
vendored
19
configure
vendored
|
@ -145,6 +145,25 @@ Zeek. To check out the required subdirectories, please execute:
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -e "$sourcedir/cmake/COPYING" ] && [ ! -d "$sourcedir/.git" ]; then
|
||||||
|
echo "\
|
||||||
|
You seem to be missing the content of the cmake directory.
|
||||||
|
|
||||||
|
This typically means that you downloaded a non-release archive from github.
|
||||||
|
These archives do not contain all required files.
|
||||||
|
|
||||||
|
If you want to download the current release of Zeek, please download a full
|
||||||
|
archive using one of the links at https://zeek.org/get-zeek/.
|
||||||
|
|
||||||
|
If you want to get the current development version of Zeek, please use git to
|
||||||
|
clone our repository.
|
||||||
|
|
||||||
|
See https://docs.zeek.org/en/master/install.html#retrieving-the-sources for
|
||||||
|
instructions.
|
||||||
|
" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Function to append a CMake cache entry definition to the
|
# Function to append a CMake cache entry definition to the
|
||||||
# CMakeCacheEntries variable.
|
# CMakeCacheEntries variable.
|
||||||
# $1 is the cache entry variable name
|
# $1 is the cache entry variable name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue