Closed balkierode closed 6 years ago
rust version 1.8.0. I don't think that matters though
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)
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.
My bad (typo). it is 1.18
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.
@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.
Getting the same problem. Any solution? I kinda want to update my things...
@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.
Paging @balkierode: did you make an issue?
@nabijaczleweli Fair enough, I’ll do some research I suppose.
The only solution is updating system compiler (GCC in this case).
@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!
@perryprog I didn't open an issue as I moved on to different system now.
What's the status on this? @perryprog, does it work after updating GCC? @balkierode, does the issue persist on that "different system"?
I'm not sure what I changed, (I assume I've updated GCC by now probably) but it installs fine now.
Cool and good 👍
First, I got an error that cmake was not installed. I installed cmake and then I get the following error