TO BUILD AND INSTALL THE LIBRARY ================================ ghc-pkg unregister WURFL-0.x if you already installed an older version. ghc-pkg list to check which version is already installed. runghc Setup.hs configure runghc Setup.hs build runghc Setup.hs haddock to generate again the HTML pages (optional - only if you have haddock installed) runghc Setup.hs install (you may have to use sudo) runghc Setup.hs clean (warning : will clean the HTML pages) TO PARSE THE wurlf.xml FILE ============================ cd Test make clean make it will overwrite the file WurflVar.h and you will have to rebuild the WURLF module to take into account the new version of the wurlf xml file. The conversion tool is using HXT (was tested with version 7.1). So you need to install HXT first if you don't have it already.