Comments (15)
Please enclose copy-and-paste blocks in triple back ticks.
See https://help.github.com/articles/basic-writing-and-formatting-syntax/#quoting-code
from legacy-linuxbrew.
What does brew install gcc
report?
from legacy-linuxbrew.
thank for your help, here the report
brew install gcc
==> Installing dependencies for gcc: glibc, xz, m4, gmp, mpfr, libmpc, isl
==> Installing gcc dependency: glibc
Error: glibc cannot be built with any available compilers.
Install Clang or brew install gcc
from legacy-linuxbrew.
Try following these instructions for CentOS6. They should hopefully also work for SUSE Linux Enterprise Server 11.
https://github.com/Linuxbrew/brew/wiki/CentOS6#install-linuxbrew-on-centos-6-without-sudo
from legacy-linuxbrew.
I notice that you don't have glibc
installed. Have you been using this installation of Linuxbrew for a while without glibc
installed?
from legacy-linuxbrew.
This is a fresh installation. Only, I installed and then brew install gcc
I tried reinstall following the instruction for CentOS6 without success.
HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_BUILD_FROM_SOURCE=1 brew install gcc --without-glibc
==> Installing dependencies for gcc: bzip2, zlib, xz, m4, gmp, mpfr, libmpc, isl
==> Installing gcc dependency: bzip2
==> Downloading http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz
######################################################################## 100.0%
==> make install PREFIX=/home/pfreitas/.linuxbrew/Cellar/bzip2/1.0.6_1
==> make -f Makefile-libbz2_so clean
==> make -f Makefile-libbz2_so
πΊ /home/pfreitas/.linuxbrew/Cellar/bzip2/1.0.6_1: 30 files, 1.4MB, built in 14 seconds
==> Installing gcc dependency: zlib
==> Downloading https://zlib.net/zlib-1.2.11.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/home/pfreitas/.linuxbrew/Cellar/zlib/1.2.11
==> make install
πΊ /home/pfreitas/.linuxbrew/Cellar/zlib/1.2.11: 12 files, 464.9KB, built in 11 seconds
==> Installing gcc dependency: xz
==> Downloading https://downloads.sourceforge.net/project/lzmautils/xz-5.2.3.tar.gz
Error: bad URI(is not URI?): https://downloads.sourceforge.net/#!/#!/project/lzmautils/xz-5.2.3.tar.gz
/home/pfreitas/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.0.0-p648/lib/ruby/2.0.0/uri/generic.rb:1203:in `rescue in merge'
/home/pfreitas/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.0.0-p648/lib/ruby/2.0.0/uri/generic.rb:1200:in `merge'
/home/pfreitas/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.0.0-p648/lib/ruby/2.0.0/uri/common.rb:237:in `each'
/home/pfreitas/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.0.0-p648/lib/ruby/2.0.0/uri/common.rb:237:in `inject'
/home/pfreitas/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.0.0-p648/lib/ruby/2.0.0/uri/common.rb:237:in `join'
/home/pfreitas/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.0.0-p648/lib/ruby/2.0.0/uri/common.rb:785:in `join'
/home/pfreitas/.linuxbrew/Homebrew/Library/Homebrew/download_strategy.rb:404:in `block in actual_urls'
/home/pfreitas/.linuxbrew/Homebrew/Library/Homebrew/download_strategy.rb:403:in `map'
/home/pfreitas/.linuxbrew/Homebrew/Library/Homebrew/download_strategy.rb:403:in `actual_urls'
/home/pfreitas/.linuxbrew/Homebrew/Library/Homebrew/download_strategy.rb:378:in `_fetch'
/home/pfreitas/.linuxbrew/Homebrew/Library/Homebrew/download_strategy.rb:336:in `fetch'
/home/pfreitas/.linuxbrew/Homebrew/Library/Homebrew/resource.rb:115:in `fetch'
/home/pfreitas/.linuxbrew/Homebrew/Library/Homebrew/resource.rb:84:in `stage'
/home/pfreitas/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:1884:in `stage'
/home/pfreitas/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:1088:in `brew'
/home/pfreitas/.linuxbrew/Homebrew/Library/Homebrew/build.rb:127:in `block in install'
/home/pfreitas/.linuxbrew/Homebrew/Library/Homebrew/utils.rb:556:in `with_env'
/home/pfreitas/.linuxbrew/Homebrew/Library/Homebrew/build.rb:124:in `install'
/home/pfreitas/.linuxbrew/Homebrew/Library/Homebrew/build.rb:201:in `<main>'
As I said, I had a previous working installation but I used brew uninstall gcc
and then when I tried to use brew doesn't work anymore. I uninstalled linuxbrew and did this new installation.
After uninstall and install again linuxbrew the brew config
show me glibc and gcc as not installed!
Host glibc: 2.11
/usr/bin/gcc: 4.3.4
glibc: N/A
gcc: N/A
xorg: N/A
Thanks
from legacy-linuxbrew.
==> Downloading https://downloads.sourceforge.net/project/lzmautils/xz-5.2.3.tar.gz
Error: bad URI(is not URI?): https://downloads.sourceforge.net/#!/#!/project/lzmautils/xz-5.2.3.tar.gz
That's a super weird error message. I've definitely not seen that error before.
Can you please report the output of brew fetch -s xz
?
from legacy-linuxbrew.
Of course!
brew fetch -s xz
==> Downloading https://downloads.sourceforge.net/project/lzmautils/xz-5.2.3.tar.gz
==> Downloading from https://downloads.sourceforge.net/#!/project/lzmautils/xz-5.2.3.tar.gz
######################################################################## 100.0%
Downloaded to: /home/pfreitas/.cache/Homebrew/xz-5.2.3.tar.gz
SHA256: 7a07d3f7cca5c0b38ca811984ef8da536da32932d68c1a6cce33ec2462b930bf
Warning: Formula reports different SHA256: 71928b357d0a09a12a4b4c5fafca8c31c19b0e7d3b8ebb19622e96f26dbf28cb
from legacy-linuxbrew.
I see the same warning, so I guess you can ignore that for now. Try again
HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_BUILD_FROM_SOURCE=1 brew install gcc --without-glibc
from legacy-linuxbrew.
I obtained
==> Installing dependencies for gcc: xz, m4, gmp, mpfr, libmpc, isl
==> Installing gcc dependency: xz
==> Downloading https://downloads.sourceforge.net/project/lzmautils/xz-5.2.3.tar.gz
Already downloaded: /home/pfreitas/.cache/Homebrew/xz-5.2.3.tar.gz
Error: SHA256 mismatch
Expected: 71928b357d0a09a12a4b4c5fafca8c31c19b0e7d3b8ebb19622e96f26dbf28cb
Actual: 7a07d3f7cca5c0b38ca811984ef8da536da32932d68c1a6cce33ec2462b930bf
Archive: /home/pfreitas/.cache/Homebrew/xz-5.2.3.tar.gz
To retry an incomplete download, remove the file above.
I removed the file, and try again, but back to the initial error
from legacy-linuxbrew.
We're sorry -- the Sourceforge site is currently in Disaster Recovery mode
Looks like SourceForge is down for now. You may have to wait until it's back up. In the mean time as a work around, try thisβ¦
HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_BUILD_FROM_SOURCE=1 brew install --ignore-dependencies zlib gmp mpfr libmpc isl gcc --without-glibc
from legacy-linuxbrew.
OK, I will wait for SourceForge back
here the result for
HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_BUILD_FROM_SOURCE=1 brew install --ignore-dependencies zlib gmp mpfr libmpc isl gcc --without-glibc
Warning: zlib 1.2.11 is already installed
Warning: gmp: this formula has no --without-glibc option so it will be ignored!
==> Downloading https://gmplib.org/download/gmp/gmp-6.1.2.tar.xz
######################################################################## 100.0%
Error: No such file or directory - /home/pfreitas/.linuxbrew/opt/xz/bin/xz
from legacy-linuxbrew.
Unless you have xz
installed somewhere else, you're stuck until Sourceforge comes back online.
from legacy-linuxbrew.
Yes, I have installed xz 5.2.2 installed in my anaconda distro.
How can I know if the Sourceforge is come back?
from legacy-linuxbrew.
brew fetch -s xz
will succeed and not give a Error: SHA256 mismatch
In the mean time, you may be able to brew edit xz
and delete or comment out the sourceforge
line. There's a mirror that you can use.
brew edit xz
rm -f /home/pfreitas/.cache/Homebrew/xz-5.2.3.tar.gz
brew fetch -s xz
from legacy-linuxbrew.
Related Issues (20)
- vim not getting build HOT 4
- `cairo` fails on Linux Mint 17.3 Rosa XFCE x64 HOT 3
- CEGMA 2.5 ? HOT 1
- where is the file .bashrc or .zshrc? HOT 8
- 'brew install llvm --with-lldb' fails HOT 1
- Error: SHA256 mismatch
- -e:1:in `flock': Function not implemented (Errno::ENOSYS) HOT 1
- Advantage of Linuxbrew over Chromebrew? HOT 2
- cannot execute binary file: Exec format error HOT 3
- Error: undefined method `rebuild' HOT 6
- util-linux: Conflicts with bash-completions HOT 25
- Error: Unsupported special dependency :perl HOT 1
- libxcb install but not exist HOT 2
- Support installation with out git installed HOT 4
- brew instal mpd HOT 1
- node: Error: Unsupported special dependency :perl HOT 1
- Unsupported special dependency: Perl HOT 1
- troubleshooting link is not working HOT 2
- homebrew upgrade error HOT 2
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 legacy-linuxbrew.