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

Проблема при установке rrdtool

Добавлено: 2009-07-17 14:56:33
GunjJAK
Установка rrdtool сваливается с ошибкой:

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

Error: shared library "pangocairo-1.0.0" does not exist
Все облазил.....что делать незнаю :(
Подскажите плиз.

Re: Проблема при установке rrdtool

Добавлено: 2009-07-17 15:45:06
hizel

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

portupgrade -Rv pango 
:-)

Re: Проблема при установке rrdtool

Добавлено: 2009-09-24 23:36:16
frenky
таже проблема

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

fdm# portupgrade -Rv pango
--->  Session started at: Thu, 24 Sep 2009 23:33:51 +0300
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ... [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument: Cannot update the pkgdb!]: Cannot update the pkgdb!]
Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFOQ
--->  Session ended at: Thu, 24 Sep 2009 23:33:55 +0300 (consumed 00:00:03)
FreeBSD 7.2

Re: Проблема при установке rrdtool

Добавлено: 2009-09-24 23:46:02
hizel
rm /var/db/pkg/pkgdb.db :-)

Re: Проблема при установке rrdtool

Добавлено: 2009-09-25 0:05:41
frenky
угу удалил и повторил portupgrade -Rv pango

сижу жду пока закончит =)

Re: Проблема при установке rrdtool

Добавлено: 2009-09-25 0:11:03
hizel
у вас видимо много пакетов устарело, оцените выхлоп pkg_version ;]

Re: Проблема при установке rrdtool

Добавлено: 2009-09-25 0:27:29
frenky

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

fdm# cd /usr/ports/sysutils/munin-main/
fdm# make install clean
===>   rrdtool-1.3.8 depends on shared library: pangocairo-1.0.0 - not found
===>    Verifying install for pangocairo-1.0.0 in /usr/ports/x11-toolkits/pango
===>   Returning to build of rrdtool-1.3.8
Error: shared library "pangocairo-1.0.0" does not exist
*** 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/sysutils/munin-main.



Re: Проблема при установке rrdtool

Добавлено: 2009-09-25 0:41:28
hizel

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

pkg_info | grep pango

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

pkg_info -L pango-1.24.5 | grep cairo

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

cd /usr/ports/sysutils/munin-main/
make clean
make install clean

Re: Проблема при установке rrdtool

Добавлено: 2009-09-25 0:42:58
frenky
помогла эта статейка http://live.daemony.org/freebsd/pango-u ... 04-13.html
усе заработало , сенкс =)

Re: Проблема при установке rrdtool

Добавлено: 2010-04-25 1:18:24
Rostov114
:smile: Примерно такая же проблема:

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

[root@alpha /usr/ports/databases/rrdtool]#make install clean
===>   rrdtool-1.3.8 depends on executable: gmake - found
===>   rrdtool-1.3.8 depends on file: /usr/local/bin/perl5.8.9 - found
===>   rrdtool-1.3.8 depends on package: libtool>=2.2 - found
===>   rrdtool-1.3.8 depends on file: /usr/local/bin/intltool-extract - found
===>   rrdtool-1.3.8 depends on shared library: freetype.9 - found
===>   rrdtool-1.3.8 depends on shared library: cairo.2 - found
===>   rrdtool-1.3.8 depends on shared library: png.5 - found
===>   rrdtool-1.3.8 depends on shared library: xml2.5 - found
===>   rrdtool-1.3.8 depends on shared library: pangocairo-1.0.0 - not found
===>    Verifying install for pangocairo-1.0.0 in /usr/ports/x11-toolkits/pango
===>   Returning to build of rrdtool-1.3.8
Error: shared library "pangocairo-1.0.0" does not exist
*** Error code 1

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

Stop in /usr/ports/databases/rrdtool.
[root@alpha /usr/ports/databases/rrdtool]#
Делал все что возможно, излазил все сайты, решения не нашел.

P.S.

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

[root@alpha /usr/ports/databases/rrdtool]#pkg_info | grep pango                 
pango-1.24.5        An open-source framework for the layout and rendering of i1
[root@alpha /usr/ports/databases/rrdtool]#

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

[root@alpha /usr/ports/databases/rrdtool]#pkg_info | grep cairo
cairo-1.8.8,1       Vector graphics library with cross-device output support
[root@alpha /usr/ports/databases/rrdtool]#

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

[root@alpha /usr/ports/databases/rrdtool]#pkg_info | grep freetype
freetype2-2.3.9_1   A free and portable TrueType font rendering engine
[root@alpha /usr/ports/databases/rrdtool]#

Re: Проблема при установке rrdtool

Добавлено: 2010-04-25 10:31:31
Alex Keda

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

make clean
делать не забывайте
а панго придётся снести и переставить

Re: Проблема при установке rrdtool

Добавлено: 2010-04-26 1:38:41
Rostov114
Спасибо, но не помогло.

Если установить pango, отдельно самому RRDTool ругается и говорит что бы снесли.

Если снести, то RRDTool его за собой тянет и завершается с ошибкой предоставленной сверху.

Re: Проблема при установке rrdtool

Добавлено: 2010-04-26 7:48:41
Alex Keda
значит порты обновляйте

Re: Проблема при установке rrdtool

Добавлено: 2010-04-26 8:20:10
hizel
у вас pango очень старый, обновляйте все через portmaster или portupgrade

Re: Проблема при установке rrdtool

Добавлено: 2010-04-28 21:02:19
asdffdsa
Похожая проблема, пытаюсь поставить munin-master, вот кусок концовки

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

Find 3rd-Party Libraries
checking for libdbi... no
checking for cairo_font_options_create in -lcairo... no
checking for pkg-config... pkg-config
gnome-config: not found
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no cairo-png.pc file around.
  You may want to set the PKG_CONFIG_PATH variable to point to its
  location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of cairo-png. Check config.log for hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
  so that compiler and the linker can find libcairo and its header files. If
  you have not installed cairo-png, you can get it either from its original home on

     http://cairographics.org/releases/

  You can find also find an archive copy on

     http://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of cairo-png is 1.4.6.

       LIBS=-lm
   LDFLAGS= -L/usr/local/lib
  CPPFLAGS=-I/usr/local/include -I/usr/local/include/freetype2 -D_THREAD_SAFE -D_THREAD_SAFE

----------------------------------------------------------------------------

checking for cairo_svg_surface_create in -lcairo... no
checking for pkg-config... (cached) pkg-config
gnome-config: not found
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no cairo-svg.pc file around.
  You may want to set the PKG_CONFIG_PATH variable to point to its
  location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of cairo-svg. Check config.log for hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
  so that compiler and the linker can find libcairo and its header files. If
  you have not installed cairo-svg, you can get it either from its original home on

     http://cairographics.org/releases/

  You can find also find an archive copy on

     http://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of cairo-svg is 1.4.6.

       LIBS=-lm
   LDFLAGS= -L/usr/local/lib
  CPPFLAGS=-I/usr/local/include -I/usr/local/include/freetype2 -D_THREAD_SAFE -D_THREAD_SAFE

----------------------------------------------------------------------------

checking for cairo_pdf_surface_create in -lcairo... no
checking for pkg-config... (cached) pkg-config
gnome-config: not found
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no cairo-pdf.pc file around.
  You may want to set the PKG_CONFIG_PATH variable to point to its
  location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of cairo-pdf. Check config.log for hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
  so that compiler and the linker can find libcairo and its header files. If
  you have not installed cairo-pdf, you can get it either from its original home on

     http://cairographics.org/releases/

  You can find also find an archive copy on

     http://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of cairo-pdf is 1.4.6.

       LIBS=-lm
   LDFLAGS= -L/usr/local/lib
  CPPFLAGS=-I/usr/local/include -I/usr/local/include/freetype2 -D_THREAD_SAFE -D_THREAD_SAFE

----------------------------------------------------------------------------

checking for cairo_ps_surface_create in -lcairo... no
checking for pkg-config... (cached) pkg-config
gnome-config: not found
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no cairo-ps.pc file around.
  You may want to set the PKG_CONFIG_PATH variable to point to its
  location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of cairo-ps. Check config.log for hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
  so that compiler and the linker can find libcairo and its header files. If
  you have not installed cairo-ps, you can get it either from its original home on

     http://cairographics.org/releases/

  You can find also find an archive copy on

     http://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of cairo-ps is 1.4.6.

       LIBS=-lm
   LDFLAGS= -L/usr/local/lib
  CPPFLAGS=-I/usr/local/include -I/usr/local/include/freetype2 -D_THREAD_SAFE -D_THREAD_SAFE

----------------------------------------------------------------------------

checking for glib_check_version in -lglib-2.0... yes
checking glib.h usability... no
checking glib.h presence... no
checking for glib.h... no
checking for pkg-config... (cached) pkg-config
checking for glib_check_version in -lglib-2.0... yes
checking glib.h usability... yes
checking glib.h presence... yes
checking for glib.h... yes
checking for pango_cairo_context_set_font_options in -lpango-1.0... no
checking for pkg-config... (cached) pkg-config
gnome-config: not found
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no pangocairo.pc file around.
  You may want to set the PKG_CONFIG_PATH variable to point to its
  location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of pangocairo. Check config.log for hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
  so that compiler and the linker can find libpango-1.0 and its header files. If
  you have not installed pangocairo, you can get it either from its original home on

     http://ftp.gnome.org/pub/GNOME/sources/pango/1.17

  You can find also find an archive copy on

     http://oss.oetiker.ch/rrdtool/pub/libs

  The last tested version of pangocairo is 1.17.

       LIBS=-lm  -lglib-2.0
   LDFLAGS= -L/usr/local/lib -L/usr/local/lib
  CPPFLAGS=-I/usr/local/include -I/usr/local/include/freetype2 -D_THREAD_SAFE -D_THREAD_SAFE -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include

----------------------------------------------------------------------------

checking for xmlParseFile in -lxml2... yes
checking libxml/parser.h usability... no
checking libxml/parser.h presence... no
checking for libxml/parser.h... no
checking for pkg-config... (cached) pkg-config
checking for xmlParseFile in -lxml2... yes
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
configure: error: Please fix the library issues listed above and try again.
===>  Script "configure" failed unexpectedly.
Please report the problem to sylvio@FreeBSD.org [maintainer] and attach the
"/usr/ports/databases/rrdtool/work/rrdtool-1.4.3/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** 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/sysutils/munin-master.
portupgrade -Rv pango не помогло

Re: Проблема при установке rrdtool

Добавлено: 2010-04-28 21:36:20
hizel
обновляйте всю систему скопом

Re: Проблема при установке rrdtool

Добавлено: 2010-04-28 21:48:09
asdffdsa
hizel писал(а):обновляйте всю систему скопом
из cvs? или что?

Re: Проблема при установке rrdtool

Добавлено: 2010-04-29 8:45:06
hizel

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

csup -g -h cvsup2.ru.freebsd.org /usr/share/examples/ports-supfile
portmaster -a/portupgrade -a

Re: Проблема при установке rrdtool

Добавлено: 2010-05-07 3:37:43
Overseer
frenky писал(а):помогла эта статейка http://live.daemony.org/freebsd/pango-u ... 04-13.html
усе заработало , сенкс =)
снова свистопляска с этой пангой((((

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

~> portupgrade --force cairo-1.8.8_1,1 freetype2-2.3.11 pango-1.24.0_2
не помогает. :st:

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

/usr/local/lib/libcairo.so: undefined reference to `png_set_longjmp_fn'
gmake[3]: *** [pango-view] Error 1
gmake[3]: Leaving directory `/usr/ports/x11-toolkits/pango/work/pango-1.26.2/pango-view'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/x11-toolkits/pango/work/pango-1.26.2/pango-view'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-toolkits/pango/work/pango-1.26.2'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/x11-toolkits/pango.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100507-80475-153a4hc-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=pango-1.24.0_2 UPGRADE_PORT_VER=1.24.0_2 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! x11-toolkits/pango (pango-1.24.0_2)   (linker error)

Re: Проблема при установке rrdtool

Добавлено: 2010-05-07 17:55:28
Overseer
почему-то была в наличии libpng12.so.0, удалил ее, переустановил png и пересобрал весь зависимый софт. :"":

Re: Проблема при установке rrdtool

Добавлено: 2010-05-07 20:51:58
Overseer
и еще не собирался PHP c новой версией png, bug:
http://bugs.php.net/bug.php?id=50734

Re: Проблема при установке rrdtool

Добавлено: 2010-05-17 16:36:38
BaHJa
у меня тоже трабла вознакла с rrdtool,

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

portupgrade --force cairo-1.4.10.1 freetype2-2.3.12 pango-1.18.3
не помог, cairo не хотел обновлятса.

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

pkg_delete -f cairo-1.4.10.1
поставил снова cairo-1.8.10_1,1 с портов, pango обновилса,и rrdtool поставилса без проблем.