I'm trying to build Git on OS X 10.9. Git has a dependency on libidn2. libidn2 is failing as shown below.
I suspect its due to AR being set to 'ar'; and not Apple's 'libtool' (distinct from Autool's libtool). For example, this is from one of my project's makefiles: ifneq ($(IS_DARWIN),0) AR = libtool ARFLAGS = -static -o CXX ?= c++ endif Usually its not enough to just set them, ARFLAGS option '-o' means the library name must immediately follow an $AR) $(ARFLAGS) sequence. I checked the mailing list but I did not see message(s) discussing similar errors. Does anyone have a suggestion for the easiest path to build on OS X? Thanks in advance, Jeff ************************************ $ make ... Making all in lib make[2]: Entering directory '/opt/Build-Scripts/libidn2-2.0.0/lib' make all-am make[3]: Entering directory '/opt/Build-Scripts/libidn2-2.0.0/lib' CC idna.lo CC lookup.lo CC decode.lo CC register.lo CC bidi.lo CC version.lo CC error.lo CC punycode.lo CC free.lo CC data.lo CC tr46map.lo CC tables.lo CC context.lo CCLD libidn2.la warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm: no name list warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm: no name list copying selected object files to avoid basename conflicts... ar: temporary file: No such file or directory Makefile:1027: recipe for target 'libidn2.la' failed make[3]: *** [libidn2.la] Error 1 make[3]: Leaving directory '/opt/Build-Scripts/libidn2-2.0.0/lib' Makefile:955: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/opt/Build-Scripts/libidn2-2.0.0/lib' Makefile:1065: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/opt/Build-Scripts/libidn2-2.0.0' Makefile:974: recipe for target 'all' failed make: *** [all] Error 2 Failed to build IDN _______________________________________________ Help-libidn mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-libidn
