LINUX.ORG.RU
ФорумAdmin

Собираю Zabbix под BSD

 , , , ,


0

2

Sad, but true:

make install clean
===>  Building for zabbix-server-1.8.3,2
Making all in src
Making all in libs
Making all in zbxcrypto
Making all in zbxcommon
Making all in zbxlog
Making all in zbxalgo
Making all in zbxnix
Making all in zbxconf
Making all in zbxsysinfo
Making all in common
Making all in simple
Making all in freebsd
Making all in zbxplugin
Making all in zbxsys
Making all in zbxcomms
Making all in zbxjson
Making all in zbxjabber
Making all in zbxcommshigh
Making all in zbxdb
Making all in zbxdbcache
Making all in zbxdbhigh
Making all in zbxmemory
Making all in zbxemail
Making all in zbxsms
Making all in zbxserver
Making all in zbxicmpping
Making all in zabbix_server
Making all in alerter
Making all in dbsyncer
Making all in dbconfig
Making all in discoverer
Making all in housekeeper
Making all in httppoller
Making all in nodewatcher
Making all in pinger
Making all in poller
Making all in timer
Making all in trapper
Making all in utils
Making all in watchdog
Making all in escalator
Making all in proxypoller
cc -DZABBIX_DAEMON -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing   -I/usr/local/include/mysql  -pipe  -fno-strict-aliasing     -I/usr/local/include -I/usr/local/lib/perl5/5.10.1/mach/CORE -I/usr/include -I. -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include  -L/usr/local/lib/mysql  -L/usr/local/lib -liksemel    -L/usr/local/lib -lcurl -lssl -lcrypto -lz  -L/usr/lib -lm -lkvm -ldevstat -L/usr/local/lib -lnetsnmp -lelf -lssp_nonshared -lcrypto  -L/usr/lib -lm -lkvm -ldevstat -L/usr/local/lib -lnetsnmp -lelf -lssp_nonshared -lcrypto -L/usr/local/lib -L/usr/local/lib -lldap -llber  -L/usr/local/lib -o zabbix_server zabbix_server-actions.o  zabbix_server-operations.o  zabbix_server-events.o zabbix_server-zlog.o  zabbix_server-server.o alerter/libzbxalerter.a  dbsyncer/libzbxdbsyncer.a  dbconfig/libzbxdbconfig.a  discoverer/libzbxdiscoverer.a  pinger/libzbxpinger.a  poller/libzbxpoller.a  housekeeper/libzbxhousekeeper.a  timer/libzbxtimer.a  trapper/libzbxtrapper.a  nodewatcher/libzbxnodewatcher.a  utils/libzbxutils.a  httppoller/libzbxhttppoller.a  watchdog/libzbxwatchdog.a  escalator/libzbxescalator.a  proxypoller/libzbxproxypoller.a  ../../src/libs/zbxsysinfo/libzbxserversysinfo.a  ../../src/libs/zbxsysinfo/freebsd/libspecsysinfo.a  ../../src/libs/zbxsysinfo/common/libcommonsysinfo.a  ../../src/libs/zbxsysinfo/simple/libsimplesysinfo.a  ../../src/libs/zbxlog/libzbxlog.a  ../../src/libs/zbxdbcache/libzbxdbcache.a  ../../src/libs/zbxmemory/libzbxmemory.a  ../../src/libs/zbxalgo/libzbxalgo.a  ../../src/libs/zbxnix/libzbxnix.a  ../../src/libs/zbxsys/libzbxsys.a  ../../src/libs/zbxconf/libzbxconf.a  ../../src/libs/zbxemail/libzbxemail.a  ../../src/libs/zbxsms/libzbxsms.a  ../../src/libs/zbxcommon/libzbxcommon.a  ../../src/libs/zbxcrypto/libzbxcrypto.a  ../../src/libs/zbxcomms/libzbxcomms.a  ../../src/libs/zbxcommshigh/libzbxcommshigh.a  ../../src/libs/zbxjson/libzbxjson.a  ../../src/libs/zbxserver/libzbxserver.a  ../../src/libs/zbxicmpping/libzbxicmpping.a  ../../src/libs/zbxdbhigh/libzbxdbhigh.a  ../../src/libs/zbxdb/libzbxdb.a  ../../src/libs/zbxjabber/libzbxjabber.a  -lmysqlclient   -liksemel -lcurl  -lnetsnmp  -lssh2 -lkvm -lm -ldevstat   -liconv
../../src/libs/zbxnix/libzbxnix.a(fatal.o)(.text+0xe2): In function `print_fatal_info':
: undefined reference to `backtrace'
../../src/libs/zbxnix/libzbxnix.a(fatal.o)(.text+0xf6): In function `print_fatal_info':
: undefined reference to `backtrace_symbols'
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop in /usr/ports/net-mgmt/zabbix-server.
log# pkg_add -r zaabix-server
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/Latest/zaabix-server.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/Latest/zaabix-server.tbz' by URL
log# pkg_add -r zaabix-server
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/Latest/zaabix-server.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/Latest/zaabix-server.tbz' by URL
log# pkg_add -r zabbix-server
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/Latest/zabbix-server.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/Latest/zabbix-server.tbz' by URL
log# cd /usr/ports/net-mgmt/zabbix-server
log# make install clean; rehash
===>  Building for zabbix-server-1.8.3,2
Making all in src
Making all in libs
Making all in zbxcrypto
Making all in zbxcommon
Making all in zbxlog
Making all in zbxalgo
Making all in zbxnix
Making all in zbxconf
Making all in zbxsysinfo
Making all in common
Making all in simple
Making all in freebsd
Making all in zbxplugin
Making all in zbxsys
Making all in zbxcomms
Making all in zbxjson
Making all in zbxjabber
Making all in zbxcommshigh
Making all in zbxdb
Making all in zbxdbcache
Making all in zbxdbhigh
Making all in zbxmemory
Making all in zbxemail
Making all in zbxsms
Making all in zbxserver
Making all in zbxicmpping
Making all in zabbix_server
Making all in alerter
Making all in dbsyncer
Making all in dbconfig
Making all in discoverer
Making all in housekeeper
Making all in httppoller
Making all in nodewatcher
Making all in pinger
Making all in poller
Making all in timer
Making all in trapper
Making all in utils
Making all in watchdog
Making all in escalator
Making all in proxypoller
cc -DZABBIX_DAEMON -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing   -I/usr/local/include/mysql  -pipe  -fno-strict-aliasing     -I/usr/local/include -I/usr/local/lib/perl5/5.10.1/mach/CORE -I/usr/include -I. -I/usr/local/include  -I/usr/local/include  -I/usr/local/include -I/usr/local/include  -L/usr/local/lib/mysql  -L/usr/local/lib -liksemel    -L/usr/local/lib -lcurl -lssl -lcrypto -lz  -L/usr/lib -lm -lkvm -ldevstat -L/usr/local/lib -lnetsnmp -lelf -lssp_nonshared -lcrypto  -L/usr/lib -lm -lkvm -ldevstat -L/usr/local/lib -lnetsnmp -lelf -lssp_nonshared -lcrypto -L/usr/local/lib -L/usr/local/lib -lldap -llber  -L/usr/local/lib -o zabbix_server zabbix_server-actions.o  zabbix_server-operations.o  zabbix_server-events.o zabbix_server-zlog.o  zabbix_server-server.o alerter/libzbxalerter.a  dbsyncer/libzbxdbsyncer.a  dbconfig/libzbxdbconfig.a  discoverer/libzbxdiscoverer.a  pinger/libzbxpinger.a  poller/libzbxpoller.a  housekeeper/libzbxhousekeeper.a  timer/libzbxtimer.a  trapper/libzbxtrapper.a  nodewatcher/libzbxnodewatcher.a  utils/libzbxutils.a  httppoller/libzbxhttppoller.a  watchdog/libzbxwatchdog.a  escalator/libzbxescalator.a  proxypoller/libzbxproxypoller.a  ../../src/libs/zbxsysinfo/libzbxserversysinfo.a  ../../src/libs/zbxsysinfo/freebsd/libspecsysinfo.a  ../../src/libs/zbxsysinfo/common/libcommonsysinfo.a  ../../src/libs/zbxsysinfo/simple/libsimplesysinfo.a  ../../src/libs/zbxlog/libzbxlog.a  ../../src/libs/zbxdbcache/libzbxdbcache.a  ../../src/libs/zbxmemory/libzbxmemory.a  ../../src/libs/zbxalgo/libzbxalgo.a  ../../src/libs/zbxnix/libzbxnix.a  ../../src/libs/zbxsys/libzbxsys.a  ../../src/libs/zbxconf/libzbxconf.a  ../../src/libs/zbxemail/libzbxemail.a  ../../src/libs/zbxsms/libzbxsms.a  ../../src/libs/zbxcommon/libzbxcommon.a  ../../src/libs/zbxcrypto/libzbxcrypto.a  ../../src/libs/zbxcomms/libzbxcomms.a  ../../src/libs/zbxcommshigh/libzbxcommshigh.a  ../../src/libs/zbxjson/libzbxjson.a  ../../src/libs/zbxserver/libzbxserver.a  ../../src/libs/zbxicmpping/libzbxicmpping.a  ../../src/libs/zbxdbhigh/libzbxdbhigh.a  ../../src/libs/zbxdb/libzbxdb.a  ../../src/libs/zbxjabber/libzbxjabber.a  -lmysqlclient   -liksemel -lcurl  -lnetsnmp  -lssh2 -lkvm -lm -ldevstat   -liconv
../../src/libs/zbxnix/libzbxnix.a(fatal.o)(.text+0xe2): In function `print_fatal_info':
: undefined reference to `backtrace'
../../src/libs/zbxnix/libzbxnix.a(fatal.o)(.text+0xf6): In function `print_fatal_info':
: undefined reference to `backtrace_symbols'
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop in /usr/ports/net-mgmt/zabbix-server.
log# Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
Try: Command not found.
log# the maintainer.
the: Command not found.

Что делать?

★★★

Последнее исправление: dvrts (всего исправлений: 1)

поставить линукс

anonymous
()
Ответ на: комментарий от MikeDM

Анон не знает что линукс нельзя ставить. И вообще ничто нельзя ставить

dvrts ★★★
() автор топика

Он у тебя не установлен уже, случайно?

unC0Rr ★★★★★
()
===>>> The net-mgmt/zabbix-server port moved to net-mgmt/zabbix2-server
===>>> Reason: Has expired: no longer supported by upstream
iZEN ★★★★★
()

это баян-проблема с многим софтом.
Причина: установлена libexecinfo
Решение: на время сборки удалите libexecinfo, соберите и установите Zabbix. Установите обратно libexecinfo.
http://forum.lissyara.su/viewtopic.php?f=3&t=28280

zgen ★★★★★
()
Ответ на: комментарий от strangeman

Скажите, что вас заставляет пользоваться устаревшими версиями софта, содержащими тучу багов? Это такой способ самоистязания собственной психики?

iZEN ★★★★★
()
Ответ на: комментарий от iZEN

Примерно так, ага. Скорее из разряда «сейчас дырку заткнем по-быстрому, а потом переделаем». Практикуется у нас иногда такой подход.

strangeman ★★★★
()

Особо веселит вот это. Что-то левое eval-ится?

log# Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
Try: Command not found.
Bers666 ★★★★★
()
Ответ на: комментарий от dvrts

Да уже же посоветовали ставить новую версию.

IPR ★★★★★
()

Если в процессе компиляции возникает ошибка

../../src/libs/zbxnix/libzbxnix.a(fatal.o)(.text+0xc1): In function `print_fatal_info':
: undefined reference to `backtrace'
../../src/libs/zbxnix/libzbxnix.a(fatal.o)(.text+0xcd): In function `print_fatal_info':
: undefined reference to `backtrace_symbols'
*** Error code 1

Нужно удалить libexecinfo и вернуть после установки zabbix-agent’а
sudo pkg_delete -f libexecinfo-1.1_3
и
cd /usr/ports/devel/libexecinfo/
sudo make install clean

Из документации написанной собой для себя ^_^

TheRaven
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.