Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

gv failed to build on 10.7.5 #16598

Closed
denismm opened this issue Dec 16, 2012 · 16 comments
Closed

gv failed to build on 10.7.5 #16598

denismm opened this issue Dec 16, 2012 · 16 comments

Comments

@denismm
Copy link

denismm commented Dec 16, 2012

Trantor:Downloads dmm$ brew install gv
==> Downloading ftp://alpha.gnu.org/gnu/gv/gv-3.7.3.90.tar.gz
Already downloaded: /Library/Caches/Homebrew/gv-3.7.3.90.tar.gz
==> ./configure --prefix=/usr/local/Cellar/gv/3.7.3.90 --enable-SIGCHLD-fallback
checking for pkg-config... /usr/local/opt/pkg-config/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DEPS... no
checking for XawInitializeWidgetSet in -lXaw3d... no
configure: error: Unable to find a valid Xaw3d library. Please install it and rerun configure.

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting

Trantor:Downloads dmm$ 

Gist at https://gist.github.com/4306996

I attempted to install and was told I needed to install XQuartz outside of brew. I did so, logged in, logged out, and tried again. This system was re-imaged from scratch a week ago and since then I've only been installing with brew.

There are some xaw3d files in /opt/X11/include/X11/Xaw3d so I don't know what brew's problem is :)

@adamv
Copy link
Contributor

adamv commented Jan 20, 2013

Can reproduce on Lion.

@adamv
Copy link
Contributor

adamv commented Jan 20, 2013

Does gv now require an Xquartz install instead of Apple's X11?

@adamv
Copy link
Contributor

adamv commented Jan 20, 2013

Ping @jacknagel since I see his name in brew log gv.

@jacknagel
Copy link
Contributor

This works here, would probably need to see the config.log to diagnose this at all.

@adamv
Copy link
Contributor

adamv commented Jan 20, 2013

https://gist.github.com/4581634

$ brew --config
HOMEBREW_VERSION: 0.9.3
ORIGIN: git@github.com:adamv/homebrew.git
HEAD: 7b5a5591cd7c2cce0217367abd1a74f5d70098a2
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/homebrew/Cellar
CPU: quad-core 64-bit sandybridge
OS X: 10.7.5-x86_64
Xcode: 4.5.2
CLT: 4.5.0.0.1.1249367152
LLVM-GCC: build 2336
Clang: 4.1 build 421
X11: 2.6.4 => /usr/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/local/homebrew/Cellar/ruby/1.9.3-p362/bin/ruby

@jacknagel
Copy link
Contributor

Hmm, it should have errored out and told you to install XQuartz, the formula has

depends_on :x11 => '2.7.2'

@jacknagel
Copy link
Contributor

@adamv is the x11 version check not working? What does X11Dependency.new("2.7.2").satisfied? return in brew irb?

@denismm
Copy link
Author

denismm commented Jan 20, 2013

I got the original error with xquartz installed. Where can I find the config.log for you?

@adamv
Copy link
Contributor

adamv commented Jan 20, 2013

>> X11Dependency.new("2.7.2").satisfied?
=> false

Shoot, ignore this; I had to pass --ignore-dependencies because I have a Ghostscript directly installed to /usr/local on this machine I can't get rid of.

@jacknagel
Copy link
Contributor

@denismm it should be in ~/Library/Logs/Homebrew/gv after the install fails.

@denismm
Copy link
Author

denismm commented Jan 21, 2013

It's 8721 lines - I'm not thrilled about copy/pasting it into the gist interface. Is there a particular part you'd like?

@adamv
Copy link
Contributor

adamv commented Jan 21, 2013

cat ~/Library/Logs/Homebrew/gv | pbcopy then paste it in; we really do want the whole thing, sorry.

@denismm
Copy link
Author

denismm commented Jan 21, 2013

https://gist.github.com/4582976

Thanks for the pbcopy tip.

@jacknagel
Copy link
Contributor

Reproduced, and should be fixed by 3e30f31.

@denismm
Copy link
Author

denismm commented Jan 21, 2013

Thanks, installed with no trouble. It's not working yet (gs says it doesn't know the x11 device) but I'll investigate that on my own.

@RuiPereira
Copy link
Contributor

@denismm that's because you must install ghostscript using --with-x11. Now that #14456 is merged we can force that in the gv formula. PR #17465 addresses that.

Sharpie pushed a commit to Sharpie/homebrew that referenced this issue Feb 19, 2013
This is the order of precedence used elsewhere in Homebrew when
detecting X11 versions and prefixes.

Fixes Homebrew#16598.
@Homebrew Homebrew 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.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants