If you are facing make running error on Linux/Centos please follow below step.
ERROR:
[root@locahost sarg-2.3.1]# make
make: Nothing to be done for `all'.
Solution :
[root@locahost sarg-2.3.1]# make clean
make -C po clean
make[1]: Entering directory `/opt/sarg-2.3.1/po'
rm -f *.insert-header
rm -f remove-potcdate.sed
rm -f stamp-poT
rm -f core core.* sarg.po sarg.1po sarg.2po *.new.po
rm -fr *.o
make[1]: Leaving directory `/opt/sarg-2.3.1/po'
rm -f sarg *.o core
[root@locahost sarg-2.3.1]# make distclean
make -C po clean
make[1]: Entering directory `/opt/sarg-2.3.1/po'
rm -f *.insert-header
rm -f remove-potcdate.sed
rm -f stamp-poT
rm -f core core.* sarg.po sarg.1po sarg.2po *.new.po
rm -fr *.o
make[1]: Leaving directory `/opt/sarg-2.3.1/po'
rm -f sarg *.o core
rm -f Makefile config.status config.cache config.log
After completed this task please run make command:
[root@locahost sarg-2.3.1]# make
ERROR:
[root@locahost sarg-2.3.1]# make
make: Nothing to be done for `all'.
Solution :
[root@locahost sarg-2.3.1]# make clean
make -C po clean
make[1]: Entering directory `/opt/sarg-2.3.1/po'
rm -f *.insert-header
rm -f remove-potcdate.sed
rm -f stamp-poT
rm -f core core.* sarg.po sarg.1po sarg.2po *.new.po
rm -fr *.o
make[1]: Leaving directory `/opt/sarg-2.3.1/po'
rm -f sarg *.o core
[root@locahost sarg-2.3.1]# make distclean
make -C po clean
make[1]: Entering directory `/opt/sarg-2.3.1/po'
rm -f *.insert-header
rm -f remove-potcdate.sed
rm -f stamp-poT
rm -f core core.* sarg.po sarg.1po sarg.2po *.new.po
rm -fr *.o
make[1]: Leaving directory `/opt/sarg-2.3.1/po'
rm -f sarg *.o core
rm -f Makefile config.status config.cache config.log
After completed this task please run make command:
[root@locahost sarg-2.3.1]# make
补充说明:
If you are getting this error (make: Nothing to be done for `all'.) when you 'make' it simply means that you are trying to 'make' the same application a second time.
You can resolve this by cleaning the previous make and then running make again.
make clean
When you do the m'make clean', it cleans up the previous make and now you can do the make again.
make