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

Can't install on Void Linux #92

Closed
nothingnesses opened this issue Aug 12, 2018 · 9 comments
Closed

Can't install on Void Linux #92

nothingnesses opened this issue Aug 12, 2018 · 9 comments
Labels

Comments

@nothingnesses
Copy link

After installing the prerequisites listed in the README and attempting to install cargo-update, I got this output. Perhaps pkg-config also needs to be listed as a dependency in addition to those already listed in the README?

After installing pkg-config and enabling backtrace, I got this output. So is the issue with sfackler/rust-openssl? Is this related to #86? How should I go forward with this?

@nothingnesses nothingnesses changed the title Can't install in Void Linux Can't install on Void Linux Aug 12, 2018
@mati865
Copy link
Contributor

mati865 commented Aug 12, 2018

I don't know Void Linux but you'll probably need package libressl-devel.

@nothingnesses
Copy link
Author

nothingnesses commented Aug 13, 2018

@mati865 Thanks for the suggestion. Unfortunately, it still fails after installing libressl-devel, with this output. It seems I am missing Unix Makefiles, so I installed make but even then, it still fails with this output. Shouldn't libressl-devel (at least for systems using libressl in lieu of openssl) and make also be listed as pre-requisites in the README?

@mati865
Copy link
Contributor

mati865 commented Aug 13, 2018

@VoidNoire instructions in README are for the most popular Linux distribution (Ubuntu) where cmake pulls make, *-dev packages pull pkf-config and libssl-dev pulls right openssl package.

In your case you will need also libgit2-devel which would pull libssh2-devel and libressl-devel if they are absent.

There is variety of package managers and if @nabijaczleweli agrees there could be added another README section or wiki with distribution specific instructions.

@nothingnesses
Copy link
Author

@mati865 I see. I think distro-specific instructions would be worthwile. If it's possible to do, it might be even better to add some logic in the installation process that automatically detects the distro in use and calls the distro's package manager to install the required packages.

I installed libgit2-devel and tried the installation again, but unfortunately it still fails, this time with this output.

@mati865
Copy link
Contributor

mati865 commented Aug 13, 2018

If it's possible to do, it might be even better to add some logic in the installation process that automatically detects the distro in use and calls the distro's package manager to install the required packages.

It could be done in the *-sys packages but I'd be really complex and probably unidiomatic.

I installed libgit2-devel and tried the installation again, but unfortunately it still fails, this time with this output.

Okay I see where the problem is, it will be fixed when I finish #90 (e.t.a. today UTC evening).

@nabijaczleweli
Copy link
Owner

Sexions for distros requiring special care sound great! (Though I am severely out of my depth here as I only use Windows and Debians :v)

@nabijaczleweli
Copy link
Owner

@VoidNoire Do please check current master.

@nothingnesses
Copy link
Author

I installed it from the master branch by using:

cargo install --git https://github.com/nabijaczleweli/cargo-update.git cargo-update

and it sucessfully got built. It seems to work fine too as it's currently updating ion-shell. Thanks @mati865 and @nabijaczleweli. 😃

@nabijaczleweli
Copy link
Owner

Released in v1.6.2.

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

No branches or pull requests

3 participants