Building and Installing HsUnix

The procedure should be easy. After you have made sure you meet the requirements, do the following.

  1. Unpack the HsUnix package somewhere. You get a directory hsunix-version which contains the source tree.

  2. Adapt the installation targets at the top of the Makefile. Normally, the files are installted in the following locations.

    /usr/local/imports/hsunix


    The interface files *.hi

    /usr/local/bin


    hsunix-config

    /usr/local/lib


    The library

    /usr/local/share/doc/hsunix


    The documentation

  3. Type make.

  4. You can now either become root, or make the directories listed in step 2 writable for the user you're using.

    Then type make install.

The hsunix-config script should be in your PATH. You are then ready to use UsUnix.