<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="latin-charset" text="#000000"
bgcolor="#ffffff">
Hi Andreas,<br>
Thank you for the detailed answer. But I don't have access to my new
machine until Saturday. I will check it then.<br>
<br>
Bests,<br>
M. Amin<br>
<br>
On 07/26/2012 11:37 AM, Andreas Stolcke wrote:
<blockquote cite="mid:5010ECB8.1010409@icsi.berkeley.edu"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 7/24/2012 11:40 PM, amin farajian
wrote:<br>
</div>
<blockquote
cite="mid:CAA+Df5VQVLZeOPRs4iWpEGEXxu3ZDGwGUjFb7neSnYu+PjcuDw@mail.gmail.com"
type="cite">Hi all,<br>
<br>
I recently changed my machine, and I'm now trying to install the
latest version of SRILM on it. I installed all the required
tools and libraries (at least I hope so). but I couldn't finish
the installation correctly. I checked everything that I thought
could cause the problem, but I couldn't find anything.<br>
Some information about my new machine are:<br>
<br>
Machine Type: i686 (according to output of this script:
srilm/sbin/machine-type)<br>
OS: kubuntu 12.04 (output of uname: 36-Ubuntu SMP Tue Apr 10
20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux)<br>
compiler version (output of "gcc -v"): gcc version 4.6.3
(Ubuntu/Linaro 4.6.3-1ubuntu5) <br>
<br>
I changed the contents of srilm/common/Makefile.machine.i686 as
described in installation instruction:<br>
<div style="margin-left: 40px; color: rgb(51, 51, 255);"> CC =
/usr/bin/gcc $(GCC_FLAGS)<br>
CXX = /usr/bin/g++ $(GCC_FLAGS) -DINSTANTIATE_TEMPLATES<br>
</div>
and added this line to the file:<br>
<div style="margin-left: 40px;"><span style="color: rgb(51, 51,
255);">NO_TCL = X</span><br>
</div>
but nothing changed in installation procedure.<br>
I also attached the output of make command. As could be seen in
the file, the first error occurs in line 158:<br>
<br>
<div style="margin-left: 80px;"><span style="color: rgb(51, 51,
255);">ERROR: File to be installed (../bin/i686/maxalloc)
does not exist.</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">Usage:
decipher-install [-p] <mode> <file1> ...
<fileN> <directory></span><br style="color:
rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">
mode: file permission mode, in octal</span><br
style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> file1 ...
fileN: files to be installed</span><br style="color:
rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">
directory: where the files should be installed</span><br
style="color: rgb(51, 51, 255);">
<br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">files =
../bin/i686/maxalloc</span><br style="color: rgb(51, 51,
255);">
<span style="color: rgb(51, 51, 255);">directory =
../../bin/i686</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">mode = 0555 </span><br>
</div>
<br>
May I ask you to help me in this problem?<br>
</blockquote>
Based on the error message from the linker<br>
<br>
<blockquote type="cite">/usr/bin/g++ -m32 -mtune=pentium3 -Wall
-Wno-unused-variable -Wno-uninitialized -DINSTANTIATE_TEMPLATES
-D_FILE_OFFSET_B<br>
ITS=64 -I. -I../../include -u matherr -L../../lib/i686 -g
-O3 -o ../bin/i686/lattice-tool ../obj/i686/lattice-tool<br>
.o ../obj/i686/liblattice.a -lm -ldl ../../lib/i686/libflm.a
../../lib/i686/liboolm.a ../../lib/i686/libdstruct.a ../../<br>
lib/i686/libmisc.a -lm 2>&1 | c++filt<br>
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++.so when searching
for -lstdc++<br>
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++.a when searching for
-lstdc++<br>
/usr/bin/ld: cannot find -lstdc++</blockquote>
<br>
you don't have the 32bit version of libstdc++ installed. Try
building 64bit binaries:<br>
<br>
make MACHINE_TYPE=i686-m64 World<br>
<br>
If that shows similar problem seek the advice of someone familiar
with your Ubuntu installation.<br>
<br>
Andreas<br>
<br>
<br>
</blockquote>
<br>
</body>
</html>