Comments (6)
Reading this error a bit more closely, I have an openssl lib version 1.1.1 which is incompatible. Not sure if my distro (Fedora) supports lower versions of openssl, although a compatibility package is installed.
EDIT: Apparantly high version in crates.io is 0.9.40. Using this version however, somehow still ends up in 0.9.24 being compiled and failing. I have no idea which of the dependencies causes this. I will keep looking for a way to get this compiled, but if you have an idea that might help, I would be very grateful.
Kind regards, Guus.
P.S. My intentions do not include using this program, but I am very interested in understanding how it works. It started with the MVC divison of labour to separate out the ui, but there is more to the coding that I like and I want to understand.
from tupm.
okeeee. I found how to build the program without getting library errors. Here is a copy of the changes I made to Cargo.toml.
gbonnema ~ projects rust tupm git diff Cargo.toml
diff --git a/Cargo.toml b/Cargo.toml
index 234ee6a..5948034 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -26,21 +26,21 @@ default = []
test_database = []
[dependencies]
-openssl = "0.9.14"
+openssl = "0.10.16"
libc = "0.2"
-openssl-sys = "0.9.14"
+openssl-sys = "0.9.40"
cursive = "0.7.1"
clap = "2.25.0"
rpassword = "0.4.0"
chrono = "0.3.0"
rand = "0.3.15"
time = "0.1.38"
-multipart = "0.13.1"
+multipart = "0.15.4"
base64 = "0.7.0"
# The multipart crate is using an old version of the mime crate before API
# changes, so use an old version of reqwest for compatibility. (Reqwest
# uses mime by way of hyper.)
-reqwest = "0.6.2"
+reqwest = "0.9.8"
# Crates used for testing
[dev-dependencies]
Of course now the reqwest API differs, so I will have to check out the errors and see how to adjust them to the current API. This might take a bit longer. If you want me to I can create a pull request once it's done. But don't merge without at least a check on sanity .... I wouldn't want to ruin a perfectly good program (even if it is not meant for production use).
from tupm.
Hi Guus!
Sorry for the long delay, I missed the notifications of your issue posts last month.
On my local systems, I updated the openssl
and openssl-sys
crates to the versions you posted above, and all built well on Ubuntu 18.04.2 and Mac OS. But I guess the older reqwest
dependency is still resulting in the usage of an older openssl
crate, which doesn't work on your newer system with newer OpenSSL libraries.
It looks like this is one of those typical situations where trying to upgrade one dependency has cascading effects requiring updating a lot more dependencies and updating the code to use newer APIs. :(
If you happen to get the code working with a newer reqwest
, I'll happily look over the PR. But it could end up being a lot of work.
I also found an unrelated issue on my Ubuntu system where the line-drawing characters lead to garbage being output on the terminal. Upgrading the cursive
dependency might fix it, but that involves chasing down more API changes.
from tupm.
Yeah, I agree, it cascades to a lot of changes. I am at the point where I had too many changes and reverted back to the start, because I forgot to do regular commits. My bad. Anyway, you are right.
I am not giving up just yet, because I am too curious how your code works, especially the devision of labour part of the ui and the model.
If I can't get it working in a reasonable time, I will let you know. Otherwise, I will proudly present my PR.
Either way, thank you for your response!
from tupm.
See pull request (don't know how to connect it to this issue).
from tupm.
This issue was resolved via Guus's contributions in PR #6.
from tupm.
Related Issues (7)
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 tupm.