Hi, i have a question, when I install any software it give error message like as follow :
sudo make
[sudo] password for csm:
make all-recursive
make[1]: Entering directory `/home/csm/Desktop/miRanda-3.3a'
Making all in man
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/man'
Making all in RNAlib
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
Making all in H
make[3]: Entering directory `/home/csm/Desktop/miRanda-3.3a/RNAlib/H'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/RNAlib/H'
make[3]: Entering directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
Making all in src
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/src'
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a'
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a'
make[1]: Leaving directory `/home/csm/Desktop/miRanda-3.3a'
csm@csm-HP-Z420:~/Desktop/miRanda-3.3a$ make install
Making install in man
make[1]: Entering directory `/home/csm/Desktop/miRanda-3.3a/man'
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a/man'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/man/man1" || mkdir -p -- "/usr/local/share/man/man1"
/usr/bin/install -c -m 644 './miranda.1' '/usr/local/share/man/man1/miranda.1'
/usr/bin/install: cannot remove �/usr/local/share/man/man1/miranda.1': Permission denied
make[2]: *** [install-man1] Error 1
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/man'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/man'
make: *** [install-recursive] Error 1
csm@csm-HP-Z420:~/Desktop/miRanda-3.3a$
csm@csm-HP-Z420:~/Desktop/miRanda-3.3a$ ./configure --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for main in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for working strtod... yes
checking for memset... yes
checking for sqrt... yes
checking for strchr... yes
checking for strdup... yes
checking for strrchr... yes
checking for strstr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating RNAlib/H/Makefile
config.status: creating RNAlib/Makefile
config.status: creating man/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
csm@csm-HP-Z420:~/Desktop/miRanda-3.3a$ make
make all-recursive
make[1]: Entering directory `/home/csm/Desktop/miRanda-3.3a'
Making all in man
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/man'
Making all in RNAlib
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
Making all in H
make[3]: Entering directory `/home/csm/Desktop/miRanda-3.3a/RNAlib/H'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/RNAlib/H'
make[3]: Entering directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
Making all in src
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/src'
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a'
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a'
make[1]: Leaving directory `/home/csm/Desktop/miRanda-3.3a'
csm@csm-HP-Z420:~/Desktop/miRanda-3.3a$ sudo make install
Making install in man
make[1]: Entering directory `/home/csm/Desktop/miRanda-3.3a/man'
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a/man'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/man/man1" || mkdir -p -- "/usr/share/man/man1"
/usr/bin/install -c -m 644 './miranda.1' '/usr/share/man/man1/miranda.1'
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/man'
make[1]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/man'
Making install in RNAlib
make[1]: Entering directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
Making install in H
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a/RNAlib/H'
make[3]: Entering directory `/home/csm/Desktop/miRanda-3.3a/RNAlib/H'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/RNAlib/H'
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/RNAlib/H'
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
make[3]: Entering directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
make[1]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
Making install in src
make[1]: Entering directory `/home/csm/Desktop/miRanda-3.3a/src'
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a/src'
test -z "/usr/bin" || mkdir -p -- "/usr/bin"
/usr/bin/install -c 'miranda' '/usr/bin/miranda'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/src'
make[1]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/src'
make[1]: Entering directory `/home/csm/Desktop/miRanda-3.3a'
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a'
make[1]: Leaving directory `/home/csm/Desktop/miRanda-3.3a'
csm@csm-HP-Z420:~/Desktop/miRanda-3.3a$
csm@csm-HP-Z420:~/Desktop/miRanda-3.3a$ ls /usr/share/mi[rR]*
ls: cannot access /usr/share/mi[rR]*: No such file or directory
csm@csm-HP-Z420:~/Desktop/miRanda-3.3a$
There are multiple of this kind, i assume causes be the first issue:
conftest.c:55:6: warning: conflicting types for built-in function 'memset'
char memset ();
^
configure:5889: $? = 0
configure:5896: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:5899: $? = 0
configure:5906: test -s conftest
configure:5909: $? = 0
configure:5923: result: yes
configure:5827: checking for sqrt
configure:5883: gcc -o conftest -g -O2 conftest.c -lm >&5
conftest.c:56:6: warning: conflicting types for built-in function 'sqrt'
char sqrt ();
^
configure:5889: $? = 0
configure:5896: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:5899: $? = 0
configure:5906: test -s conftest
configure:5909: $? = 0
configure:5923: result: yes
configure:5827: checking for strchr
configure:5883: gcc -o conftest -g -O2 conftest.c -lm >&5
conftest.c:57:6: warning: conflicting types for built-in function 'strchr'
char strchr ();
^
Are you packaging (as in writing the autotools/makefiles) this or just trying to compile it?
Because to me, experiences - but still novice, it looks like there is an issue with either the code or the makefiles, tending to blame the code.
If you just want to compile this, have you read the README and INSTALL files?
If you did, and followed each and every step, send the logfile to one of the devs.
If you're about to package this, you might have missed to addd the required files to the Makefile in that dir, and/or missed to add it in the makefile of the top-level-dir of the project.
You must tell gcc to look for it elsewhere with an option like this: -I /path/to/more/include/files
OR
The files exists in the current directory
Change <somefile.h> to "somefile.h"
#3 is generally a bad idea for compiling externally created C file sets. Somebody else wrote it, so you do not change it. Except in really dire circumstances.
sir, this reply is quit confusing for me, is there any easy understandable way so that we can resolve this?
---------- Post updated 10-07-15 at 01:55 AM ---------- Previous update was 10-06-15 at 05:21 AM ----------
I run command as follow:
and get leaving directory error. kindly direct which file i should edit . step by step
csm@csm-HP-Z420:~/Desktop/miRanda-3.3a$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for main in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for working strtod... yes
checking for memset... yes
checking for sqrt... yes
checking for strchr... yes
checking for strdup... yes
checking for strrchr... yes
checking for strstr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating RNAlib/H/Makefile
config.status: creating RNAlib/Makefile
config.status: creating man/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
csm@csm-HP-Z420:~/Desktop/miRanda-3.3a$ sudo make
[sudo] password for csm:
make all-recursive
make[1]: Entering directory `/home/csm/Desktop/miRanda-3.3a'
Making all in man
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/man'
Making all in RNAlib
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
Making all in H
make[3]: Entering directory `/home/csm/Desktop/miRanda-3.3a/RNAlib/H'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/RNAlib/H'
make[3]: Entering directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/RNAlib'
Making all in src
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a/src'
make[2]: Entering directory `/home/csm/Desktop/miRanda-3.3a'
make[2]: Leaving directory `/home/csm/Desktop/miRanda-3.3a'
make[1]: Leaving directory `/home/csm/Desktop/miRanda-3.3a'
csm@csm-HP-Z420:~/Desktop/miRanda-3.3a$
indicates that there is an error? In earlier output, you showed us fatal errors like:
conftest.c:12:28: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^
compilation terminated.
which clearly indicates an error that must be fixed before you can successfully make whatever you are trying to make. And you showed us warnings like:
conftest.c:55:6: warning: conflicting types for built-in function 'memset'
char memset ();
^
which indicates a problem that might still produce code you're trying to produce, but should be fixed before you trying running the code it produced.
I don't see any warnings or errors in the output you presented in post #17 in this thread; it looks like make worked through several layers of makefiles and didn't find anything that needed to be built.
i am just not able to install it because i am not able to pick out the problem.
i never ever face this type of proble before while installing any software :(