-
Notifications
You must be signed in to change notification settings - Fork 4
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
libcurl during build missing #10
Comments
Try setting the CMake variable USE_OWN_CURL_LIB to OFF (use ccmake) and reconfigure, that should direct it to use the system version of curl. |
Thanks! That helped to remove this error. For all usually-not-(c)make-users like me that end up here: The next error with missing The next error is a missing Then the make runs through (with a lot of -Wpessimizing-move warnings!). |
I am not sure if I should close this issue because I looks to me as anyone else should get the same error. |
Yeah there is a bit of a usability/documentation issue here, so this can be left open (though the project itself mostly has gone into hiatus). |
Since I expect my next problem not to be caused by ceema but my missing knowlegde of pidgin, I'll misuse this issue instead of creating a new one: I read on the general website that I should "install" a plugin by copying the What do I need to do to use ceema in pidgin? |
Too bad. I was happy to see that there is activity on this project because openMittsu hasn't had activity for 1 year and gave errors for me and so I assumed that maybe the Threema API and the data backup format might have changed. |
Plugin probably fails to load. Start pidgin with debug logs (-d) to see if you can spot the issue. That's a pidgin thing though. And yes, the Threema protocol has been extended, which is also why something happened here. It's a fairly niche product though (or so it seems), so not many alternatives around. |
The log indeed shows some information:
grep gives that purple_init_plugin does exist in your source code: |
For me it's also just one person that keeps me using Threema, otherwise it would be Signal only. That's quite usable on Desktop. No idea about signal plugin for pidgin. |
Can you check that the symbol was exported with nm? Something along the lines of Sometimes something can go wrong during linking. Alternatively, check with |
So it looks as if most went fine. There are two lines without
Did I copy the correct files to the correct place? |
Ah, same problem as in #3 I just realized: You need to copy libthreepl.so to the pidgin plugin folder, not libceema. Should fix your issue. |
That solves the error shown in the debug log. Now it starts with
So "probing" apparently works but it does not show up in the list of Plugins (Menu "Tools"-"Plug Ins") and und "Accounts" there is still only "Manage Accounts", no Threema and when aading a new account, Threema is not listed as a Protocol. |
Oh, I'm blind. It did appear in the list of protocols! |
The Threema protocol asks for a password. But as far as I am aware, there are no passwords in Threema. What is meant by this password? |
Tried: username = Threema-ID, password = activation code for apk in threema-shop including "-" in the middle. |
It's not in the readme, but in #6 there is some info on how to log in:
|
I'm getting there! Yes, this includes all the info I needed to get an "Available" status. When I open Threema on my phone, I also get the info that the account got disabled because I signed it from another location. When I try to import a data backup (e.g. to get all my contacts) I get an error popup
I guess that is related to the very beginning of this issue. When I (instead) tried to add a buddy, pidgin closes immediatly after I pressed "Add". But now I have one buddy added successfully. So more testing tomorrow. Btw: thanks a lot for all your patience guiding me through this on top of your development work. As soon as I've sent and received my first messages, I'll summarise the findings in an PR for the README. |
I have no idea how the backup works, I just approved the MR for it :). Could be some crypto is used that the used TLS lib just does not offer. |
Then maybe @davidfoerster can help? Instead of reading the entire issue (which includes several unrelated problems):
It might be important that I've called
That fixed the error at the very top. |
Tried that. Now I get the error when creating the new account "Unable to decrypt HELLO packet". Log says:
I am pretty sure that I've inputed correct password and account backup but am still suspecting that the problem is me in this case. |
@belamu I also built with my “own curl lib”:
I preferred to use the TLS and curl libraries shipped with my distro and ideally wanted ceema to use the same TLS library as curl to avoid issues. Therefore I made sure to install the development files for curl with OpenSSL ( But I didn’t do any back-up imports since I did that. Before that I used the “official” Ubuntu build and I’m not sure if I ever imported any data from my newly created Threema account. (It seemed easier to simply copy the 4 or so contact IDs by hand.) |
Try these steps, Threema has closed the old gateway: #6 (comment) |
Sorry to have left commentless. I tried it again and now followed #6 completely and the HELLO error is gone. For a moment it was errorless but I didn't have to time to add a buddy.
Also my Threema Libre on my phone doesn't say anything about deactivation of the account. My settings:
Unless you have another idea I assume that Threema changed enough to not support other clients. |
@belamu You may want to redact those logs to mask or omit your Threema ID. (Editing your comment will leave previous versions accessible to the public. Better to remove your comment and write another.) |
Thanks @davidfoerster . I thought I've checked but obviously missed that. |
During
make
I get the following error:I have installed:
sudo dnf install libcurl-devel libcurl
I am confused why make needs something from
/3rdparty/curl
since this directory or submodule does not exist in the repository.What do I need to make this
libcurl.so
available?Sorry to create an issue even though I expect that I need to change something, not ceema. I don't see another way of asking for support.
Btw: to get to this point, the following installations were necessary on Fedora 37:
sudo dnf install openssl-devel libsodium-devel curlpp-devel mbedtls-devel
The text was updated successfully, but these errors were encountered: