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

Installing gccxml tries to use clang and fails #11043

Closed
johnboiles opened this Issue Mar 19, 2012 · 3 comments

Comments

Projects
None yet
3 participants

It seems that homebrew defaults to using clang these days. However, that seems to not work for gccxml. Here's the gist for brew install gccxml:

https://gist.github.com/2090788

However, when I use --use-gcc, the brew is able to install without issue.

brew install gccxml --use-gcc

My brew doctor seems irrelevant, just mentions some extra dylibs. Here it is for completeness:

https://gist.github.com/2090649

Contributor

2bits commented Mar 21, 2012

Hello. I think you might have a more fundamental issue. Consider these errors:

-- Looking for inttypes.h - not found
-- Looking for memory.h
-- Looking for memory.h - not found
-- Looking for stdint.h
-- Looking for stdint.h - not found
-- Looking for stdlib.h
-- Looking for stdlib.h - not found
-- Looking for string.h
-- Looking for string.h - not found

It certainly should find those no matter what software you are brewing. This suggests a deeper error, perhaps related to XCode-4, Lion, and maybe xcode-select -print-path ...

Did you run a brew update before trying to build this? Will you paste you brew --config please? thx.

Contributor

adamv commented Apr 29, 2012

Closing due to no response.

@adamv adamv closed this Apr 29, 2012

Sorry for the slow response. I ran a brew update before I tried brew install gccxml. I just tried those both again, and it still fails in the same way. The correct Xcode is xcode-select'd (I'm on the latest Xcode from the App Store).

$ xcode-select -print-path
/Applications/Xcode.app/Contents/Developer

My Brew config is pretty standard, nothing crazy

$ brew --config
HOMEBREW_VERSION: 0.9
HEAD: 293be9d0dbe0c76b9c5bf1ac21a6481a909d6fab
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit sandybridge
OS X: 10.7.3
Kernel Architecture: x86_64
Xcode: 4.3.2
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2336
Clang: 3.1 build 318
MacPorts or Fink? false
X11: /usr/X11
System Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Which Perl:   /usr/bin/perl
Which Python: /usr/bin/python
Which Ruby:   /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

@adamv adamv reopened this Apr 30, 2012

@ghost ghost assigned adamv Jun 12, 2012

@adamv adamv closed this in 1ff1b86 Aug 10, 2012

fgeller added a commit to fgeller/homebrew that referenced this issue Aug 22, 2012

Remove gccxml.
It has no stable download.

Closes #12764.
Closes #11043.

Sharpie pushed a commit to Sharpie/homebrew that referenced this issue Sep 12, 2012

Remove gccxml.
It has no stable download.

Closes #12764.
Closes #11043.

snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012

Remove gccxml.
It has no stable download.

Closes #12764.
Closes #11043.

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