I'm having trouble getting IRSTLM to compile, due to an apparent problem linking to the ltmain.sh file in the libtool directories. I'm using Cygwin, by the way.
cook@mt-g66 /cygdrive/c/irstlm/trunk
$ ./regenerate-makefiles.sh
Calling /usr/bin/libtoolize
libtoolize: putting auxiliary files in '../..'.
libtoolize: error: linking '/usr/share/libtool/build-aux/ltmain.sh' to '../../' failed
libtoolize failed
Could someone please point me in the right direction as to how to overcome this? I've double-checked that Cygwin installed libtool, but I'm very new to Cygwin, so there may be a step that I've overlooked. I have little experience of compiling applications generally, but have been unable to locate an installer version of IRSTLM.
Thanks
first of all you need to install the dependencies ...thats why you got something like this
ibtoolize: error: linking '/usr/share/libtool/build-aux/ltmain.sh' to '../../' failed libtoolize failed
so follow the steps one by one ...
Get the source from here http://sourceforge.net/projects/irstlm/
Installing some dependencies
sudo apt-get install build-essential sudo apt-get install automake sudo apt-get install libtool sudo apt-get install zlib1g-dev
Extracting files
sudo mkdir -p /usr/local/src/irstlm sudo chown username /usr/local/src/irstlm tar -xvzf irstlm.tgz -C /usr/local/src/irstlm
Compiling
sudo mkdir -p /usr/local/lib/irstlm sudo chown username /usr/local/lib/irstlm ./regenerate-makefiles.sh ./configure --prefix=/usr/local/lib/irstlm --enable-caching make -j 4
Installing
make -j 4 install
good luck ..!