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