Skip to content
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

Steps I had to take to get signal-backup-decode to compile on ubuntu 20.04 #33

Open
pale2hall opened this issue Oct 20, 2020 · 6 comments

Comments

@pale2hall
Copy link

pale2hall commented Oct 20, 2020

On Ubuntu 20.04 I had to do the following to get it to compile:

  • Install Rust (obvious, but I haven't played with Rust yet)
  • add ~/.cargo/bin to my PATH
  • sudo apt install libssl-dev
  • export OPENSSL_LIB_DIR="/usr/lib/x86_64-linux-gnu"
  • export OPENSSL_INCLUDE_DIR="/usr/include/openssl"
  • sudo apt install libsqlite3-dev

Awesome utility. thank you.

@tmo1
Copy link

tmo1 commented Nov 19, 2020

And here are the steps I needed on Debian unstable:

  • Install Rust: apt install rustc
  • Install the SQLite and OpenSSL development files: apt install libsqlite3-dev libssl-dev [I actually already had the latter installed.]
  • Install pkg-config: apt install pkg-config

I didn't need the other steps mentioned above (I just ran the binary directly with ~/path/to/signal-backup-decode).

I suggest that these various dependencies be explicitly documented in the README.

But it certainly is an awesome utility - thank you!

@mutlusun
Copy link
Contributor

mutlusun commented Mar 4, 2021

Hello,

do you think the changes in #37 are sufficient?

@tmo1
Copy link

tmo1 commented Mar 4, 2021

Hello,

do you think the changes in #37 are sufficient?

Thanks! Looks good to me. I'd probably mention apt install rustc for Debian in the README as well, but that's your call.
Thanks again for your work on this.

@mutlusun
Copy link
Contributor

mutlusun commented Mar 4, 2021

Thanks for your feedback!

I added a link to the rust installation page. The website prefers installation using rustup and not the debian package. Thus, I would leave the decision to the user.

@tmo1
Copy link

tmo1 commented Mar 4, 2021

Thanks for your feedback!

I added a link to the rust installation page. The website prefers installation using rustup and not the debian package. Thus, I would leave the decision to the user.

Fair enough (although for some reason, I don't see the link to the rust installation page).

@weskandar
Copy link

I would add:
sudo apt install build-essentials

I tried it on a new Ubuntu installation and of course it needed a C compiler..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants