Qual é a maneira comum de investigar esse problema que aparece durante ./configure
?
configure: error: Package requirements (bdw-gc >= 7.1
cairo >= 1.10
cairomm-1.0 >= 1.9.8
glib-2.0 >= 2.28
glibmm-2.4 >= 2.28
giomm-2.4
gsl
gthread-2.0 >= 2.0
libpng >= 1.2
libxml-2.0 >= 2.6.11
libxslt >= 1.0.15
pango >= 1.24
pangoft2 >= 1.24
sigc++-2.0 >= 2.0.12
) were not met:
No package 'bdw-gc' found
Acabei de baixar e construir bdw-gc
a partir dehttps://github.com/ivmai/bdwgc/
Acho que o problema talvez seja porque bdw-gc
foi instalado no /usr/local/bin
, não/usr/local
Eu tentei isso:
LDFLAGS=-L/usr/local/lib LIBS=-lgc ./configure
Responder1
bdw-gc
refere-se aColetor de lixo Boehm-Demers-Weiser para C e C++. Você precisa instalar o pacote gc-devel
ou libgc-dev
.
No openSUSE:
zypper install gc-devel
No Fedora:
yum install gc-devel
No Ubuntu:
apt-get install libgc-dev
Aqui estão mais informações:
$ yum search boehm
======================= Description & URL Matched: boehm =======================
gc.x86_64 : A garbage collector for C and C++
gc.i686 : A garbage collector for C and C++
============================== URL Matched: boehm ==============================
gc-devel.i686 : Libraries and header files for gc development
gc-devel.x86_64 : Libraries and header files for gc development
...
E:
$ apt-cache search boehm
libgc-dev - conservative garbage collector for C (development)
libgc1c2 - conservative garbage collector for C and C++
...