[Mono-bugs] [Bug 59470][Nor] New - Beta 2 build fails (missing -lintl)

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 2 Jun 2004 10:37:46 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by niel@bornstein.atlanta.ga.us.

http://bugzilla.ximian.com/show_bug.cgi?id=59470

--- shadow/59470	2004-06-02 10:37:46.000000000 -0400
+++ shadow/59470.tmp.22608	2004-06-02 10:37:46.000000000 -0400
@@ -0,0 +1,55 @@
+Bug#: 59470
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: niel@bornstein.atlanta.ga.us               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Beta 2 build fails (missing -lintl)
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Beta 2 build fails on Mac OS X
+
+Steps to reproduce the problem:
+1. cd mono-0.95
+2. ./configure --prefix=/usr/local
+3. make
+
+Actual Results:
+gcc -g -O2 -fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes
+-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes
+-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align
+-Wwrite-strings -pthread -o mono main.o  ./.libs/libmono.a -L/usr/local/lib
+-L/sw/lib -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 /usr/local/lib/libintl.a
+-L/usr/lib -lc -liconv -licui18n -licuuc -licudata -lpthread -lm
+gcc: unrecognized option `-pthread'
+ld: /usr/local/lib/libintl.a(bindtextdom.o) illegal reference to symbol:
+__nl_msg_cat_cntr defined in indirectly referenced dynamic library
+/usr/local/lib/libintl.2.dylib
+make[4]: *** [mono] Error 1
+make[3]: *** [all] Error 2
+make[2]: *** [all-recursive] Error 1
+make[1]: *** [all-recursive] Error 1
+make: *** [all] Error 2
+
+
+Expected Results:
+successful build
+
+How often does this happen? 
+Always
+
+Additional Information:
+Workaround is to cd mono/mini and repeat the failing gcc line with -lintl
+at the end