It seems like "make clean" has permission issues even using sudo
ssh -i ./deploy/file.pem [email protected]<script data-cfhash='f9e31' type="text/javascript">/* */</script> "cd /var/rathena; sudo ./configure --enable-packetver=54 --with-pcre"
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether make sets $(MAKE)... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for ar... /bin/ar
checking whether byte ordering is bigendian... no
checking whether gcc produces 32bit code... no
checking whether gcc supports __thread specifier (TLS)... yes
checking whether gcc supports -ffat-lto-objects... yes
checking whether gcc supports -flto -fuse-linker-plugin... yes
checking whether gcc supports -Wno-unused-parameter... yes
checking whether gcc can actually use -Wno-unused-parameter... yes
checking whether gcc supports -Wno-maybe-uninitialized... yes
checking whether gcc supports -Wno-clobbered... yes
checking whether gcc supports -Wempty-body... yes
checking whether gcc supports -Wnewline-eof... no
checking whether gcc supports -Wint-conversion... no
checking whether gcc supports -Wenum-conversion... no
checking whether gcc supports -Wshorten-64-to-32... no
checking whether gcc supports -Wconstant-conversion... no
checking whether gcc supports -Wbool-conversion... no
checking whether gcc supports -Wno-switch... yes
checking whether gcc supports -Wno-missing-field-initializers... yes
checking whether gcc supports -Wshadow... yes
checking whether gcc can efficiently use -Wshadow... yes
checking whether gcc supports -fPIC... yes
checking how to make shared objects... -shared yes
checking whether gcc needs -Wl,--no-undefined to check for undefined references in shared objects... no
checking whether gcc needs -fPIC for shared objects... yes
checking whether gcc supports -fno-strict-aliasing... yes
checking for setrlimit... yes
checking for strnlen... yes
checking for uselocale... yes
checking for newlocale... yes
checking for freelocale... yes
checking for xlocale.h... yes
checking for library containing inflateEnd... -lz
checking for zlib.h... yes
checking for library containing sqrt... -lm
checking for library containing clock_gettime... none required
checking whether CLOCK_MONOTONIC is supported and works... yes
checking for library containing pthread_create... -lpthread
checking for library containing pthread_sigmask... none required
checking for library containing pthread_attr_init... none required
checking for library containing pthread_attr_setstacksize... none required
checking for library containing pthread_attr_destroy... none required
checking for library containing pthread_cancel... none required
checking for library containing pthread_join... none required
checking for mysql_config... /bin/mysql_config
checking for mysql_init in -lmysqlclient... yes
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking MySQL library (required)... yes (5.5.50)
checking for library containing pcre_study... -lpcre
checking PCRE library (optional)... yes (8.32)
checking host OS... Linux
checking for MinGW... no
configure: Configure finish
configure: CPPFLAGS= -DMAXCONN=16384 -I../common -DHAS_TLS -DHAVE_SETRLIMIT -DHAVE_STRNLEN -DPACKETVER=54 -I/usr/include -DHAVE_MONOTONIC_CLOCK
configure: CFLAGS= -flto -fuse-linker-plugin -g -O2 -pipe -ffast-math -Wall -Wno-unused-parameter -Wno-maybe-uninitialized -Wno-clobbered -Wempty-body -Wno-switch -Wno-missing-field-initializers -Wshadow -fPIC -fno-strict-aliasing
configure: CFLAGS_AR= -flto -fuse-linker-plugin -ffat-lto-objects -flto -fuse-linker-plugin -g -O2 -pipe -ffast-math -Wall -Wno-unused-parameter -Wno-maybe-uninitialized -Wno-clobbered -Wempty-body -Wno-switch -Wno-missing-field-initializers -Wshadow -fPIC -fno-strict-aliasing
configure: LDFLAGS= -L/usr/lib
configure: output name = login-server, char-server, map-server
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/common/Makefile
config.status: creating 3rdparty/mt19937ar/Makefile
config.status: creating 3rdparty/libconfig/Makefile
config.status: creating src/char/Makefile
config.status: creating src/login/Makefile
config.status: creating src/map/Makefile
config.status: creating src/tool/Makefile
ssh -i ./deploy/file.pem [email protected]/* */ "sudo cd /var/rathena; sudo make clean"
ls: cannot access ../common/*.h: No such file or directory
ls: cannot access ../../3rdparty/libconfig/*.h: No such file or directory
ls: cannot access ../common/*.h: No such file or directory
make[1]: Entering directory `/home/centos/src/common'
ls: cannot access ../../3rdparty/libconfig/*.h: No such file or directory
CLEAN common
make[1]: Leaving directory `/home/centos/src/common'
make[1]: Entering directory `/home/centos/3rdparty/mt19937ar'
CLEAN mt19937ar
make[1]: Leaving directory `/home/centos/3rdparty/mt19937ar'
make[1]: Entering directory `/home/centos/3rdparty/libconfig'
CLEAN libconfig
make[1]: Leaving directory `/home/centos/3rdparty/libconfig'
make[1]: Entering directory `/home/centos/src/login'
CLEAN login
make[1]: Leaving directory `/home/centos/src/login'
make[1]: Entering directory `/home/centos/src/char'
CLEAN char
make[1]: Leaving directory `/home/centos/src/char'
make[1]: Entering directory `/home/centos/src/map'
CLEAN map
make[1]: Leaving directory `/home/centos/src/map'
make[1]: Entering directory `/home/centos/src/tool'
CLEAN tool
make[1]: Leaving directory `/home/centos/src/tool'
ls: cannot access *.h: No such file or directory
ls: cannot access *.c: No such file or directory
ls: cannot access *.c: No such file or directory
ls: cannot access *.c: No such file or directory
ls: cannot access *.h: No such file or directory
ls: cannot access ../common/*.h: No such file or directory
ls: cannot access ../../3rdparty/libconfig/*.h: No such file or directory
ls: cannot access *.c: No such file or directory
ls: cannot access ../char/*.h: No such file or directory
ls: cannot access ../../3rdparty/libconfig/*.h: No such file or directory
ls: cannot access *.c: No such file or directory
ls: cannot access ../map/*.h: No such file or directory
ls: cannot access ../config/*.h: No such file or directory
ls: cannot access ../common/*.h: No such file or directory
ls: cannot access ../../3rdparty/libconfig/*.h: No such file or directory
ls: cannot access ../common/*.h: No such file or directory
ls: cannot access ../../3rdparty/libconfig/*.h: No such file or directory
ssh -i ./deploy/file.pem [email protected]/* */ "sudo cd /var/rathena; sudo make server"
make[1]: Entering directory `/home/centos/3rdparty/mt19937ar'
make[1]: Leaving directory `/home/centos/3rdparty/mt19937ar'
make[1]: *** No rule to make target `mt19937ar.o', needed by `all'. Stop.
make: *** [mt19937ar] Error 2
ssh -i ./deploy/file.pem [email protected]/* */ "sudo cd /var/rathena; sudo make server" returned exit code 2
Action failed: ssh -i ./deploy/file.pem [email protected]/* */ "sudo cd /var/rathena; sudo make server"
Question
Freyr
It seems like "make clean" has permission issues even using sudo
Edited by FreyrLink to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.