This repository has been archived by the owner. It is now read-only.

Your XQuartz (2.7.2) is outdated, Please install XQuartz 2.7.4 #18048

Closed
neilgee opened this Issue Feb 24, 2013 · 10 comments

Comments

Projects
None yet
3 participants
@neilgee

neilgee commented Feb 24, 2013

I get this warning when running brew doctor.

Then I upgrade to XQuartz 2.7.4 but same error persists. So I go to remove XQuartz using guide from this -"Uninstall (Snow Leopard or Later)" - http://xquartz.macosforge.org/trac/wiki/X11-UsersFAQ

Then reinstall 2.7.4 but when running brew doctor same error persists.

Any thoughts.

@ghost

This comment has been minimized.

ghost commented Feb 24, 2013

Having the same problem here.

@jacknagel

This comment has been minimized.

Contributor

jacknagel commented Feb 28, 2013

Please run this script and post the output, along with your brew --config:

$: << File.join(`brew --repository`.strip, "Library/Homebrew")
require 'global'
require 'macos'

path = MacOS.app_with_bundle_id(MacOS::XQuartz::FORGE_BUNDLE_ID)
mv = `mdls -raw -name kMDItemVersion '#{path}' 2>/dev/null`.strip
pkgutil = MacOS.pkgutil_info(MacOS::XQuartz::FORGE_PKG_ID)
pv = /version: (\d\.\d\.\d).+$/ =~ pkgutil && $1

puts "version from `mdls`:  #{mv}"
puts "version from pkgutil: #{pv}"
@neilgee

This comment has been minimized.

neilgee commented Feb 28, 2013

Hi Jack,

I copy pasted the script, but get a syntax error when run:

Macintosh:~ admin$ ./xbrew
./xbrew: line 11: syntax error near unexpected token (' ./xbrew: line 11:$: << File.join(brew --repository.strip, "Library/Homebrew")'

Brew Config
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew
HEAD: 2e144dd
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit penryn
OS X: 10.8-x86_64
Xcode: 4.6
CLT: 4.6.0.0.1.1358221012
LLVM-GCC: build 2336
Clang: 4.2 build 425
X11: N/A
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

@jacknagel

This comment has been minimized.

Contributor

jacknagel commented Feb 28, 2013

I copy pasted the script, but get a syntax error when run:

It's a ruby script, not a shell script

@neilgee

This comment has been minimized.

neilgee commented Feb 28, 2013

ok - this is what i get

Macintosh:~ admin$ ruby xbrew.rb 
version from `mdls`:  2.7.2
version from pkgutil:
Macintosh:~ admin$
@jacknagel

This comment has been minimized.

Contributor

jacknagel commented Feb 28, 2013

Hmm, okay. Well if neither mdls nor pkgutil are reporting the right version then I would try installing XQuartz again. There are a limited number of ways to detect the version and if they fail there isn't much we can do other than assume the installation is broken.

@neilgee

This comment has been minimized.

neilgee commented Mar 1, 2013

thats the thing - if i download and install 2.7.4 right over the top and logout/login still reports version as 2.7.2 and by using remove process documented here (http://xquartz.macosforge.org/trac/wiki/X11-UsersFAQ) doesn't work either

@jacknagel

This comment has been minimized.

Contributor

jacknagel commented Mar 1, 2013

I don't know what to suggest.

@camillol

This comment has been minimized.

Contributor

camillol commented Mar 1, 2013

I'd like to see the path that MacOS.app_with_bundle_id(MacOS::XQuartz::FORGE_BUNDLE_ID) outputs. Sometimes CoreServices gets confused and returns applications from a secondary disk ignoring the newer versions on the startup disk.

@neilgee

This comment has been minimized.

neilgee commented Mar 1, 2013

ah ha! camilloi that is the issue - I have multiple bootable disks - one must have had the older Quartz version - I unmounted them now brew is seeing the updated version on the main start up disk

Macintosh:~ admin$ ruby xbrew.rb 
version from `mdls`:  2.7.4
version from pkgutil: 2.7.4

@neilgee neilgee closed this Mar 1, 2013

@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.