Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install, Centos8 #31

Closed
z0z0r4 opened this issue Mar 13, 2022 · 5 comments
Closed

Can't install, Centos8 #31

z0z0r4 opened this issue Mar 13, 2022 · 5 comments

Comments

@z0z0r4
Copy link

z0z0r4 commented Mar 13, 2022

[root@localhost ~]# cd trickle-master/
[root@localhost trickle-master]# make
make  all-am
make[1]: 进入目录“/root/trickle-master”
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o xdr.o xdr.c
xdr.c:10:10: 致命错误:rpc/rpc.h:No such file or directory
 #include <rpc/rpc.h>
          ^~~~~~~~~~~
编译中断。
make[1]: *** [Makefile:525:xdr.o] 错误 1
make[1]: 离开目录“/root/trickle-master”
make: *** [Makefile:403:all] 错误 2
[root@localhost trickle-master]# cd ..
[root@localhost ~]# rm -rf trickle-master
[root@localhost ~]# git clone https://ghproxy.com/github.com/mariusae/trickle.git
正克隆到 'trickle'...
remote: Enumerating objects: 127, done.
remote: Total 127 (delta 0), reused 0 (delta 0), pack-reused 127
接收对象中: 100% (127/127), 533.99 KiB | 382.00 KiB/s, 完成.
处理 delta 中: 100% (36/36), 完成.
[root@localhost ~]# cd trickle/
[root@localhost trickle]# autoreconf -if
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT'
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader: 
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader: WARNING: `acconfig.h':
autoheader: 
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: 		[Define if a function `main' is needed.])
autoheader: 
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:13: installing './compile'
configure.in:5: installing './config.guess'
configure.in:5: installing './config.sub'
configure.in:8: installing './install-sh'
configure.in:8: installing './missing'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
[root@localhost trickle]# ./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
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 whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... (cached) ranlib
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for dlopen in -ldl... yes
checking for err in -lc... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking if compiler needs -Werror to reject unknown flags... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking if libc defines __progname... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking asm/poll.h usability... yes
checking asm/poll.h presence... yes
checking for asm/poll.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for u_int64_t... yes
checking for u_int32_t... yes
checking for u_int16_t... yes
checking for u_int8_t... yes
checking for in_addr_t... yes
checking whether gcc needs -traditional... no
checking return type of signal handlers... void
checking for socket... yes
checking for strlcat... no
checking for strlcpy... no
checking for daemon... yes
checking for setenv... yes
checking for strsep... yes
checking for sendfile... yes
checking for libevent... yes
checking if underscores are needed for symbols... no
checking if we can access libc without dlopen... yes
checking for sendfile... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
[root@localhost trickle]# make
make  all-am
make[1]: 进入目录“/root/trickle”
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o trickle.o trickle.c
trickle.c: 在函数‘main’中:
trickle.c:47:7: 警告:变量‘latency’被设定但未被使用 [-Wunused-but-set-variable]
      *latency = "0";
       ^~~~~~~
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o util.o util.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o getopt.o getopt.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o strlcat.o strlcat.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o strlcpy.o strlcpy.c
/bin/sh ./libtool  --tag=CC   --mode=link gcc -Wall -Icompat  -g -O2   -o trickle trickle.o util.o getopt.o strlcat.o strlcpy.o -ldl
libtool: link: gcc -Wall -Icompat -g -O2 -o trickle trickle.o util.o getopt.o strlcat.o strlcpy.o  -ldl
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o trickled.o trickled.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o atomicio.o atomicio.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o print.o print.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o bwstat.o bwstat.c
bwstat.c: 在函数‘bwstat_getdelay’中:
bwstat.c:153:7: 警告:变量‘initent’被设定但未被使用 [-Wunused-but-set-variable]
  uint initent;
       ^~~~~~~
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o client.o client.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o conf.o conf.c
conf.c: 在函数‘conf_decode_base64’中:
conf.c:548:17: 警告:传递‘strcmp’的第 1 个参数给指针时,目标与指针符号不一致 [-Wpointer-sign]
    if (!strcmp (buf, "=="))
                 ^~~
In file included from conf.c:55:
/usr/include/string.h:137:12: 附注:需要类型‘const char *’,但实参的类型为‘u_char *’ {或称 ‘unsigned char *’}
 extern int strcmp (const char *__s1, const char *__s2)
            ^~~~~~
conf.c:564:17: 警告:传递‘strcmp’的第 1 个参数给指针时,目标与指针符号不一致 [-Wpointer-sign]
     if (strcmp (buf, "="))
                 ^~~
In file included from conf.c:55:
/usr/include/string.h:137:12: 附注:需要类型‘const char *’,但实参的类型为‘u_char *’ {或称 ‘unsigned char *’}
 extern int strcmp (const char *__s1, const char *__s2)
            ^~~~~~
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o cleanup.o cleanup.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o xdr.o xdr.c
xdr.c:10:10: 致命错误:rpc/rpc.h:No such file or directory
 #include <rpc/rpc.h>
          ^~~~~~~~~~~
编译中断。
make[1]: *** [Makefile:525:xdr.o] 错误 1
make[1]: 离开目录“/root/trickle”
make: *** [Makefile:403:all] 错误 2
[root@localhost trickle]# su
bash-4.4# make install
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat  -g -O2 -c -o xdr.o xdr.c
xdr.c:10:10: 致命错误:rpc/rpc.h:No such file or directory
 #include <rpc/rpc.h>
          ^~~~~~~~~~~
编译中断。
make: *** [Makefile:525:xdr.o] 错误 1
bash-4.4# 
@ghost
Copy link

ghost commented Mar 13, 2022

Try this patch 4171f17 (#28).

@z0z0r4
Copy link
Author

z0z0r4 commented Mar 14, 2022

Try this patch 4171f17 (#28).

hmmmm

[root@localhost trickle]# make clean
 rm -f trickle trickled tricklectl
test -z "*.so" || rm -f *.so
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
[root@localhost trickle]# make
make  all-am
make[1]: 进入目录“/root/trickle”
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat -I/usr/include/tirpc -ltirpc  -g -O2 -c -o trickle.o trickle.c
trickle.c: 在函数‘main’中:
trickle.c:47:7: 警告:变量‘latency’被设定但未被使用 [-Wunused-but-set-variable]
      *latency = "0";
       ^~~~~~~
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat -I/usr/include/tirpc -ltirpc  -g -O2 -c -o util.o util.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat -I/usr/include/tirpc -ltirpc  -g -O2 -c -o getopt.o getopt.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat -I/usr/include/tirpc -ltirpc  -g -O2 -c -o strlcat.o strlcat.c
gcc -DHAVE_CONFIG_H -I.    -Wall -Icompat -I/usr/include/tirpc -ltirpc  -g -O2 -c -o strlcpy.o strlcpy.c
/bin/sh ./libtool  --tag=CC   --mode=link gcc -Wall -Icompat -I/usr/include/tirpc -ltirpc  -g -O2   -o trickle trickle.o util.o getopt.o strlcat.o strlcpy.o -ldl
libtool: link: gcc -Wall -Icompat -I/usr/include/tirpc -g -O2 -o trickle trickle.o util.o getopt.o strlcat.o strlcpy.o  -ltirpc -ldl
/usr/bin/ld: cannot find -ltirpc
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:508:trickle] 错误 1
make[1]: 离开目录“/root/trickle”
make: *** [Makefile:403:all] 错误 2
[root@localhost trickle]# vim Makefile.am

include $(top_srcdir)/Makefile.am.inc
  
TRICKLEOVERLOADFILES = @LTLIBOBJS@ trickle-overload.lo bwstat.lo trickledu.lo \
                       atomicio.lo xdr.lo
trickle-overload.so: $(TRICKLEOVERLOADFILES)
        $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o [email protected]                \
                -rpath $(libdir)/trickle $(TRICKLEOVERLOADFILES) $(LIBS)     \
                $(LDFLAGS) -module -avoid-version -nostdlib @LIBDL@
        @rm -f [email protected] [email protected]* $@
        @cp .libs/[email protected] $@
        @rm -f .libs/libtmp$@.*

trickleoverloaddir = $(libdir)/trickle
trickleoverload_DATA = trickle-overload.so

man_MANS = trickle.1 trickled.8 trickled.conf.5

bin_PROGRAMS = trickle trickled tricklectl

trickle_DEPENDENCIES = @ERRO@ $(LIBOBJS)
trickle_SOURCES = trickle.c util.c getopt.c
trickle_LDADD = @ERRO@ $(LIBOBJS)

trickled_SOURCES = trickled.c atomicio.c print.c bwstat.c client.c conf.c \
                   util.c cleanup.c getopt.c xdr.c
trickled_LDADD = @EVENTLIB@ $(LIBOBJS)

tricklectl_SOURCES = tricklectl.c trickledu.c atomicio.c xdr.c
tricklectl_LDADD = @ERRO@ $(LIBOBJS)

AM_CFLAGS = -Wall -Icompat -I/usr/include/tirpc -ltirpc @EVENTINC@

overloaddir = $(libdir)
overload_DATA = libtrickle.so

libtrickle.so: trickle-overload.c atomicio.c
$(overload_DATA):

CLEANFILES = *.so

EXTRA_DIST = LICENSE README strlcat.c strlcpy.c err.c Makefile.am.inc   \
             compat/sys/queue.h compat/sys/tree.h trickle.1 trickled.8  \
             trickled.conf.5 trickle-overload.c trickledu.c cleanup.h   \

What should I do? thanks~ @interruptinuse

@ghost
Copy link

ghost commented Mar 14, 2022

Did you install libevent, libtirpc and libtirpc-devel, then rerun ./configure? (configure.in really needs CHECK_LIB calls for all of those, error messages right now are not informative)

@z0z0r4
Copy link
Author

z0z0r4 commented Mar 15, 2022

libevent libtirpc libtirpc-devel, these?
let me try

@z0z0r4
Copy link
Author

z0z0r4 commented Mar 15, 2022

I have installed them ,but another error?...

[root@localhost trickle]# yum install libevent libtirpc libtirpc-devel
上次元数据过期检查:1:37:37 前,执行于 2022年03月15日 星期二 10时41分56秒。
软件包 libevent-2.1.8-5.el8.x86_64 已安装。
软件包 libtirpc-1.1.4-5.el8.x86_64 已安装。
软件包 libtirpc-devel-1.1.4-5.el8.x86_64 已安装。
依赖关系解决。
无需任何处理。
完毕!
[root@localhost trickle]# autoreconf -if
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT'
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader: 
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader: WARNING: `acconfig.h':
autoheader: 
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: 		[Define if a function `main' is needed.])
autoheader: 
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:13: installing './compile'
configure.in:8: installing './missing'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
[root@localhost trickle]# make
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --no-create --no-recursion
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
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 whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... (cached) ranlib
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for dlopen in -ldl... yes
checking for err in -lc... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking if compiler needs -Werror to reject unknown flags... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking if libc defines __progname... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking asm/poll.h usability... yes
checking asm/poll.h presence... yes
checking for asm/poll.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for u_int64_t... yes
checking for u_int32_t... yes
checking for u_int16_t... yes
checking for u_int8_t... yes
checking for in_addr_t... yes
checking whether gcc needs -traditional... no
checking return type of signal handlers... void
checking for socket... yes
checking for strlcat... no
checking for strlcpy... no
checking for daemon... yes
checking for setenv... yes
checking for strsep... yes
checking for sendfile... yes
checking for libevent... yes
checking if underscores are needed for symbols... no
checking if we can access libc without dlopen... yes
checking for sendfile... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
 /bin/sh ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
make  all-am
make[1]: 进入目录“/root/trickle”
make[1]: 离开目录“/root/trickle”
[root@localhost trickle]# make install
make[1]: 进入目录“/root/trickle”
 /usr/bin/mkdir -p '/usr/local/bin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c trickle trickled tricklectl '/usr/local/bin'
libtool: install: /usr/bin/install -c trickle /usr/local/bin/trickle
libtool: install: /usr/bin/install -c trickled /usr/local/bin/trickled
libtool: install: /usr/bin/install -c tricklectl /usr/local/bin/tricklectl
 /usr/bin/mkdir -p '/usr/local/share/man/man1'
 /usr/bin/install -c -m 644 trickle.1 '/usr/local/share/man/man1'
 /usr/bin/mkdir -p '/usr/local/share/man/man5'
 /usr/bin/install -c -m 644 trickled.conf.5 '/usr/local/share/man/man5'
 /usr/bin/mkdir -p '/usr/local/share/man/man8'
 /usr/bin/install -c -m 644 trickled.8 '/usr/local/share/man/man8'
 /usr/bin/mkdir -p '/usr/local/lib'
 /usr/bin/install -c -m 644 ./libtrickle.so '/usr/local/lib'
/usr/bin/install: 无法获取'./libtrickle.so' 的文件状态(stat): No such file or directory
make[1]: *** [Makefile:672:install-overloadDATA] 错误 1
make[1]: 离开目录“/root/trickle”
make: *** [Makefile:951:install-am] 错误 2

Can't find ./libtrickle.so , No such file or directory
Should I clone again?

@z0z0r4 z0z0r4 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 23, 2023
Marcos-Pacheco added a commit to Marcos-Pacheco/trickle that referenced this issue Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant