-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
cmake: Enabling CURL_COMPLETION_FISH or _ZSH causes build to fail on 8.13.0 #16946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for trying it out. Readily, I admit not much clue here. The error message doesn't help. Can you perhaps print out the values of message(STATUS "|${CURL_COMPLETION_FISH_DIR}|")
message(STATUS "|${CURL_COMPLETION_ZSH_DIR}|") or call |
|
Hmm.... I wonder if it's the Perl script that's causing issues
|
Thanks. These look fine. (I don't have these installed, so could only do artificial tests around here.) |
/usr/ports/ftp/curl/work/curl-8.13.0/scripts # ./completion.pl --opts_dir /usr/ports/ftp/curl/work/curl-8.13.0/docs/cmdline-opts --shell zsh > foo.txt
Unknown option: opts_dir
Usage:
completion.pl [options...]
--opts_dir path to cmdline-opts directory
Looks like the help documentation is wrong; the option is actually named --opts-dir.
|
The help text gave the wrong option name. Reported-by: Daniel Engberg Ref: #16946
Interesting! The script calls for But, the Also the initial error was in the |
Mostly just a shot in the dark ...does this improve things for you?: #16954 |
Yes, that fixes the issue! Thanks! |
Nice, thank you too! |
Hi, I apologize on my behalf as I seemingly was very tired testing it. Having another look at the scripts/CMakeLists.txt it seems like it doesn't evaluate whether either option is enabled when defining the install section? This seems to work on my end. https://github.com/curl/curl/blob/master/scripts/CMakeLists.txt#L55 https://github.com/curl/curl/blob/master/scripts/CMakeLists.txt#L65 ..and another unrelated note,
Best regards, |
Also: - tidy up the if tree. - drop `include(GNUInstallDirs)` in favor of the upper-level one. Reported-by: Daniel Engberg Bug: curl#16946 (comment)
Also: - tidy up the if tree. - drop `include(GNUInstallDirs)` in favor of the upper-level one. Reported-by: Daniel Engberg Bug: curl#16946 (comment) Follow-up to c8b0f0c curl#16833
No worries, thanks for your reports. Does it look better with?: #17094 |
Yes, tested with all possible combinations. Thanks! |
Also: - tidy up the `if` tree. - drop `include(GNUInstallDirs)` in favor of the upper-level one. Reported-by: Daniel Engberg Bug: #16946 (comment) Follow-up to c8b0f0c #16833 Closes #17094
Thank you, and merged! |
Also: - tidy up the `if` tree. - drop `include(GNUInstallDirs)` in favor of the upper-level one. Reported-by: Daniel Engberg Bug: curl#16946 (comment) Follow-up to c8b0f0c curl#16833 Closes curl#17094
curl/libcurl version
curl 8.13.0
operating system
FreeBSD 14.2-RELEASE (amd64)
@vszakats
The text was updated successfully, but these errors were encountered: