Mono build error
Botond Balázs
balazsbotond at gmail.com
Wed Jan 11 13:45:40 PST 2012
On 2012. Jan 11., at 22:37 , Ryan Schmidt wrote:
>
> On Jan 11, 2012, at 15:28, Botond Balázs wrote:
>
>> I've attached config.log and main.log.
>
> Ok, so I agree Xcode is installed and working. The log shows the error is:
>
> ld: library not found for -lintl
>
> This is because although the test in question is using -I/opt/local/include to locate the headers, it is not using -L/opt/local/lib to locate the libraries. This had not previously been a problem, before Xcode 4.2, because we were not using clang then, and clang is the only compiler that doesn't use the CPATH and LIBRARY_PATH variables we set.
>
> http://lists.macosforge.org/pipermail/macports-dev/2011-August/015543.html
>
> I am able to reproduce the problem when using clang. Please file a bug report in the issue tracker.
>
On 2012. Jan 11., at 22:24 , Jeremy Lavergne wrote:
> e, clean again and use this command for building:
>
> Sudo port install mono configure.compiler=llvm-gcc-4.2
Thanks for the help everyone. It works using llvm-gcc-4.2. I will report the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120111/75a6903c/attachment.html>
More information about the macports-users
mailing list