Comments (15)
The only solution is updating system compiler (GCC in this case).
from cargo-update.
@balkierode you may need to try upgrading GCC. GCC <= 4.4
only accepted the flag -std=gnu89
, but support was later added (after 4.4) to support -std=gnu90
. I can't say that's the primary error, but I believe that's your main compiler errors when rust is building libssh2.
from cargo-update.
@perryprog I didn't open an issue as I moved on to different system now.
from cargo-update.
rust version 1.8.0. I don't think that matters though
from cargo-update.
Using built-in specs.
Target: x86_64-amazon-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --disable-gjdoc --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --disable-libgcj --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-amazon-linux
Thread model: posix
gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC)
from cargo-update.
Update Rust to 1.18.0. How old even is 1.8.0 at this point?
This is an issue of libgit2
(or, well, technically, libssh2-sys
, but it's pulled in by libgit2
) I've run across in the past (or one similar thereto, anyway). You're in terra incognita for me now, probably best course of action would be to yell at libssh2-sys
maintainer.
from cargo-update.
My bad (typo). it is 1.18
from cargo-update.
Aye. Anyway, that "solution" still stands. It's shit, I know (I even wasted a good six hours on it or a similar one but I thought it was just my setup because it's weird), but yelling at the maintainers of libssh2-sys
might get us somewhere.
from cargo-update.
Getting the same problem. Any solution? I kinda want to update my things...
from cargo-update.
@perryprog Did someone finally open an issue over at the libssh2-sys
repository? If not, that's the solution. If they did, then the solution is probably there. I have no idea why the libssh2-sys
build error happens (and it seems to have different solutions on different systems) so I don't think I can provide anything beside that.
from cargo-update.
Paging @balkierode: did you make an issue?
@nabijaczleweli Fair enough, I’ll do some research I suppose.
from cargo-update.
@mati865 that’s lovely. I can’t update GCC right now, cause Homebrew doesn’t support High Sierra enough yet. I guess I’ll have to wait!
from cargo-update.
What's the status on this?
@perryprog, does it work after updating GCC?
@balkierode, does the issue persist on that "different system"?
from cargo-update.
I'm not sure what I changed, (I assume I've updated GCC by now probably) but it installs fine now.
from cargo-update.
Cool and good 👍
from cargo-update.
Related Issues (20)
- `libgit2.so.1.7: cannot open shared object file` HOT 24
- Configuration: support setting environment variables for specific crates HOT 4
- Listing packages doesn't include those installed via `--git` HOT 4
- Is there a way to specify the number of threads to use? HOT 4
- Failure when using source replacement HOT 3
- error: registry index was not found in any configuration: `rsproxy-sparse` HOT 5
- Keep the features HOT 3
- Fails behind corporate proxy (but plain cargo install works) HOT 10
- respect previously defined feature flags when updating HOT 5
- Installing from source causes `cargo install` PATH warning on Windows due to path canonicalization HOT 7
- Internal matching of custom registry and source for sparse indices fails HOT 1
- Auto configuration error HOT 6
- Build fails on macOS 14.4.1 HOT 1
- build fails on arch linux 6.8.7-arch1-1 HOT 1
- `install.root` is not properly followed HOT 2
- Is there a way to list only packages in need of update? HOT 1
- Add --rate-limit flag HOT 2
- Unable to list/update packages after installing package using cargo binstall --git HOT 5
- When called from topgrade `cargo-install-update` under WSL fails to find some file or directory. HOT 5
- Prompt user before performing updates HOT 1
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 cargo-update.