During installation
john@john-PC:/bin/musashi-core-1.0.4$ ./configureI've got the error message
./configure: line 19741: .: mssEnc.sh: file not foundThe corresponding line in configure is
. mssEnc.shwhile mssEnc.sh is in the corresponding folder
john@john-PC:/bin/musashi-core-1.0.4$ dir
aclocal.m4 config.h.in COPYING INSTALL ltmain.sh mssEnc.sh
AUTHORS config.log depcomp install-sh Makefile.am NEWS
ChangeLog config.sub dm lib Makefile.in README
cmd configure exp libtool missing setdocenc.sh
config.guess configure.in help ltconfig mkinstalldirs upddocenc.shWhat's wrong with my installation?
ADDED
Thanks to @L. D. James's instructions I could configure the package but then I failed to compile it.
john@john-PC:~/Musashi/musashi-core-1.0.4$ makewhich yields
fatal error: zlib.h: No such file or directory
compilation terminated.What's wrong here?
112 Answers
This is What is Wrong with your Installation.
The program isn't installed. You are at the configure point of the compiling. The package will have to be configured before it can be compiled and installed.
You will have to create a folder in your personal space to run the ./configure part of the process.
Do Not copy any files to the
/binfolder. That is't a part of the install process.Do Not Run any part of the process as
sudountil the package is fully configured and compiled.
You would have to first complete the ./configure process successful. Then run the compile part of the process with make. If this succeeds without fatal errors you can then and only then install the program.
The command to install is:
$ sudo make installSome packages may have special instructions for the compiling and installation. For that you would have to refer to the README contents of the package.
You should not run any of the steps using sudo until the programs is fully compiled.
The best thing you can do is remove what you have copied to the /bin folder (the musashi-core-1.0.4$). Then start the compiling fresh with a fresh copy of the source. Then follow the steps provided in the README text file which in most cases are these steps:
$ ./configure
$ make
$ sudo make install 5 A possible solution is that mssEnc.sh has encoding problem.
Converted the script's encoding by dos2unix.
sudo apt-get install dos2unix -y
dos2unix mssEnc.sh 4