In addition, the gcc detail is gcc (GCC) 4.9.0 20130526 (experimental) Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
And the mac os information is Darwin lixiang-mac.local 12.4.0 Darwin Kernel Version 12.4.0: Wed May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64 And the srilm libraries are in srilm/lib/macosx/ -rw-r--r-- 1 lixiang 11M 7 1 09:24 liboolm.a -rw-r--r-- 1 lixiang 230K 7 1 09:16 libmisc.a -rw-r--r-- 1 lixiang 4.0M 7 1 09:17 liblattice.a -rw-r--r-- 1 lixiang 2.9M 7 1 09:17 libflm.a -rw-r--r-- 1 lixiang 320K 7 1 09:16 libdstruct.a 2013/7/2 Li Xiang <[email protected]> > Hi, > > I have installed iconv using homebrew, the comand is 'brew install > liviconv' > > And the iconv libraries are: > lrwxr-xr-x 1 root 20B 8 14 2012 /usr/lib/libiconv.dylib -> > libiconv.2.4.0.dylib > -r-xr-xr-x 1 root 2.0M 8 14 2012 /usr/lib/libiconv.2.dylib > lrwxr-xr-x 1 root 16B 8 14 2012 /usr/lib/libiconv.2.4.0.dylib -> > libiconv.2.dylib > > > After I git pull moses, I can't also compile it successfully. And the > detail is in the attachment file which is not the same as before. > > > > > 2013/7/1 Kenneth Heafield <[email protected]> > >> Hi, >> >> Ok so it was working but we had a different error message. >> Progress. >> I've added iconv as a dependency for SRILM. So maybe if you git pull it >> will work. Except I don't have libiconv on my Linux machine so maybe >> this is an OS X-only thing? >> >> Kenneth >> >> On 07/01/13 03:25, Li Xiang wrote: >> > Hi, >> > >> > I re-build the SRILM. The libraries are in lib/macosx like yours. >> > But I still can not build moses. >> > >> > Undefined symbols for architecture x86_64: >> > "_iconv_open", referenced from: >> > File::fgetsUTF8(char*, int) in libmisc.a(File.o) >> > "_iconv", referenced from: >> > File::fgetsUTF8(char*, int) in libmisc.a(File.o) >> > "_iconv_close", referenced from: >> > File::~File() in libmisc.a(File.o) >> > ld: symbol(s) not found for architecture x86_64 >> > collect2: error: ld returned 1 exit status >> > >> > May any other tools error ? >> > >> > >> > 2013/7/1 Hieu Hoang <[email protected] <mailto:[email protected]>> >> > >> > What are your version numbers? >> > >> > I have >> > Mac OSX 10.7.5 >> > gcc 4.2.1 >> > SRILM 1.6.0 >> > I didn't have to change the script 'machine-type' in any way. When >> > running it, it gives: >> > ./sbin/machine-type >> > macosx >> > so the libaries are in >> > lib/macosx/ >> > Moses compiles ok with SRILM for me >> > >> > Perhaps try renaming your library to this directory. >> > >> > On 30 June 2013 17:07, Kenneth Heafield <[email protected] >> > <mailto:[email protected]>> wrote: >> > >> > macosx-64 != macosx-m64 >> > >> > Sorry if that was my typo. >> > >> > Your original e-mail said "I have compiled the SRILM by setting >> > machine-type=macosx-m64" so you should use >> > --with-srilm-arch=macosx-m64 . >> > >> > If that doesn't work, I'll want your updated build output and ls >> > srilm/lib/macosx-m64 . Also try an absolute path with >> --with-srilm. >> > >> > On 06/30/13 16:58, Xiang Li wrote: >> > > The SRILM libraries are inside the srilm/lib/macosx-m64, not >> > inside >> > > one of the -L directories listed. I have added the option >> > > --with-srilm-arch=macosx-64. Why it can not locate the >> macosx-m64 >> > > directory. >> > > >> > > Xiang Li >> > > >> > > 在 2013-6-30,22:58,Kenneth Heafield <[email protected] >> > <mailto:[email protected]>> 写道: >> > > >> > >> SRILM libraries inside one of the -L >> > >> directories listed? >> > _______________________________________________ >> > Moses-support mailing list >> > [email protected] <mailto:[email protected]> >> > http://mailman.mit.edu/mailman/listinfo/moses-support >> > >> > >> > >> > >> > -- >> > Hieu Hoang >> > Research Associate >> > University of Edinburgh >> > http://www.hoang.co.uk/hieu >> > >> > >> > >> > >> > -- >> > Xiang Li >> > >> > >> > _______________________________________________ >> > Moses-support mailing list >> > [email protected] >> > http://mailman.mit.edu/mailman/listinfo/moses-support >> > >> _______________________________________________ >> Moses-support mailing list >> [email protected] >> http://mailman.mit.edu/mailman/listinfo/moses-support >> > > > > -- > Xiang Li > -- Xiang Li
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
