<div dir="ltr"><span style="font-size:14px">I met error when starting with ./configure (log posted on the bottom),</span><div style="font-size:14px">and it seems that the glib version is too old to use.</div><div style="font-size:14px"><br></div><div style="font-size:14px">I changed back to several old versions of libnice to test the a<span style="color:rgb(84,84,84);line-height:18.200000762939453px">vailability,</span></div><div style="font-size:14px"><font color="#545454"><span style="line-height:18.200000762939453px"><=0.1.3 can build and install successfully,</span></font></div><div style="font-size:14px"><font color="#545454"><span style="line-height:18.200000762939453px">0.1.4 can work on configuration, but fail on 'make':</span></font></div><div style="font-size:14px"><font color="#545454"><span style="line-height:18.200000762939453px"><br></span></font></div><div style="font-size:14px"><font color="#545454"><div><span style="line-height:18.200000762939453px">make[2]: Entering directory `/home/XXX/Downloads/libnice-0.1.4/examples'</span></div><div><span style="line-height:18.200000762939453px">  CC     threaded-example.o</span></div><div><span style="line-height:18.200000762939453px">threaded-example.c: In function ‘main’:</span></div><div><span style="line-height:18.200000762939453px">threaded-example.c:110: warning: implicit declaration of function ‘g_thread_new’</span></div><div><span style="line-height:18.200000762939453px">threaded-example.c:110: warning: nested extern declaration of ‘g_thread_new’</span></div><div><span style="line-height:18.200000762939453px">threaded-example.c:110: warning: assignment makes pointer from integer without a cast</span></div><div><span style="line-height:18.200000762939453px">threaded-example.c: In function ‘print_local_data’:</span></div><div><span style="line-height:18.200000762939453px">threaded-example.c:391: warning: implicit declaration of function ‘g_slist_free_full’</span></div><div><span style="line-height:18.200000762939453px">threaded-example.c:391: warning: nested extern declaration of ‘g_slist_free_full’</span></div><div><span style="line-height:18.200000762939453px">threaded-example.c: At top level:</span></div><div><span style="line-height:18.200000762939453px">threaded-example.c:53: error: storage size of ‘gather_mutex’ isn’t known</span></div><div><span style="line-height:18.200000762939453px">threaded-example.c:53: error: storage size of ‘negotiate_mutex’ isn’t known</span></div><div><span style="line-height:18.200000762939453px">threaded-example.c:54: error: storage size of ‘gather_cond’ isn’t known</span></div><div><span style="line-height:18.200000762939453px">threaded-example.c:54: error: storage size of ‘negotiate_cond’ isn’t known</span></div><div><span style="line-height:18.200000762939453px">make[2]: *** [threaded-example.o] Error 1</span></div><div><span style="line-height:18.200000762939453px">make[2]: Leaving directory `/home/XXX/Downloads/libnice-0.1.4/examples'</span></div><div><span style="line-height:18.200000762939453px">make[1]: *** [all-recursive] Error 1</span></div><div><span style="line-height:18.200000762939453px">make[1]: Leaving directory `/home/XXX/Downloads/libnice-0.1.4'</span></div><div><span style="line-height:18.200000762939453px">make: *** [all] Error 2</span></div><div style="line-height:18.200000762939453px"><br></div><div style="line-height:18.200000762939453px">Although 0.1.3 can work, but for the convenience (new function and examples added),</div><div style="line-height:18.200000762939453px">I still want to use >=0.1.4.</div><div style="line-height:18.200000762939453px"><br></div><div style="line-height:18.200000762939453px">Maybe if I update to CentOS 7 and the problem can be solved , isn't it?</div><div style="line-height:18.200000762939453px">But for some reasons, I can't do that. :(</div><div style="line-height:18.200000762939453px">So, any suggestion to run latest libice on CentOS 6.5??</div><div style="line-height:18.200000762939453px">I ever tried to install the GLIB-2.44.1 (latest version) but failed (maybe not support on CentOS 6.5??)</div><div style="line-height:18.200000762939453px"><br></div><div style="line-height:18.200000762939453px">Thanks. :)</div><div style="line-height:18.200000762939453px"><br></div></font></div><div style="font-size:14px"><div>===========================================</div><div><br></div><div><div>checking build system type... x86_64-unknown-linux-gnu</div><div>checking host system type... x86_64-unknown-linux-gnu</div><div>checking target system type... x86_64-unknown-linux-gnu</div><div>checking for a BSD-compatible install... /usr/bin/install -c</div><div>checking whether build environment is sane... yes</div><div>checking for a thread-safe mkdir -p... /bin/mkdir -p</div><div>checking for gawk... gawk</div><div>checking whether make sets $(MAKE)... yes</div><div>checking whether make supports nested variables... yes</div><div>checking whether make supports nested variables... (cached) yes</div><div>checking for style of include used by make... GNU</div><div>checking for gcc... gcc</div><div>checking whether the C compiler works... yes</div><div>checking for C compiler default output file name... a.out</div><div>checking for suffix of executables... </div><div>checking whether we are cross compiling... no</div><div>checking for suffix of object files... o</div><div>checking whether we are using the GNU C compiler... yes</div><div>checking whether gcc accepts -g... yes</div><div>checking for gcc option to accept ISO C89... none needed</div><div>checking whether gcc understands -c and -o together... yes</div><div>checking dependency style of gcc... gcc3</div><div>checking how to run the C preprocessor... gcc -E</div><div>checking for grep that handles long lines and -e... /bin/grep</div><div>checking for egrep... /bin/grep -E</div><div>checking for ANSI C header files... yes</div><div>checking for sys/types.h... yes</div><div>checking for sys/stat.h... yes</div><div>checking for stdlib.h... yes</div><div>checking for string.h... yes</div><div>checking for memory.h... yes</div><div>checking for strings.h... yes</div><div>checking for inttypes.h... yes</div><div>checking for stdint.h... yes</div><div>checking for unistd.h... yes</div><div>checking minix/config.h usability... no</div><div>checking minix/config.h presence... no</div><div>checking for minix/config.h... no</div><div>checking whether it is safe to define __EXTENSIONS__... yes</div><div>checking for gcc... (cached) gcc</div><div>checking whether we are using the GNU C compiler... (cached) yes</div><div>checking whether gcc accepts -g... (cached) yes</div><div>checking for gcc option to accept ISO C89... (cached) none needed</div><div>checking whether gcc understands -c and -o together... (cached) yes</div><div>checking dependency style of gcc... (cached) gcc3</div><div>checking for ar... ar</div><div>checking the archiver (ar) interface... ar</div><div>checking how to print strings... printf</div><div>checking for a sed that does not truncate output... /bin/sed</div><div>checking for fgrep... /bin/grep -F</div><div>checking for ld used by gcc... /usr/bin/ld</div><div>checking if the linker (/usr/bin/ld) is GNU ld... yes</div><div>checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B</div><div>checking the name lister (/usr/bin/nm -B) interface... BSD nm</div><div>checking whether ln -s works... yes</div><div>checking the maximum length of command line arguments... 1966080</div><div>checking whether the shell understands some XSI constructs... yes</div><div>checking whether the shell understands "+="... yes</div><div>checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop</div><div>checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop</div><div>checking for /usr/bin/ld option to reload object files... -r</div><div>checking for objdump... objdump</div><div>checking how to recognize dependent libraries... pass_all</div><div>checking for dlltool... no</div><div>checking how to associate runtime and link libraries... printf %s\n</div><div>checking for archiver @FILE support... @</div><div>checking for strip... strip</div><div>checking for ranlib... ranlib</div><div>checking command to parse /usr/bin/nm -B output from gcc object... ok</div><div>checking for sysroot... no</div><div>checking for mt... no</div><div>checking if : is a manifest tool... no</div><div>checking for dlfcn.h... yes</div><div>checking for objdir... .libs</div><div>checking if gcc supports -fno-rtti -fno-exceptions... no</div><div>checking for gcc option to produce PIC... -fPIC -DPIC</div><div>checking if gcc PIC flag -fPIC -DPIC works... yes</div><div>checking if gcc static flag -static works... no</div><div>checking if gcc supports -c -o file.o... yes</div><div>checking if gcc supports -c -o file.o... (cached) yes</div><div>checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes</div><div>checking whether -lc should be explicitly linked in... no</div><div>checking dynamic linker characteristics... GNU/Linux ld.so</div><div>checking how to hardcode library paths into programs... immediate</div><div>checking for shl_load... no</div><div>checking for shl_load in -ldld... no</div><div>checking for dlopen... no</div><div>checking for dlopen in -ldl... yes</div><div>checking whether a program can dlopen itself... yes</div><div>checking whether a statically linked program can dlopen itself... yes</div><div>checking whether stripping libraries is possible... yes</div><div>checking if libtool supports shared libraries... yes</div><div>checking whether to build shared libraries... yes</div><div>checking whether to build static libraries... no</div><div>checking operating system... linux/other</div><div>checking for C/C++ restrict keyword... __restrict</div><div>checking for variable-length arrays... yes</div><div>checking whether to enable assertions... yes</div><div>checking for stdbool.h that conforms to C99... yes</div><div>checking for _Bool... yes</div><div>checking arpa/inet.h usability... yes</div><div>checking arpa/inet.h presence... yes</div><div>checking for arpa/inet.h... yes</div><div>checking net/in.h usability... no</div><div>checking net/in.h presence... no</div><div>checking for net/in.h... no</div><div>checking netdb.h usability... yes</div><div>checking netdb.h presence... yes</div><div>checking for netdb.h... yes</div><div>checking ifaddrs.h usability... yes</div><div>checking ifaddrs.h presence... yes</div><div>checking for ifaddrs.h... yes</div><div>checking for size_t... yes</div><div>checking for ssize_t... yes</div><div>checking to see if compiler understands -fno-strict-aliasing... yes</div><div>checking to see if compiler understands -Wall... yes</div><div>checking to see if compiler understands -Wextra... yes</div><div>checking to see if compiler understands -Wundef... yes</div><div>checking to see if compiler understands -Wnested-externs... yes</div><div>checking to see if compiler understands -Wwrite-strings... yes</div><div>checking to see if compiler understands -Wpointer-arith... yes</div><div>checking to see if compiler understands -Wmissing-declarations... yes</div><div>checking to see if compiler understands -Wmissing-prototypes... yes</div><div>checking to see if compiler understands -Wstrict-prototypes... yes</div><div>checking to see if compiler understands -Wredundant-decls... yes</div><div>checking to see if compiler understands -Wno-unused-parameter... yes</div><div>checking to see if compiler understands -Wno-missing-field-initializers... yes</div><div>checking to see if compiler understands -Wdeclaration-after-statement... yes</div><div>checking to see if compiler understands -Wformat=2... yes</div><div>checking to see if compiler understands -Wold-style-definition... yes</div><div>checking to see if compiler understands -Wcast-align... yes</div><div>checking to see if compiler understands -Wformat-nonliteral... yes</div><div>checking to see if compiler understands -Wformat-security... yes</div><div>checking to see if compiler understands -Wsign-compare... yes</div><div>checking to see if compiler understands -Wstrict-aliasing... yes</div><div>checking to see if compiler understands -Wshadow... yes</div><div>checking to see if compiler understands -Winline... yes</div><div>checking to see if compiler understands -Wpacked... yes</div><div>checking to see if compiler understands -Wmissing-format-attribute... yes</div><div>checking to see if compiler understands -Wmissing-noreturn... yes</div><div>checking to see if compiler understands -Winit-self... yes</div><div>checking to see if compiler understands -Wredundant-decls... yes</div><div>checking to see if compiler understands -Wmissing-include-dirs... yes</div><div>checking to see if compiler understands -Wunused-but-set-variable... yes</div><div>checking to see if compiler understands -Warray-bounds... yes</div><div>checking for library containing inet_pton... none required</div><div>checking for library containing socket... none required</div><div>configure: set LIBNICE_CFLAGS to -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_30 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 -fno-strict-aliasing -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wredundant-decls -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds</div><div>checking for clock_gettime in -lrt... yes</div><div>checking for poll... yes</div><div>checking for pkg-config... /usr/bin/pkg-config</div><div>checking pkg-config is at least version 0.9.0... yes</div><div>checking for GLIB... no</div><div>configure: error: Package requirements (glib-2.0 >= 2.30 gio-2.0 >= 2.30 gobject-2.0 >= 2.30 gthread-2.0) were not met:</div><div><br></div><div>Requested 'glib-2.0 >= 2.30' but version of GLib is 2.26.1</div><div>Requested 'gio-2.0 >= 2.30' but version of GIO is 2.26.1</div><div>Requested 'gobject-2.0 >= 2.30' but version of GObject is 2.26.1</div><div><br></div><div>Consider adjusting the PKG_CONFIG_PATH environment variable if you</div><div>installed software in a non-standard prefix.</div><div><br></div><div>Alternatively, you may set the environment variables GLIB_CFLAGS</div><div>and GLIB_LIBS to avoid the need to call pkg-co</div></div></div></div>