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

wxwidgets failed to build on 10.8.4 #22124

Closed
poopgiggle opened this issue Aug 26, 2013 · 4 comments
Closed

wxwidgets failed to build on 10.8.4 #22124

poopgiggle opened this issue Aug 26, 2013 · 4 comments

Comments

@poopgiggle
Copy link
Contributor

Gist with relevant information is at: https://gist.github.com/anonymous/6344534

Looks to be an idiosyncrasy of clang, but switching HOMEBREW_CC to llvm-gcc results in this error message: https://gist.github.com/poopgiggle/6344596 (which I suspect is more a problem with my build system)

@TTimo
Copy link

TTimo commented Aug 29, 2013

Getting the same error. OSX 10.8.4 as well.

clang: error: cannot specify -o when generating multiple output files
make: *** [.pch/wxprec_coredll/wx/wxprec.h.gch] Error 1

And there is not a single -o option in the bk-make-pch invocations before this error (assuming those are the ones failing). I'd be fine compiling without the speedup of precompiled headers if that avoids this problem :)

@poopgiggle
Copy link
Contributor Author

"slaps forehead" Of course, I should have thought of disabling precompiled headers.

adding "--disable-precomp-headers" to the list of arguments passed to configure fixes the build, HTH.

@adamv
Copy link
Contributor

adamv commented Aug 29, 2013

I see MacPorts is packaging 2.9.5, and is not passing this flag: https://trac.macports.org/browser/trunk/dports/graphics/wxWidgets-3.0/Portfile

@TTimo
Copy link

TTimo commented Aug 29, 2013

I'm coming from trying to install the macports version fwiw .. I gave up when it started pulling in xorg, llvm-gcc4.2 etc.

poopgiggle added a commit to poopgiggle/homebrew that referenced this issue Aug 29, 2013
Disabled precompiled headers to fix build. See issue Homebrew#22124
@adamv adamv closed this as completed in 117d410 Aug 30, 2013
handyman5 pushed a commit to handyman5/homebrew that referenced this issue Oct 7, 2013
Disabled precompiled headers to fix build.

Fixes Homebrew#22124.
Closes Homebrew#22197.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants