Hi again,
an alternative might be to use the precompiled binaries available for
download at
http://projectile.sv.cmu.edu/research/public/tools/salm/salm.htm ?

Anyhow, I'm stuck at the next steps:

# enter the directory contrib/sigtest-filter in the main Moses
distribution directory
# type make SALMDIR=/path/to/SALM 

I cannot find any contrib directory.

Yours,
Per Tunedal

On Thu, Apr 4, 2013, at 14:48, Rico Sennrich wrote:
> Per Tunedal <per.tunedal@...> writes:
> 
> > Unfortunately, my efforts to build SALM have failed. I tried building
> > according to the instructions in the SALM readme file:
> > make allO64
> > 
> > and got the following error:
> > 
> > g++  -c -O -m64 -I../../Src/Shared -I../../Src/SuffixArrayApplications
> > -I../../Src/SuffixArrayApplications/SuffixArraySearch
> > -I../../Src/SuffixArrayApplications/SuffixArrayScan  -I../../Src/Utils
> > -I../../Src/SuffixArrayApplications/SuffixArrayLanguageModel -o
> > Objs/Index/IndexSA.o64 ../../Src/IndexSA/IndexSA.cpp
> > ../../Src/IndexSA/IndexSA.cpp: In function ‘int main(int, char**)’:
> > ../../Src/IndexSA/IndexSA.cpp:46: error: ‘strcmp’ was not declared in
> > this scope
> > make: *** [Objs/Index/IndexSA.o64] Fel 1
> > 
> > Legend:  'Fel 1' = 'Error 1' (I get some error messages in Swedish.)
> 
> Try Jonathan Clark's repository, which fixes the compilation issues:
> https://github.com/jhclark/salm
> 
> (it still stops with an error message for me [no rule to make target
> `../../Bin/Linux/Search/SampleNGramIns.O64'], but the necessary binary is
> successfully compiled (salm/Bin/Linux/Index/IndexSA.*)
> 
> _______________________________________________
> 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

Reply via email to