Доброй ночи (или утро) уважаемые. Столкнулся с такой проблемой в работе prosody:
в error-лог сыпятся ошибки, подключится к серверу соответсвенно невозможно.
Mar 26 04:01:38 certmanager>error> SSL/TLS: Error initialising for example.com: OpenSSL does not support ECDH
2 Mar 26 04:01:38 example.com:tls> error> Unable to initialize TLS: OpenSSL does not support ECDH
Операционаая система: Gentoo, версия prosody 0.9.10. Конфиг Prosody
Заранее очень благодарен.
Добрый вечер уважаемые. Все началось с того что решил на домашнем десктопе поменять арч на генту, все хорошо но хоть убей не могу собрать mcabber ни одну версию. Привожу лог компиляции с ошибкой и emerge --info. Извиняюсь за много букв.
desktop tmp # cat /var/calculate/tmp/portage/net-im/mcabber-0.10.2_p20131025/temp/build.log
* Package: net-im/mcabber-0.10.2_p20131025
* Repository: gentoo
* Maintainer: wschlich@gentoo.org
* USE: abi_x86_32 elibc_glibc kernel_linux linguas_cs linguas_de linguas_fr linguas_it linguas_nl linguas_pl linguas_ru linguas_uk modules spell ssl userland_GNU x86
* FEATURES: preserve-libs sandbox usersandbox
>>> Unpacking source...
>>> Unpacking mcabber-0.10.2_p20131025.tar.gz to /var/calculate/tmp/portage/net-im/mcabber-0.10.2_p20131025/work
>>> Source unpacked in /var/calculate/tmp/portage/net-im/mcabber-0.10.2_p20131025/work
>>> Preparing source in /var/calculate/tmp/portage/net-im/mcabber-0.10.2_p20131025/work/mcabber-a18e1b488f1c/mcabber ...
* Running eautoreconf in '/var/calculate/tmp/portage/net-im/mcabber-0.10.2_p20131025/work/mcabber-a18e1b488f1c/mcabber' ...
* Running libtoolize --install --copy --force --automake ...
[ ok ]
* Running aclocal -I macros ...
[ ok ]
* Running autoconf --force ...
[ ok ]
* Running autoheader ...
[ ok ]
* Running automake --add-missing --copy --force-missing ...
[ ok ]
* Running elibtoolize in: mcabber-a18e1b488f1c/mcabber/
* Applying portage/1.2.0 patch ...
* Applying sed/1.5.6 patch ...
* Applying as-needed/2.4.3 patch ...
>>> Source prepared.
>>> Configuring source in /var/calculate/tmp/portage/net-im/mcabber-0.10.2_p20131025/work/mcabber-a18e1b488f1c/mcabber ...
* econf: updating mcabber-a18e1b488f1c/mcabber/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating mcabber-a18e1b488f1c/mcabber/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib --disable-gpgme --disable-otr --disable-aspell --enable-enchant --enable-modules --without-libidn
checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-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 i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether i686-pc-linux-gnu-gcc understands -c and -o together... yes
checking dependency style of i686-pc-linux-gnu-gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/i686-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/i686-pc-linux-gnu-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for i686-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... i686-pc-linux-gnu-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 i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) 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 for i686-pc-linux-gnu-ranlib... (cached) i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking whether i686-pc-linux-gnu-gcc understands -c and -o together... (cached) yes
checking dependency style of i686-pc-linux-gnu-gcc... (cached) none
checking gcc version... 4.9.3
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for i686-pc-linux-gnu-pkg-config... /usr/bin/i686-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ANSI C header files... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking localcharset.h usability... no
checking localcharset.h presence... no
checking for localcharset.h... no
checking for unistd.h... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for timezone external... yes
checking for altzone external... no
checking for daylight external... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for error_at_line... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for alarm... yes
checking for arc4random... no
checking for bzero... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for inet_ntoa... yes
checking for isascii... yes
checking for memmove... yes
checking for memset... yes
checking for modf... yes
checking for select... yes
checking for setlocale... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strcasestr... yes
checking for vsnprintf... yes
checking for iswblank... yes
checking whether strptime is declared... yes
checking for tm_gmtoff in struct tm... yes
checking for locale_charset in -lcharset... no
checking for initscr... no
checking for waddnwstr in -lncursesw... yes
checking for initscr in -lncursesw... yes
checking ncursesw/ncurses.h usability... yes
checking ncursesw/ncurses.h presence... yes
checking for ncursesw/ncurses.h... yes
checking ncursesw/panel.h usability... yes
checking ncursesw/panel.h presence... yes
checking for ncursesw/panel.h... yes
checking for new_panel in -lpanelw... yes
checking for ESCDELAY variable... yes
checking for i686-pc-linux-gnu-pkg-config... (cached) /usr/bin/i686-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.14.0... yes (version 2.44.1)
checking for LOUDMOUTH... yes
checking for lm_ssl_set_cipher_list in -lloudmouth-1... no
checking for ENCHANT... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating mcabber/Makefile
config.status: creating modules/Makefile
config.status: creating modules/beep/Makefile
config.status: creating modules/xttitle/Makefile
config.status: creating modules/fifo/Makefile
config.status: creating modules/urlregex/Makefile
config.status: creating doc/Makefile
config.status: creating doc/guide/Makefile
config.status: creating doc/help/Makefile
config.status: creating mcabber.pc
config.status: creating Makefile
config.status: creating mcabber/config.h
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
>>> Source configured.
>>> Compiling source in /var/calculate/tmp/portage/net-im/mcabber-0.10.2_p20131025/work/mcabber-a18e1b488f1c/mcabber ...
make -j3
Making all in mcabber
make[1]: Entering directory '/var/calculate/tmp/portage/net-im/mcabber-0.10.2_p20131025/work/mcabber-a18e1b488f1c/mcabber/mcabber'
../hgcset.sh "../mcabber" "../mcabber"
make all-am
make[2]: Entering directory '/var/calculate/tmp/portage/net-im/mcabber-0.10.2_p20131025/work/mcabber-a18e1b488f1c/mcabber/mcabber'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o main.o main.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o roster.o roster.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o events.o events.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o commands.o commands.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o compl.o compl.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o hbuf.o hbuf.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o screen.o screen.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o settings.o settings.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o hooks.o hooks.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o utf8.o utf8.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o histolog.o histolog.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o utils.o utils.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o pgp.o pgp.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o xmpp.o xmpp.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o xmpp_helper.o xmpp_helper.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o xmpp_iq.o xmpp_iq.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o xmpp_iqrequest.o xmpp_iqrequest.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o xmpp_muc.o xmpp_muc.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o xmpp_s10n.o xmpp_s10n.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o caps.o caps.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o help.o help.c
caps.c: In function ‘caps_copy_to_persistent’:
caps.c:549:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write (fd, data, length);
^
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -c -o modules.o modules.c
../hgcset.sh "../mcabber" "../mcabber"
/bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -Wl,--as-needed -o mcabber main.o roster.o events.o commands.o compl.o hbuf.o screen.o settings.o hooks.o utf8.o histolog.o utils.o pgp.o xmpp.o xmpp_helper.o xmpp_iq.o xmpp_iqrequest.o xmpp_muc.o xmpp_s10n.o caps.o help.o modules.o -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lloudmouth-1 -lidn -lglib-2.0 -lenchant -lgmodule-2.0 -pthread -lglib-2.0 -lpanelw -lncursesw
libtool: link: i686-pc-linux-gnu-gcc -O2 -O2 -march=i686 -pipe -Wall -D_GNU_SOURCE -o mcabber main.o roster.o events.o commands.o compl.o hbuf.o screen.o settings.o hooks.o utf8.o histolog.o utils.o pgp.o xmpp.o xmpp_helper.o xmpp_iq.o xmpp_iqrequest.o xmpp_muc.o xmpp_s10n.o caps.o help.o modules.o -Wl,--export-dynamic -pthread -pthread -Wl,--as-needed -lloudmouth-1 -lidn -lenchant -lgmodule-2.0 -lglib-2.0 -lpanelw -lncursesw -pthread
/usr/lib/gcc/i686-pc-linux-gnu/4.9.3/../../../../i686-pc-linux-gnu/bin/ld: screen.o: undefined reference to symbol 'nodelay'
/lib/libtinfow.so.5: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:520: recipe for target 'mcabber' failed
make[2]: *** [mcabber] Error 1
make[2]: Leaving directory '/var/calculate/tmp/portage/net-im/mcabber-0.10.2_p20131025/work/mcabber-a18e1b488f1c/mcabber/mcabber'
Makefile:421: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/var/calculate/tmp/portage/net-im/mcabber-0.10.2_p20131025/work/mcabber-a18e1b488f1c/mcabber/mcabber'
Makefile:478: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
* ERROR: net-im/mcabber-0.10.2_p20131025::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=net-im/mcabber-0.10.2_p20131025::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-im/mcabber-0.10.2_p20131025::gentoo'`.
* The complete build log is located at '/var/calculate/tmp/portage/net-im/mcabber-0.10.2_p20131025/temp/build.log'.
* The ebuild environment file is located at '/var/calculate/tmp/portage/net-im/mcabber-0.10.2_p20131025/temp/environment'.
* Working directory: '/var/calculate/tmp/portage/net-im/mcabber-0.10.2_p20131025/work/mcabber-a18e1b488f1c/mcabber'
* S: '/var/calculate/tmp/portage/net-im/mcabber-0.10.2_p20131025/work/mcabber-a18e1b488f1c/mcabber'
Здравствуйте. Проблема такая: при опросе своего NS сервера
; <<>> DiG 9.9.5 <<>> @ns1.example.com example.com ANY
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached
Спрашиваю у гугла
; <<>> DiG 9.9.5 <<>> @8.8.8.8 example.com ANY
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50739
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;example.com. IN ANY
;; ANSWER SECTION:
example.com. 3599 IN SOA ns1.example.com. admin.example.com. 2016021301 3600 900 3600000 3600
example.com. 3599 IN NS ns.secondary.net.ua.
example.com. 3599 IN NS ns1.example.com.
example.com. 3599 IN NS ns2.example.com.
example.com. 3599 IN MX 10 mx.example.com.
example.com. 3599 IN A 91.203.26.168
;; Query time: 159 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sun Feb 14 12:59:05 MSK 2016
;; MSG SIZE rcvd: 187
Конфиг named.conf
acl "xfer" { 193.201.116.2; };
acl "trusted" { 127.0.0.0/8; 192.168.0.0/28; };
//------------------------ Раздел опций ---------------------------//
options {
directory "/var/bind";
pid-file "/run/named/named.pid";
//bindkeys-file "/etc/bind/bind.keys";
listen-on-v6 { none; };
listen-on { 127.0.0.1; 192.168.0.1; 91.203.26.168; };
allow-query { trusted; };
allow-query-cache { trusted; };
allow-recursion { trusted; };
allow-transfer { xfer; };
allow-update { none; };
forward first;
forwarders {
176.120.119.66; // ISP
// 4.2.2.1; // Level3 Public DNS
// 4.2.2.2; // Level3 Public DNS
8.8.8.8; // Google Open DNS
8.8.4.4; // Google Open DNS
};
//dnssec-enable yes;
//dnssec-validation yes;
//dnssec-validation auto;
query-source address * port 53;
};
//----------------------- Политика логов --------------------------//
logging {
channel default_log {
file "/var/log/named/named.log" versions 5 size 50M;
print-time yes;
print-severity yes;
print-category yes;
};
category default { default_log; };
category general { default_log; };
};
include "/etc/bind/rndc.key";
controls {
inet 127.0.0.1 port 953 allow { 127.0.0.1/32; } keys { "rndc-key"; };
};
//----------------------- Внутренний вид -------------------------//
view "internal" {
match-clients { 192.168.0.0/28; localhost; };
recursion yes;
zone "." in {
type hint;
file "/var/bind/named.cache";
};
zone "localhost" IN {
type master;
file "pri/localhost.zone";
notify no;
};
zone "example.com" {
type master;
file "pri/example-com.internal";
allow-transfer { any; };
};
};
//----------------------- Внешний вид ----------------------------//
view "external" {
match-clients { any; };
recursion yes;
zone "." in {
type hint;
file "/var/bind/named.cache";
};
zone "example.com" {
type master;
file "pri/example-com.external";
notify yes;
allow-query { any; };
allow-transfer { xfer; };
};
};
Файл зоны
Зона;время жизни до обновления кеша по умолчанию 1 час.
$TTL 3600
;запись SOA - начальная запись зоны
@ IN SOA ns1.example.com. admin.example.com. (
2016021301 ; Серийный номер формат YYYYMMDDNN
3600 ; Обновление
900 ; Повтор
3600000 ; Истечение срока
3600 ) ; Минимальное TTL
;серверы DNS
@ IN NS ns1.example.com.
@ IN NS ns2.example.com.
@ IN NS ns.secondary.net.ua.
;записи MX
@ MX 10 mx.example.com.
;сопоставление имя - ip
@ IN A 91.203.26.168
ns1 IN A 91.203.26.168
ns2 IN A 91.203.26.168
test IN A 91.203.26.168