<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You should check that you have libiconv in /usr/lib and that you have the 64bit version using the following command:<div><br></div><div>file /usr/lib/libiconv.dylib </div><div><br></div><div>You should see something like the following:</div><div><div>/usr/lib/libiconv.dylib: Mach-O universal binary with 2 architectures</div><div>/usr/lib/libiconv.dylib (for architecture i386):<span class="Apple-tab-span" style="white-space:pre">        </span>Mach-O dynamically linked shared library i386</div><div>/usr/lib/libiconv.dylib (for architecture x86_64):<span class="Apple-tab-span" style="white-space:pre">      </span>Mach-O 64-bit dynamically linked shared library x86_64</div></div><div><br></div><div>Roman</div><div><br><div><div>On 4 Mar 2013, at 18:40, mohsen jadidi <<a href="mailto:mohsen.jadidi@gmail.com">mohsen.jadidi@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Thanks but it didnt fixed the problem! Just removed the warnings </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 4, 2013 at 4:31 AM, Andreas Stolcke <span dir="ltr"><<a href="mailto:stolcke@icsi.berkeley.edu" target="_blank">stolcke@icsi.berkeley.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 3/3/2013 1:46 PM, mohsen jadidi wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello everybody,<br>
<br>
I am trying to install versiobn 1.7 on mac, but it keeps giving me error:<br>
</blockquote></div>
The cc1plus warning should disappear if you change common/Makefile.machine.macosx  to have<br>
<br>
   GCC_FLAGS = -Wreturn-type<br>
   CC = cc $(GCC_FLAGS) -Wimplicit -Wimplicit-int<br>
   CXX = c++ $(GCC_FLAGS) -DINSTANTIATE_TEMPLATES<br>
<br>
The link error seems to have something to do with the iconv library not being properly installed for 64bit builds.<br>
You might be able to work around this by building with<br>
<br>
    make NO_ICONV=1  ...<br>
<br>
I hope someone with MacOSX savvy can provide a way to make the linking with -liconv actually work.<span class="HOEnZb"><font color="#888888"><br>
<br>
Andreas<br>
<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Mohsen Jadidi<br>
</div>
_______________________________________________<br>SRILM-User site list<br><a href="mailto:SRILM-User@speech.sri.com">SRILM-User@speech.sri.com</a><br>http://www.speech.sri.com/mailman/listinfo/srilm-user</blockquote></div><br></div></body></html>