Rate This Document
Findability
Accuracy
Completeness
Readability

Error Reported When the make install Progress Reaches 100%

Symptom

When the make install progress reaches 100%, an error message similar to the following is displayed: "make[2]: *** No rule to make target `/path/to/COPASI/copasi-dependencies-master/bin/lib/libexpat.a', needed by `copasi/CopasiSE/CopasiSE'. Stop."

Key Process and Cause Analysis

  • The libexpat.a file does not exist in the corresponding directory.
  • When the script is used to install the dependency, the file is generated in the lib64 directory at the same level.

Conclusion and Solution

  1. Run the following command to switch to the copasi-dependencies-4.26.213 directory:

    cd /path/to/COPASI/copasi-dependencies-4.26.213

  2. Run the following command to copy the files in the lib64 directory to the lib directory:

    cp -r ./bin/lib64* ./bin/lib