Installation: file not found but it exists

During installation

john@john-PC:/bin/musashi-core-1.0.4$ ./configure

I've got the error message

./configure: line 19741: .: mssEnc.sh: file not found

The corresponding line in configure is

. mssEnc.sh

while 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.sh

What'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$ make

which yields

fatal error: zlib.h: No such file or directory
compilation terminated.

What's wrong here?

11

2 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 /bin folder. That is't a part of the install process.

  • Do Not Run any part of the process as sudo until 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 install

Some 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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like