Comments (12)
This is a bug in CMake's FindCURL.cmake
on Ubuntu I recently stumbled across, too, and it's not related to AppImageUpdate or its dependency cpr
. Please check if curl-config --protocols
lists HTTP
and HTTPS
. If that's the case, then the pkg-config
file in /usr/lib/x86_64-linux-gnu/pkgconfig/libcurl.pc
(when using amd64, adapt otherwise) is broken. The fix is to add HTTP HTTPS
to supported_protocols
there:
supported_protocols="DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS LDAP LDAPS MQTT POP3 POP3S RTMP RTSP SCP SFTP SMB SMBS SMTP SMTPS TELNET TFTP"
from appimageupdate.
Also, Ubuntu 14.04 and 14.10 are not supported (there is no Ubuntu 14).
from appimageupdate.
What versions are supported then? I'm trying to build on an older version so that people who want to run my program on an older distro can use it.
from appimageupdate.
Ubuntu 14.04 has been end-of-life for more than three years now. Currently, the oldest still-supported Ubuntu LTS release is 18.04. This is also what we use to build AppImageUpdate on. Please note, however, that the deployment process has some complexity, since we need a C++17 compatible compiler. To build an AppImage of AppImageUpdate, use https://github.com/AppImage/AppImageUpdate/blob/main/ci/build-in-docker.sh.
This demonstrates how to set up a compatible compiler to, e.g., build libappimageupdate:
Note that "not supported" means "no support from the developers", not "it won't work". There are unofficial builds of libappimageupdate on CentOS 7 for instance, they just have to build almost all dependencies themselves.
from appimageupdate.
Currently, the oldest still-supported Ubuntu LTS release is 18.04.
👍
from appimageupdate.
Closing as wontfix, since the issue is within the Ubuntu-provided libcurl builds. It works fine when building libcurl oneself, or when using the proposed workaround.
from appimageupdate.
I did what you said, specifically
sudo sed -i 's|supported_protocols=.*|supported_protocols="DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS LDAP LDAPS MQTT POP3 POP3S RTMP RTSP SCP SFTP SMB SMBS SMTP SMTPS TELNET TFTP"|g' /usr/lib/x86_64-linux-gnu/pkgconfig/libcurl.pc
but it did not do anything. Instead I manually disabled the check but obviously this is not a great solution.
from appimageupdate.
Have you reset your CMake cache properly? Try with a new build directory.
from appimageupdate.
Undid my hack and deleted the directory and I still get the same error.
This is how /usr/lib/x86_64-linux-gnu/pkgconfig/libcurl.pc looks:
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib/x86_64-linux-gnu
includedir=${prefix}/include
supported_protocols="DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS LDAP LDAPS MQTT POP3 POP3S RTMP RTSP SCP SFTP SMB SMBS SMTP SMTPS TELNET TFTP"
supported_features="SSL IPv6 libz AsynchDNS IDN NTLM NTLM_WB TLS-SRP"
Name: libcurl
URL: http://curl.haxx.se/
Description: Library to transfer files with ftp, http, etc.
Version: 7.35.0
Libs: -L${libdir} -lcurl
Libs.private: -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -Wl,-Bsymbolic-functions -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -llber -llber -lldap -lz
Cflags: -I${includedir}
from appimageupdate.
Please provide the output of curl-config --protocols
.
Note that this is really not AppImageUpdate's fault. If anything, you need to talk to cpr. But even they are not to blame. CMake's doing a bad job here.
Reminds me, please update your CMake version if necessary.
from appimageupdate.
I can certainly talk to cpr that's a good idea.
I manually updated cmake to 3.24, is that sufficient?
cmake -version
cmake version 3.24.0-rc2
~/gpgme-1.18.0$ curl-config --protocols
DICT
FILE
FTP
FTPS
GOPHER
HTTP
HTTPS
IMAP
IMAPS
LDAP
LDAPS
POP3
POP3S
RTMP
RTSP
SMTP
SMTPS
TELNET
TFTP
from appimageupdate.
3.24.0 would be latest version of CMake, you're still using a release candidate. But it's good enough.
I don't think cpr can do a lot about it, but you certainly should try. Please mention me there so I get notified and can possibly contribute.
from appimageupdate.
Related Issues (20)
- Dotnet core interoperability question
- Updater Constructor does not actually throw std::invalid_argument
- GithubReleasesUpdateInformation::buildUrl is writing to the console HOT 2
- Reduce amount of api calls. HOT 2
- Option to ignore appimages in specified directories? HOT 2
- Feature request: allow overriding AppImage updInfo HOT 6
- Incompatibility when dynamically linking libappimageupdate in GTK app HOT 10
- Assembled ZSync URL points to wrong file
- command line flags missing HOT 6
- No rule to make target libarchive.a
- Why can't AppImageUpdate update itself when prompted by the user? HOT 7
- Patch apps for update HOT 2
- Remove "alpha" from the version
- Unclear downloads in the release page, and no information in the readme HOT 1
- Update panel shortcut HOT 1
- double click closes the file-chooser HOT 1
- [Feature request] Multiple selection
- Unable to build for armhf HOT 15
- Thank you!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appimageupdate.