by analogy: to find a parked car you need to be looking on the correct 
level of the parking garage. a terminal window is just the main entrance 
to the parking garage.

to run bjam you need to be in the 'mosesdecoder' directory. the 
mosesdecoder directory only exists if you've downloaded the Moses code. 
sounds like you may not have done that?

from a brand-new terminal window:

pwd               <-- tells you the name of your current directory
git clone https://github.com/moses-smt/mosesdecoder.git.     <-- 
downloads the code
cd mosesdecoder   <-- enters the directory of the code you just 
downloaded
pwd               <-- tells you the name of your current directory
ls bjam           <-- should show you something like: 
/Users/you/mosesdecoder/bjam, which means you're in the correct place 
and the file exists

*now* you can run bjam etc etc etc

cheers,
~amittai

On 2019-03-09 11:56, Qiwei Shao wrote:
> Hello,
> 
> I ran into some problem when installing Moses on my Macbook. I’m
> using MacOS Mojave. I have already installed Mac Ports and used
> “sudo port install boost” to install boost. Later I tried to
> install Moses by writing “./bjam -j4” in terminal, but terminal
> says “./bjam -4: no such file or directory”. Has anyone run into
> the same issue before or installed Moses on Mac Ports? I would
> appreciate if someone can help me figure out what the problem is.
> 
> Happy weekend everyone!
> 
> Regards,
> 
> Qiwei
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to