-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Emacs 25.1 build fails, 'librsvg/rsvg.h' file not found #5863
Comments
|
@mok0 did the above work for you? |
Same problem, updating librsvg didn't work for me.
|
@dunn I haven't tried |
@edcaceres yours looks like a different problem; could you open a new issue after looking through the troubleshooting checklist: https://github.com/Homebrew/brew/blob/master/docs/Troubleshooting.md#troubleshooting Thanks! |
@mok0 did you run |
@dunn, yes, I ran |
When you can, please post the output of |
Brew doctor only warned about the fact that I have gnu coreutils in my path without "g". |
@edcaceres Xcode 6 on El Capitan is not supported. Please upgrade Xcode. |
@mok0 it looks like that bottle was manually extracted not installed with brew install. Is there more to the story here? |
@mok0 Try to |
This has been a issue for me as well, more than happy to open a new issue if needed 😄 . brew install --with-coca emacs
==> Using the sandbox
==> Downloading https://ftpmirror.gnu.org/emacs/emacs-25.1.tar.xz
Already downloaded: /Users/ksuen/Library/Caches/Homebrew/emacs-25.1.tar.xz
==> ./configure --disable-silent-rules --enable-locallisppath=/usr/local/share/e
Last 15 lines from /Users/ksuen/Library/Logs/Homebrew/emacs/01.configure:
checking for GNU Make... make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-apple-darwin15.6.0
checking host system type... x86_64-apple-darwin15.6.0
checking whether the C compiler works... no
configure: error: in `/private/tmp/emacs-20161025-35887-qqscof/emacs-25.1':
configure: error: C compiler cannot create executables
See `config.log' for more details
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/Homebrew/homebrew-core/issues
These open issues may also help:
Emacs 25.1 build fails, 'librsvg/rsvg.h' file not found https://github.com/Homebrew/homebrew-core/issues/5863 I can get the brew config
HOMEBREW_VERSION: 1.0.8-1959-g84d1661
ORIGIN: https://github.com/Homebrew/brew
HEAD: 84d1661b9af04501473660eccf3f7941061744d3
Last commit: 13 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 169c240ade102775defd9cc4e82c4a68348b6f4b
Core tap last commit: 4 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 7.3 build 703
Git: 2.10.1 => /usr/local/bin/git
Perl: /usr/local/bin/perl => /usr/local/Cellar/perl/5.24.0_1/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.3.1_2/bin/ruby
Java: 1.8.0_112
macOS: 10.11.6-x86_64
Xcode: 8.0
CLT: 7.3.1.0.1.1461711523
X11: N/A brew doctor
Warning:... # I've deleted this for brevity
Unexpected header files:
/usr/local/include/python2.7/greenlet/greenlet.h
/usr/local/include/python3.5m/greenlet/greenlet.h |
@ksrb Update your CLT to match your Xcode version:
|
There is no CLT 8 for 10.11.
|
Is this actually related to Homebrew/brew#972? I find it hard to believe that a svg library has anything to do with xcode. |
is what indicates an Xcode issue. The rsvg.h problem is something. |
@ilovezfs just fetched my mac, thanks running:
Fixed my issue. |
@ksrb cool. were you also seeing the |
After I ran the command above I did not see the I can post additional logs if you need them. |
@mok0 are you still having the rsvg error? |
@ilovezfs I will test it in a few days, I am traveling ATM. |
I did
Unfortunately the problem persists. Here is my
|
The output
makes me think that these were failed bottle pours or that bottle tarballs were manually unpacked. What's the output of
and
|
@ilovezfs those two greps are both null, and I have never manually unpacked bottle tarballs. However, when doing
Again,
I don't have time to investigate more, I think I'll just zap homebrew and reinstall from scratch. |
You may also want to just try |
I have a strange problem building Emacs 25.1. This is the error message I get:
It is very strange because
librsvg
is installed, and the the includeexists:
I've built Emacs 25.1 on my laptop without problems.
The text was updated successfully, but these errors were encountered: