Re: glibmm building and sigc++ problem
- From: Paul Davis <pjdavis engineering uiowa edu>
- To: tj <999alfred comcast net>, gtkmm-list gnome org
- Cc:
- Subject: Re: glibmm building and sigc++ problem
- Date: Sun, 02 Oct 2005 12:33:20 -0500
TJ,
pkg-config needs a path to the lib directory where sigc++ was
installed. Pretty much what happened is when you installed those
packages from tarball they got put into /usr/local/include and
/usr/local/lib ( not /usr/include and /usr/lib ) which is standard
behavior for building software.
pkg-config needs to see /usr/local/lib/pkgconfig so that it can find the
neccessary package information. You can add paths to search by
exporting a PKG_CONFIG_PATH that lists directories to search.
ie something like export PKG_CONFIG_PATH=/usr/local/ If I recall correctly.
To test it and see if its working, try using:
pkg-config sigc++-2.0 --cflags --libs
That should print out the neccessary stuff for linking against sigc.
You'll come to find pkg-config is a very very nice utility for building
software if you use it alot. Hope that helps.
Paul
tj wrote:
I am trying to install inkscape which requires glibmm anf gtkmm.
However I can not get glibmm to configure. the complaint.
Perhaps you should add the directory containing `sigc++-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sigc++-2.0' found
configure: error: Package requirements (sigc++-2.0 >= 2.0.0 glib-2.0
>= 2.6.0 gobject-2.0 >= 2.6.0 gmodule-2.0 >= 2.6.0) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively you may set the GLIBMM_CFLAGS and GLIBMM_LIBS
environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
I installed libsigcc 2.0.16 form tar ball and a ldconfig returns
libsigc-2.0.so.0 (libc6) => /usr/local/lib/libsigc-2.0.so.0
libsigc-2.0.so (libc6) => /usr/local/lib/libsigc-2.0.so
So why is the glibmm configure unhappy...
While I did the original Linux install with Slackware 10.1, I do not
use just packages. I get the latest tar ball from the host site, like
glibmm and sigc.
Does the configure script require that all requirments HAVE TO BE
INSTALLED via some kid of package management system rather then just
chacking fo the presense of the libraries?
I've never had a configure script saying that package information has
to be there.
tj
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]