[Mono-osx] Cannot build mono-4.2.0-branch on el capitan

Saulius Menkevičius saulius.menkevicius at gmail.com
Fri Nov 20 11:47:58 UTC 2015


Ok, just in case some else gets stuck here:

My autotools versions (from brew):
  glibtool (GNU libtool) 2.4.6
  automake (GNU automake) 1.15
  autoconf (GNU Autoconf) 2.69

I managed to fix this with by adding ARFLAGS:
  ARFLAGS="-r" ./autogen.sh ...

-Saulius

Rodrigo Kumpera <kumpera at gmail.com> schrieb am Mi., 18. Nov. 2015 um
08:50 Uhr:

> You probably have bad versions of autotools and or libtool
>
> On Tue, Nov 17, 2015 at 8:11 AM, Saulius Menkevičius <
> saulius.menkevicius at gmail.com> wrote:
>
>>
>> Hi,
>>
>> Recently I've been trying to build 4.2, then 4.0 and 3.12 versions of
>> mono on my mac with OS X 10.11 (El Capitan) and I always get stuck on this
>> error:
>>
>>     CCLD     libmonogc.la
>>     libtool: warning: '-version-info/-version-number' is ignored for
>> convenience libraries
>>
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar:
>> illegal option -- .
>>     usage:  ar -d [-TLsv] archive file ...
>>             ar -m [-TLsv] archive file ...
>>             ar -m [-abiTLsv] position archive file ...
>>             ar -p [-TLsv] archive [file ...]
>>             ar -q [-cTLsv] archive file ...
>>             ar -r [-cuTLsv] archive file ...
>>             ar -r [-abciuTLsv] position archive file ...
>>             ar -t [-TLsv] archive [file ...]
>>             ar -x [-ouTLsv] archive [file ...]
>>     make[4]: *** [libmonogc-static.la] Error 1
>>
>> I used to be able to do builds of 3.12 on OS X 10.10 and it worked
>> ok. Should I update my toolset in some special way? Currently I have the
>> standard Xcode 7.1 command line tools installed.
>>
>> Thank you,
>>
>
>> --
>> Saulius Menkevičius (saulius.menkevicius at gmail.com)
>> _______________________________________________
>> Mono-osx mailing list
>> Mono-osx at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-osx
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-osx/attachments/20151120/bbd920b1/attachment.html>


More information about the Mono-osx mailing list