In order to use the compiler from WML Tools with Html2Wml, apply the patch wmlc-0.0.4-mad01.patch to the file wmlc/wmlc.c, then recompile wmlc. $ tar zxf wml-tools-0.0.4.tgz $ cd wml-tools/ $ patch wmlc/wmlc.c /path/to/wmlc-0.0.4-mad01.patch $ ./configure [options] $ make $ cp wmlc/wmlc /usr/local/bin Then you should edit Html2Wml and change the default of the option 'nopre' (in the %options hash) to 1.