Страница 1 из 1

Cacti error

Добавлено: 2010-12-10 10:28:06
Гость
Привет всем!
Решил установить cacti.
Как гласит инструкция, обновил порты portsnap fetch update и начал ставить:

Код: Выделить всё

#cd /usr/ports/net-mgmt/cacti
#make install clean
В ходе установки, выскакивает вот такая ошибка:

Код: Выделить всё

checking whether cairo's image surface backend feature could be enabled... no (requires pixman-1 >= 0.18.4 http://cairographics.org/releases/)
configure: error: mandatory image surface backend feature could not be enabled
===>  Script "configure" failed unexpectedly.
Please run the gnomelogalyzer, available from
"http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
gnome@FreeBSD.org, and attach (a)
"/usr/ports/graphics/cairo/work/cairo-1.10.0/config.log", (b) the output of
the failed make command, and (c) the gnomelogalyzer output. Also, it might
be a good idea to provide an overview of all packages installed on your system
(i.e. an `ls /var/db/pkg`). Put your attachment up on any website,
copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with
the attachment. Try to avoid sending any attachments to the mailing list
(gnome@FreeBSD.org), because attachments sent to FreeBSD mailing lists are
usually discarded by the mailing list software.
*** Error code 1

Stop in /usr/ports/graphics/cairo.
*** Error code 1

Stop in /usr/ports/graphics/cairo.
*** Error code 1

Stop in /usr/ports/databases/rrdtool.
*** Error code 1

Stop in /usr/ports/databases/rrdtool.
*** Error code 1

Stop in /usr/ports/net-mgmt/cacti.
Данные такие:

Код: Выделить всё

#uname -a
FreeBSD freebsd 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #0: Fri Oct 22 15:47:02 UTC 2010     admin@bsd:/usr/obj/usr/src/sys/GENERIC  i386
Как можно устранить эту неполадку? кто то вообще ставил cacti на 8-ку?
Спасибо.

Re: Cacti error

Добавлено: 2010-12-10 10:53:38
hizel

Код: Выделить всё

pkg_version -vI | grep need

Re: Cacti error

Добавлено: 2010-12-10 11:20:14
Гость
Спасибо :D , упустил из виду состояние текущих портов.
Ну для этого решил поставить из портов portupgrade , а там такое:

Код: Выделить всё

#cd /usr/ports/sysutils/portupgrade
/usr/ports/sysutils/portupgrade: No such file or directory.
#cd /usr/ports
#make search name = 'portupgrade'
The search target requires a keyword parameter or name parameter,
e.g.: "make search key=somekeyword"
or    "make search name=somekeyword"
make: don't know how to make name. Stop
От кудо взять portupgrade?
Спасибо.

Re: Cacti error

Добавлено: 2010-12-10 11:26:08
FreeBSP
узри разницу =)

Код: Выделить всё

       make search name = 'portupgrade' # твое
or    "make search name=somekeyword"    # правильное, тока ковычки убрать
еще можно использовать

Код: Выделить всё

whereis portupgrade
и лежит он в ports-mgmt наверняка

Re: Cacti error

Добавлено: 2010-12-10 11:28:49
hizel
зачем вам ruby?
ставьте portmaster на православном шелл

Re: Cacti error

Добавлено: 2010-12-10 13:09:04
Гость
hizel писал(а):зачем вам ruby?
ставьте portmaster на православном шелл
Что такое ruby в нашем контексте?
Спасибо.

Re: Cacti error

Добавлено: 2010-12-10 13:12:00
hizel
portupgrade высосет и соберет из интернетов руби и биндинги руби к бдб, потому что он на этом языке написан
а portmaster написан на простом шелл-е и кроме самого скрипта за собой ничего не возьмет