in the current version of Jane, you are required to compile the SRI LM
toolkit with the OPTION=_c flag.
To set it up for the Jane installation, please follow the instructions
on page 5-6 of the manual
(http://www-i6.informatik.rwth-aachen.de/jane/manual.pdf).
This should solve the problem.
Best,
Joern
Am 18.02.12 00:53, schrieb Nisheeth:
I have recompiled srilm with default as well as _c option. I have also
created a externalTools folder in jane2 where include and lib have
been copied. include has SRI folder which has srilm/include content
and lib as i686 and i686_c of srilm/lib.
Now when i give a command
CPPFLAGS=-I/home/nisheeth/jane2/externalTools/include/SRI
FDFLAGS=-L/home/nisheeth/jane2/externalTools/lib CXX=g++-4.4.4
MARCH=opteron scons -j3
I get the following output
MARCH=opteron scons -j3
scons: Reading SConscript files ...
Checking whether the C++ compiler worksno
Warning: Option -march=native not supported by the compiler, using
generic optimizations.
You may specify the target architecture with the MARCH
environment variable.
Checking whether the C++ compiler worksno
Checking for C++ library oolm_c... no
Error: The SRI LM Toolkit must be installed (under a "SRI" include dir)
I do not understand. Now, what seems to be the problem. Kindly help me.
Kindly reply,
Sincerely,
Nisheeth
CPPFLAGS=-I/home/nisheeth/jane2/externalTools/include/SRI
FDFLAGS=-L/home/nisheeth/jane2/externalTools/lib scons -j3
and not I am getting a message.
scons: Reading SConscript files ...
Checking whether the C++ compiler worksyes
Checking whether the C++ compiler worksyes
Checking for C++ library oolm_c... no
Error: The SRI LM Toolkit must be installed (under a "SRI" include dir)
Is this the problem with g++ or I am doing something wrong.
Kindly reply,
Sincerely,
Nisheeth
if I interpret your description correctly, your directory
/home/nisheeth/jane2/externalTools/lib now contains two subdirectories,
i686 and i686_c, both of which contain identically named files.
If this is correct, please copy the contents of
/home/nisheeth/jane2/externalTools/lib/i686 to
/home/nisheeth/jane2/externalTools/lib.
Then, rename the files in /home/nisheeth/jane2/externalTools/lib/i686_c
as described in the manual:
cd /home/nisheeth/jane2/externalTools/lib/i686_c
for i in *.a; mv $i ${i/.a/_c.a}; done
and copy them to /home/nisheeth/jane2/externalTools/lib as well.
/home/nisheeth/jane2/externalTools/lib should now contain these files:
libdstruct.a libdstruct_c.a libflm.a libflm_c.a
liblattice.a liblattice_c.a libmisc.a libmisc_c.a
liboolm.a liboolm_c.a
Now Jane should be able to find the SRILM toolkit.
Best regards,
Joern
Am 20.02.12 04:05, schrieb Nisheeth Joshi:
>> On Sat, Feb 18, 2012 at 11:39 PM, J�rn W�bker