[MacPorts] #32854: mono @2.10.6_0 configure fails when using clang
MacPorts
noreply at macports.org
Wed Jan 11 14:09:40 PST 2012
#32854: mono @2.10.6_0 configure fails when using clang
------------------------------------+---------------------------------------
Reporter: balazsbotond@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: mono
------------------------------------+---------------------------------------
config.log:
{{{
configure:4581: checking whether the C compiler works
configure:4603: /Developer/usr/bin/clang
-I/opt/local/var/macports/build/_opt_local_var_macports_source
s_rsync.macports.org_release_tarballs_ports_devel_mono/mono/work/mono-2.10.6/libgc/include
-pipe -O2 -a
rch x86_64 -I/opt/local/include -no-cpp-precomp -D_THREAD_SAFE
-DGC_MACOSX_THREADS -DPLATFORM_MACOSX -D
USE_MMAP -DUSE_MUNMAP -DGetCurrentProcess=MonoGetCurrentProcess
-DGetCurrentThread=MonoGetCurrentThread
-DCreateEvent=MonoCreateEvent -lintl -lintl -lcharset -arch x86_64
-lpthread conftest.c >&5
clang: warning: argument unused during compilation: '-no-cpp-precomp'
ld: library not found for -lintl
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
}}}
The reason is explained here:
http://lists.macosforge.org/pipermail/macports-dev/2011-August/015543.html
http://lists.macosforge.org/pipermail/macports-
users/2012-January/026982.html
Full log files attached.
'''NOTE:''' a workaround for this is to use another compiler: `sudo port
install mono configure.compiler=llvm-gcc-4.2`
--
Ticket URL: <https://trac.macports.org/ticket/32854>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list