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

compile error by installing cgal #315

Closed
krikox opened this issue Apr 14, 2016 · 2 comments
Closed

compile error by installing cgal #315

krikox opened this issue Apr 14, 2016 · 2 comments

Comments

@krikox
Copy link

krikox commented Apr 14, 2016

Bug reports:

I try to install cgal with brew, but I get the error message after the downloading:

Downloading https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-4.7/CGAL-4.7.tar.gz

################################################################## 100,0%Error: Failed to download resource "cgal"

Download failed: https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-4.7/CGAL-4.7.tar.gz

After downloading and instlling it manually I get the error:

Error: compile error
/home/krikox/.cache/Homebrew/CGAL-4.7.tar.gz:1: Invalid char \037' in expression /home/krikox/.cache/Homebrew/CGAL-4.7.tar.gz:1: Invalid char\213' in expression
/home/krikox/.cache/Homebrew/CGAL-4.7.tar.gz:1: Invalid char \010' in expression /home/krikox/.cache/Homebrew/CGAL-4.7.tar.gz:1: Invalid char\010' in expression
/home/krikox/.cache/Homebrew/CGAL-4.7.tar.gz:1: Invalid char \334' in expression /home/krikox/.cache/Homebrew/CGAL-4.7.tar.gz:1: Invalid char\232' in expression
/home/krikox/.cache/Homebrew/CGAL-4.7.tar.gz:4: Invalid char \246' in expression /home/krikox/.cache/Homebrew/CGAL-4.7.tar.gz:4: Invalid char\325' in expression
/home/krikox/.cache/Homebrew/CGAL-4.7.tar.gz:4: Invalid char \033' in expression /home/krikox/.cache/Homebrew/CGAL-4.7.tar.gz:4: Invalid char\332' in expression
/home/krikox/.cache/Homebrew/CGAL-4.7.tar.gz:4: Invalid char \243' in expression /home/krikox/.cache/Homebrew/CGAL-4.7.tar.gz:4: Invalid char\356' in expression
/home/krikox/.cache/Homebrew/CGAL-4.7.tar.gz:4: syntax error, unexpected tCONSTANT, expecting $end
...{K▒▒iw:▒▒v▒u▒A▒e▒q▒"▒▒▒▒l܆▒?_]d;$Y▒▒▒▒K|▒?...
^
Please report this bug:
https://github.com/Linuxbrew/linuxbrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting
/home/krikox/.cache/Homebrew/CGAL-4.7.tar.gz:4:in load_formula' /home/krikox/.linuxbrew/Library/Homebrew/formulary.rb:34:inload_formula_from_path'
/home/krikox/.linuxbrew/Library/Homebrew/formulary.rb:83:in load_file' /home/krikox/.linuxbrew/Library/Homebrew/formulary.rb:74:inklass'
/home/krikox/.linuxbrew/Library/Homebrew/formulary.rb:70:in get_formula' /home/krikox/.linuxbrew/Library/Homebrew/formulary.rb:207:infactory'
/home/krikox/.linuxbrew/Library/Homebrew/extend/ARGV.rb:18:in formulae' /home/krikox/.linuxbrew/Library/Homebrew/extend/ARGV.rb:16:inmap'
/home/krikox/.linuxbrew/Library/Homebrew/extend/ARGV.rb:16:in formulae' /home/krikox/.linuxbrew/Library/Homebrew/cmd/install.rb:44:ininstall'
/home/krikox/.linuxbrew/Library/brew.rb:83:in `send'
/home/krikox/.linuxbrew/Library/brew.rb:83

I've found somewhere the hint that it could be caused due to the wrong ruby environment. For that reason I've downgraded it to the version 1.8 but it haven't influenced anything.

(there are no logs in brew gist-logs cgal)

@dunn
Copy link
Contributor

dunn commented Apr 14, 2016

Somehow the URL got munged; it should be https://github.com/CGAL/cgal/releases/download/releases/CGAL-4.7/CGAL-4.7.tar.gz

You can brew edit cgal to fix that locally until #321 is merged.

@MikeMcQuaid
Copy link
Member

/home/krikox/.linuxbrew/Library/brew.rb:83

We don't support Linux here, I'm afraid, please report this to Linuxbrew. Also, #321 was merged so this may be no longer required.

@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants