help-libidn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OS X and "recipe for target 'libidn2.la' failed"


From: Tim Rühsen
Subject: Re: OS X and "recipe for target 'libidn2.la' failed"
Date: Mon, 16 Oct 2017 12:00:55 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 10/14/2017 12:46 AM, Jeffrey Walton wrote:
> 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?

Hi Jeffrey,

we have an automatic build&test script for OSX on Travis-CI.

We install the needed packages via homebrew.
For a recipe look into the .travis* files and use it as a starter.


With Best Regards, Tim


> 
> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-libidn
> 

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]