Ubuntu, ELM-327 ODB-II and Scantool

Some notes about using the ELM-327 ODB-II scanner with the Scantool software in Ubuntu.

Install Allgro dev lib and texinfo:
apt-get install liballegro4.2-dev texinfo

Download Dzcomm: http://dzcomm.sourceforge.net/

Unpack
cd dz099i
sudo chmod +x fixunix.sh
./fixunix.sh
./configure
make
make install

Download Scantool source. Unpack and make like this (from http://www.scantool.net/forum/index.php?topic=2672.0;prev_next=next):

make DEFINES="-I ../dz099i/include -DDZCOMM_DJGPP -L../dz099i/lib/unix -lm -lXpm -lXxf86vm -lXcursor -lpthread"

ln -s /dev/ttyUSB0 /dev/ttyS4

./ScanTool.exe

But no success so far...

Detter instructions: http://wiki.eeeuser.com/howto:scantool