Hi l José The main problem is that your shell does not have pushd or popd (neither does mine).
Replace 'pushd' with 'cd $dir' and 'popd' with 'cd ..' and it should work. The 'unexpected operator' message is because == is incorrect - there should only one =. regards Barry On Tuesday 15 July 2008 15:41:53 Miguel José Hernández Vidal wrote: > Hi all, > > I am trying to compile IRST with my Moses system. First, I followed J. > Schroeder's steps (http://homepages.inf.ed.ac.uk/jschroe1/mt-marathon/) > in order to build my system with IRSTLM. > > I couldn't find IRSTLM on the svn repository, so I supposed I had > downloaded a newer version which didn't include IRSTLM. I downloaded > separately version 5.05.01 of the toolkit and I tried to install it. > > when I run ./install there appears the following: > > --------------------------------------------------------------------------- >------------------------------- MACHTYPE is actually undefined > Set environment variable MACHTYPE with "uname -m" > OSTYPE is actually undefined > Set environment variable OSTYPE with "uname -s" > CREATING DIRECTORIES > CREATING ALIASES FOR OTHER MACHINE TYPES > [: 39: ==: unexpected operator > [: 39: ==: unexpected operator > COMPILING CODE > ./install: 45: pushd: not found > make: *** No hay ninguna regla para construir el objetivo `clean'. Alto. > make: *** No hay ninguna regla para construir el objetivo `all'. Alto. > ./install: 47: popd: not found > INSTALLING INCLUDE DIR > INSTALLING SCRIPTS > INSTALLING ARCHITECTURE-INDEPENDENT WRAPPERS > --------------------------------------------------------------------------- >------------------------------- > > I've manually defined MACHTYPE and OSTYPE, but always appear the same > errors. What am I doing wrong? > > Thanks in advance. > > Miguel > > _______________________________________________ > 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
