osx - Alien::wxWidgets install fails on OSX10.10 -


i'm trying install alien::wxwidgets version 0.67 wxwidgets version 3.0.2, no matter do, following error:

checking if c compiler (clang -mmacosx-version-min=10.5) works sdk/version options... configure: error: in `/users/david/.cpan/build/alien-wxwidgets-0.67-ggkxtu/wxwidgets-3.0.2/bld': configure: error: no.  try different sdk see `config.log' more details system: echo exit | sh ../configure --prefix=/users/david/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/darwin-2level/alien/wxwidgets/osx_cocoa_3_0_2_uni --with-osx_cocoa --with-opengl --disable-compat24 --enable-unicode  --disable-monolithic --disable-universal_binary  --enable-graphics_ctx cc=clang cxx=clang++ cxxflags="-stdlib=libc++ -std=c++11" objcxxflags="-stdlib=libc++ -std=c++11" ldflags=-stdlib=libc++: 256 @ build line 60. 

i've tried building flags --with-macosx-sdk=10.5, --with-macosx-sdk=10.10, --without-macosx-sdk, --with-macosx-sdk=/applications/xcode.app/contents/developer/platforms/macosx.platform/developer/sdks/macosx10.11.sdk/ none of them worked.

here's part of config.log, see error, have no idea how solve it:

configure:16429: checking gcc configure:16456: result: clang configure:16685: checking c compiler version configure:16694: clang --version >&5 apple llvm version 7.0.0 (clang-700.0.72) target: x86_64-apple-darwin14.5.0 thread model: posix configure:16705: $? = 0 configure:16694: clang -v >&5 apple llvm version 7.0.0 (clang-700.0.72) target: x86_64-apple-darwin14.5.0 thread model: posix configure:16705: $? = 0 configure:16694: clang -v >&5 clang: error: argument '-v' missing (expected 1 value) clang: error: no input files configure:16705: $? = 1 configure:16694: clang -qversion >&5 clang: error: unknown argument: '-qversion' clang: error: no input files configure:16705: $? = 1 configure:16725: checking whether c compiler works configure:16747: clang   -stdlib=libc++ conftest.c  >&5 configure:16751: $? = 0 configure:16799: result: yes configure:16802: checking c compiler default output file name configure:16804: result: a.out configure:16810: checking suffix of executables configure:16817: clang -o conftest   -stdlib=libc++ conftest.c  >&5 configure:16821: $? = 0 configure:16843: result:  configure:16865: checking whether cross compiling configure:16873: clang -o conftest   -stdlib=libc++ conftest.c  >&5 configure:16877: $? = 0 configure:16884: ./conftest configure:16888: $? = 0 configure:16903: result: no configure:16908: checking suffix of object files configure:16930: clang -c   conftest.c >&5 configure:16934: $? = 0 configure:16955: result: o configure:16959: checking whether using gnu c compiler configure:16978: clang -c   conftest.c >&5 configure:16978: $? = 0 configure:16987: result: yes configure:16996: checking whether clang accepts -g configure:17016: clang -c -g  conftest.c >&5 configure:17016: $? = 0 configure:17057: result: yes configure:17074: checking clang option accept iso c89 configure:17137: clang  -c   conftest.c >&5 configure:17137: $? = 0 configure:17150: result: none needed configure:17183: checking whether using intel c compiler configure:17203: clang -c   conftest.c >&5 conftest.c:18:17: error: use of undeclared identifier 'choke'                 choke me                 ^ 1 error generated. configure:17203: $? = 1 configure: failed program was: | /* confdefs.h */ | #define package_name "wxwidgets" | #define package_tarname "wxwidgets" | #define package_version "3.0.2" | #define package_string "wxwidgets 3.0.2" | #define package_bugreport "wx-dev@lists.wxwidgets.org" | #define package_url "" | #define __bsd__ 1 | #define __darwin__ 1 | #define target_carbon 1 | /* end confdefs.h.  */ |  | int | main () | { |  |              #ifndef __intel_compiler |                 choke me |              #endif |  |   ; |   return 0; | } configure:17213: result: no configure:17936: checking how run c preprocessor configure:17967: clang -e  conftest.c configure:17967: $? = 0 configure:17981: clang -e  conftest.c conftest.c:12:10: fatal error: 'ac_nonexistent.h' file not found #include <ac_nonexistent.h>          ^ 1 error generated. configure:17981: $? = 1 configure: failed program was: | /* confdefs.h */ | #define package_name "wxwidgets" | #define package_tarname "wxwidgets" | #define package_version "3.0.2" | #define package_string "wxwidgets 3.0.2" | #define package_bugreport "wx-dev@lists.wxwidgets.org" | #define package_url "" | #define __bsd__ 1 | #define __darwin__ 1 | #define target_carbon 1 | /* end confdefs.h.  */ | #include <ac_nonexistent.h> 

if have idea how solve issue , wxwidgets working on osx 10.10, i'd grateful.

this not right part of config.log, error normal/expected, should below see real one. without seeing it, it's hard sure think -mmacosx-version-min=10.5 culprit, sdk new support 10.5. try either selecting different sdk if have older 1 installed (look under /applications/xcode.app/contents/developer/platforms/macosx.platform/developer/sdks check) or hunt down 10.5 comes , replace 10.7 supported 10.10 sdk (not sure 10.11).


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -