3.1 Installation fails

Problem

The standard method of installing HARK is adding the HARK repository using the HARK installation instructions, and running

    sudo apt-get install harkfd

This recipe should be used if the above procedure does not work.

Solution

To install HARK to an unsupported OS, it must be compiled from its source. See the section on Installation from Source Compilation in HARK installation instructions, then download the source, compile, and install.

If installation fails, the remaining HARK files such as its library, will remain in the old version. Uninstall all HARK-related software, then reinstall.

If compiling from the source, execute the following command to delete it.

    make uninstall # remove copied files
    make clean
    # remove compiled files
    make distclean # remove Makefile

To check if the old HARK has been properly deleted, execute flowdesigner in a command line. If successfully deleted, the error, “The command is not found”, will be displayed. Execute ls /usr/local/lib/flowdesigner and confirm that the directory has been deleted. If it is still there, delete it. If another directory as been designated for past compilations, delete it if necessary.

Discussion

Major problems with installation may be caused by

  1. Software mismatches (Dependency problem)

  2. Differences in installation path.

This recipe introduces a method to confirm installation from the beginning. However, it is important to read the error message well before everything else. It is no exaggeration to say that half of all problems can be solved if the user understands the error messages.

See Also

When the installation has been completed successfully, read Learning HARK