Error: Failed executing: make install (wordnet.rb:12) #14469

Closed
rayk opened this Issue Aug 26, 2012 · 13 comments

Projects

None yet

5 participants

@rayk
rayk commented Aug 26, 2012

I am having problem installing wordnet.

  1. Brew Doctor is telling me all is well
  2. I have followed the instructions and upgraded java and xcode
  3. Ruby is at 1.9.3p194
  4. I have gisted (https://gist.github.com/3476466) my config.log

Thanks in advance

Contributor
adamv commented Aug 26, 2012

Please gist the brew install -v wordnet.

rayk commented Aug 26, 2012

Here is the gist https://gist.github.com/3483902 from brew install -v wordnet

Contributor
adamv commented Aug 26, 2012

Looks like this software uses X11 headers through Tk:

Making install in src
/usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers  -I/usr/include -I.. -I../include -I/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers  -I/usr/include   -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -c -o wn-wn.o `test -f 'wn.c' || echo './'`wn.c
/usr/bin/clang  -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8  -L/usr/local/lib -o wn  wn-wn.o -L../lib -lWN 
/usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers  -I/usr/include -I.. -I../include -I/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers  -I/usr/include    -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -c -o wishwn-tkAppInit.o `test -f 'tkAppInit.c' || echo './'`tkAppInit.c
In file included from tkAppInit.c:16:
/usr/include/tk.h:78:11: fatal error: 'X11/Xlib.h' file not found
#       include <X11/Xlib.h>
Contributor
adamv commented Aug 27, 2012

The Tk Framework (on Snow Leopard) has a private X11 folder with headers; apparently this is either gone on Mountain Lion, or not in the include path for some reason.

Contributor
adamv commented Sep 25, 2012

Is there some superenv trickery involved here? Do we need a depends_on :tk?

Contributor
adamv commented Sep 25, 2012

Ping @mxcl

Member
mxcl commented Sep 25, 2012

It exists: /System/Library/Frameworks/Tk.framework/Versions/8.5/Headers/X11/Xlib.h

Member
mxcl commented Sep 25, 2012

The problem is this package expected X11 to be installed, the cc-line needs -FTk in there for the TK X11 to be in the include path.

Edit: unless --env=std works.

Contributor
adamv commented Oct 2, 2012

Does stdenv work for anyone?

Contributor
adamv commented Oct 2, 2012

Builds for me on Lion now, the compile line has "-framework Tk" in it.

Contributor
adamv commented Oct 2, 2012

If you brew update does this work now? Homebrew has had a lot of bug fixes in the last month.

Contributor

@adamv I just tried to install wordnet and it failed. The only issue that The Doctor has is that maven2 is unlinked. XCode is up to date.

Here's a gist of all of the other relevant information: https://gist.github.com/3827423

@2bits 2bits pushed a commit to 2bits/homebrew that referenced this issue Oct 3, 2012
nibbles 2bits wordnet: add dep on x11
wordnet uses tcl/tk which requires X11 or there are missing
includes.  Add a dep on x11.

Fixes #14469
54228fd
Contributor
2bits commented Oct 3, 2012

Maybe that will help. It worked for me.

@adamv adamv added a commit that closed this issue Oct 3, 2012
@adamv nibbles 2bits + adamv wordnet: add dep on x11
wordnet uses tcl/tk which requires X11 or there are missing
includes.  Add a dep on x11.

Fixes #14469

Closes #15280.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
a2ea7da
@adamv adamv closed this in a2ea7da Oct 3, 2012
@snakeyroc3 snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012
@adamv nibbles 2bits + adamv wordnet: add dep on x11
wordnet uses tcl/tk which requires X11 or there are missing
includes.  Add a dep on x11.

Fixes #14469

Closes #15280.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
174f86a
@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.