Opened 13 years ago

Closed 13 years ago

#32854 closed defect (fixed)

mono @2.10.6_0 configure fails when using clang

Reported by: balazsbotond@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: mono

Description

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

Attachments (2)

config.log (15.2 KB) - added by balazsbotond@… 13 years ago.
main.log (61.9 KB) - added by balazsbotond@… 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by balazsbotond@…

Attachment: config.log added

Changed 13 years ago by balazsbotond@…

Attachment: main.log added

comment:1 Changed 13 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Fixed in r89228.

Note: See TracTickets for help on using tickets.